Re: SMP Affinity and nice
From: Peter Williams
Date: Wed Aug 23 2006 - 21:27:39 EST
Jan Engelhardt wrote:
Subject: SMP Affinity and nice[...]
I am trying to come to an understanding as to why 1 process is getting
less cpu time than identical processes with a higher "nice" value.
Server has 2 physical processors with hyperthreading (cpu 0,1,2,3)
I am starting 5 processes that perform a square root loop to max out a
cpu. They use the exact same code but are renamed for identification:
cpumax1, cpumax2, cpumax3, cpumax4, cpumax5
What you describe should be addressed in the -ck patchset (smpnice-...diff)
Not sure if it is in mainline already, though.
It's coming in 2.6.18.
What kernel version are you using when you see this phenomenon?
Peter Williams pwil3058@xxxxxxxxxxxxxx
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/