linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Strange thread behaviour on 8-way x86 machine
@ 2001-07-03 18:25 Sasha Pachev
  2001-07-03 18:51 ` Mike Kravetz
  0 siblings, 1 reply; 6+ messages in thread
From: Sasha Pachev @ 2001-07-03 18:25 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have observed a rather strange behaviour doing a multi-threaded CPU 
benchmark on an 8-way machine running 2.4.2 SMP kernel. Even when the 
priority is reniced to the highest possible value, I am still unable to reach 
more than 50% CPU utilization. My benchmark just creates a bunch of threads 
with pthread_create(), and then runs a simple integer computation in each 
thread. On a dual with 2.4.3 kernel, and a 4-way with 2.4.2 kernel, I am able 
to reach full CPU utilization. 

At first glance, it appears to be like some overzealous fairness problem in 
the scheduler that is exhibited only when you have more than 4 CPUs. Before I 
start scrutinizing the source trying to understand the inner workings of the 
scheduler, I would like to get some feedback from people that know something 
about the subject. Any ideas/suggestions would be appreciated.

-- 
MySQL Development Team
For technical support contracts, visit https://order.mysql.com/
   __  ___     ___ ____  __ 
  /  |/  /_ __/ __/ __ \/ /   Sasha Pachev <sasha@mysql.com>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
/_/  /_/\_, /___/\___\_\___/  Provo, Utah, USA
       <___/                  

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-07-06 20:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-03 18:25 Strange thread behaviour on 8-way x86 machine Sasha Pachev
2001-07-03 18:51 ` Mike Kravetz
2001-07-06 18:45   ` Sasha Pachev
2001-07-06 19:24     ` Rik van Riel
2001-07-06 20:35       ` Sasha Pachev
2001-07-06 20:41         ` Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).