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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nick Piggin <npiggin@...>
Cc: <linux-kernel@...>, <Alan.Brunelle@...>, <arjan@...>, <dgc@...>
Date: Friday, February 8, 2008 - 3:47 am

On Fri, Feb 08 2008, Nick Piggin wrote:

Yeah, that is indeed an open question and why I have two seperate
patches for now (io-cpu-affinity branch and io-cpu-affinity-kthread
branch). As Ingo mentioned, this is how softirqs are handled in the -rt
branch already.


Not sure what you mean, if setting queue_affinity doesn't accomplish it.
If you know the completing CPU to begin with, surely you can just set
the queuing affinity appropriately?


More so than migrating submitters to completers? The advantage of only
movign submitters is that you get rid of the completion locking. Apart
from that, the cost should be the same, especially for the thread based
solution.

-- 
Jens Axboe

--
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, 5:18 am)
Re: IO queuing and complete affinity with threads (was Re: [..., Jens Axboe, (Fri Feb 8, 3:47 am)
Re: [PATCH 0/8] IO queuing and complete affinity, Alan D. Brunelle, (Thu Feb 7, 11:16 am)
[patch] block layer: kmemcheck fixes, Ingo Molnar, (Thu Feb 7, 6:49 am)
Re: [patch] block layer: kmemcheck fixes, Linus Torvalds, (Thu Feb 7, 1:42 pm)
Re: [patch] block layer: kmemcheck fixes, Jens Axboe, (Fri Feb 8, 7:38 am)
Re: [patch] block layer: kmemcheck fixes, David Miller, (Thu Feb 7, 9:22 pm)
Re: [patch] block layer: kmemcheck fixes, Arjan van de Ven, (Fri Feb 8, 11:09 am)
Re: [patch] block layer: kmemcheck fixes, Nick Piggin, (Fri Feb 8, 6:44 pm)
Re: [patch] block layer: kmemcheck fixes, Arjan van de Ven, (Fri Feb 8, 6:56 pm)
Re: [patch] block layer: kmemcheck fixes, Nick Piggin, (Fri Feb 8, 7:58 pm)
Re: [patch] block layer: kmemcheck fixes, Linus Torvalds, (Thu Feb 7, 9:28 pm)
Re: [patch] block layer: kmemcheck fixes, Ingo Molnar, (Thu Feb 7, 3:31 pm)
Re: [patch] block layer: kmemcheck fixes, Jens Axboe, (Thu Feb 7, 4:06 pm)
Re: [patch] block layer: kmemcheck fixes, Jens Axboe, (Thu Feb 7, 1:55 pm)