Re: IO queuing and complete affinity with threads (was Re: [PATCH 0/8] IO queuing and complete affinity)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Higdon
Date: Tuesday, February 12, 2008 - 1:28 am

On Mon, Feb 11, 2008 at 04:22:11PM +1100, David Chinner wrote:

So what you want is all XFS processing (for a given filesystem,
presumably) on a limited set of cores (ideally 1) and all block
and SCSI processing (for a given device) on a similarly limited
set.

On Altix, that was far more important than having the interrupt
and issue CPU be close to the hardware -- at least with typical
LSI or Qlogic controllers where there are only one or two MMIO
reads per command issued, and completions can be stacked up.

There is still an advantage to being close to the hardware, but
a much bigger advantage to not bouncing cachelines.

Maybe what you want is a multistage completion mechanism where
each stage can run on a different CPU, if thread context switches
are cheaper than bouncing data structures around....

jeremy
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/8] IO queuing and complete affinity, Jens Axboe, (Thu Feb 7, 2:18 am)
[patch] block layer: kmemcheck fixes, Ingo Molnar, (Thu Feb 7, 3:49 am)
Re: [PATCH 0/8] IO queuing and complete affinity, Alan D. Brunelle, (Thu Feb 7, 8:16 am)
Re: [patch] block layer: kmemcheck fixes, Linus Torvalds, (Thu Feb 7, 10:42 am)
Re: [patch] block layer: kmemcheck fixes, Jens Axboe, (Thu Feb 7, 10:55 am)
Re: [patch] block layer: kmemcheck fixes, Ingo Molnar, (Thu Feb 7, 12:31 pm)
Re: [patch] block layer: kmemcheck fixes, Jens Axboe, (Thu Feb 7, 1:06 pm)
Re: [patch] block layer: kmemcheck fixes, David Miller, (Thu Feb 7, 6:22 pm)
Re: [patch] block layer: kmemcheck fixes, Linus Torvalds, (Thu Feb 7, 6:28 pm)
Re: [patch] block layer: kmemcheck fixes, Jens Axboe, (Fri Feb 8, 4:38 am)
Re: [patch] block layer: kmemcheck fixes, Arjan van de Ven, (Fri Feb 8, 8:09 am)
Re: [patch] block layer: kmemcheck fixes, Nick Piggin, (Fri Feb 8, 3:44 pm)
Re: [patch] block layer: kmemcheck fixes, Arjan van de Ven, (Fri Feb 8, 3:56 pm)
Re: [patch] block layer: kmemcheck fixes, Nick Piggin, (Fri Feb 8, 4:58 pm)
Re: IO queuing and complete affinity with threads (was Re: ..., Jeremy Higdon, (Tue Feb 12, 1:28 am)