Re: [PATCH] sched.c: Be a bit more conservative in SMP



On 9/22/06, Ludovic Drolez <ludovic.drolez@xxxxxxxxxx> wrote:
Vincent Pelletier wrote:
> Maybe I was completely wrong with my assumption that one running process
> always has an impact of 1, which would have make the scheduler underestimate
> the load on one cpu and put too many processes on it, without moving them
> afterward.

Yes, maybe that's the problem, since in my bench, one process takes only 40% of
the CPU.

Cheers,

--
Ludovic DROLEZ Linbox / Free&ALter Soft
www.linbox.com www.linbox.org tel: +33 3 87 50 87 90
152 rue de Grigy - Technopole Metz 2000 57070 METZ
-

Provided you have enough memory, the somewhat better way to test this
is to turn off swap, copy the sources to a tmpfs directory and compile
there. Then any disks accesses would be only related to reloading code
pages from the compiler / daemons /shared libs, which having even more
ram would solve so that it's all compute bound. I guess even 1.5Gb of
ram is plenty for all this, and not so much costly nowdays for a
kernel hacker ;)


--
Greetz, Antonio Vargas aka winden of network

http://network.amigascne.org/
windNOenSPAMntw@xxxxxxxxx
thesameasabove@xxxxxxxxxxxxx

Every day, every year
you have to work
you have to study
you have to scene.
-
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/



Relevant Pages

  • Re: Would a 2nd processor really be a waste of time???? help
    ... > buy another processor and more ram, however this is what one supplier ... > Your server has only 1 processor. ... installation including changing the bios settings and installing the smp ... The second cpu will probably help ...somewhat. ...
    (comp.unix.sco.misc)
  • Re: TECH: Williams Stargate Problems
    ... I'm 99.999999% sure that it's the CPU ... boards and not the Input Widget or ROM board since I tested all the CPU ... the RAM errors, I would like to switch all the ram to 4164 (hope that's the ... As a last resort on Ram errors, ...
    (rec.games.video.arcade.collecting)
  • Re: IIGS Acceleration Idea
    ... from the ram refresh to the slot timing to the mainboard and slot RAM addressing. ... To speed up the IIgs you'd have to implement a new CYA chip to produce all the timing and address signals for the main board plus the faster clock for the IIgs. ... Replace the CPU with a high speed CPU and simple 20x clock circuit. ... you will have to redesign Apple //e or Apple IIgs motherboard. ...
    (comp.sys.apple2)
  • Re: Best hardware (CPU/MB) for Audio recording/producing (PC)
    ... Get a minimum of 2 GB RAM. ... Also the more powerful the CPU the better. ... Magix Samplitude/Sequoia forum:http://support.magix.net/boards/samplitude//index.php?s=ab95413255547 ... ... Intel Core 2 Duo" that may interest you. ...
    (rec.audio.pro)
  • Re: MCE on an NForce4 board (again)
    ... generic error mem transaction ... If I use only 512MB of my RAM, alternatively, I don't get the error. ... Additionally, right before the MCE, I could read another error: ... There's a possibility that if the controller is taking a long time retrying commands, etc. the CPU might complain about a bus transaction timing out. ...
    (Linux-Kernel)