Re: Quad core CPUs loaded at only 50% when running a CPU and mmap intensive multi-threaded task

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Monday, August 25, 2008 - 3:02 am

On Mon, 2008-08-25 at 12:49 +0300, Török Edwin wrote:

mmap_sem, its process wide, and your test prog bangs on it like there's
no tomorrow.


Indeed.


Perhaps the scheduler overhead did increase, can you try:

echo NO_HRTICK > /debug/sched_features

(after mounting debugfs on /debug, or adjusting the path to where you do
have it mounted)

That might cause some overhead on very high context switch rates.

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

Messages in current thread:
Re: Quad core CPUs loaded at only 50% when running a CPU a ..., Peter Zijlstra, (Mon Aug 25, 3:02 am)