Re: Network slowdown due to CFS

Previous thread: kernel panics when SMP-booting on a Nexcom Peak 7220VL2G by Luis Garcia-Vega on Monday, October 1, 2007 - 5:35 pm. (2 messages)

Next thread: [regression] 2.6.23 sata_mv EH updates broke my 7042 controller by Olof Johansson on Monday, October 1, 2007 - 6:04 pm. (6 messages)
To: <linux-kernel@...>
Date: Monday, October 1, 2007 - 6:27 pm

Pliant 'FastSem' semaphore implementation (as oppsed to 'Sem') uses 'yield'
http://old.fullpliant.org/

Basically, if the ressource you are protecting with the semaphore will be held
for a significant time, then a full semaphore might be better, but if the
ressource will be held just a fiew cycles, then light aquiering might bring best
result because the most significant cost is in aquiering/releasing.

So the aquiering algorithm for fast semaphores might be:
try to aquire with a hardware atomic read and set instruction, then if it fails,
call yield then retry (at least on a single processor single core system).

-

Previous thread: kernel panics when SMP-booting on a Nexcom Peak 7220VL2G by Luis Garcia-Vega on Monday, October 1, 2007 - 5:35 pm. (2 messages)

Next thread: [regression] 2.6.23 sata_mv EH updates broke my 7042 controller by Olof Johansson on Monday, October 1, 2007 - 6:04 pm. (6 messages)