tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CPUs and processes not evenly assigned?!



hubert%feyrer.de@localhost (Hubert Feyrer) writes:

>I had to run a CPU-bound program today on a 2 CPU Xen (AWS) instance.
>I expected each process to run on its own process, but what really 
>happened is that both processes were fighting for the first CPU, leaving 
>the second one idle.

>Is this expected behaviour? Definitely surprised me! :)

I tend to believe it's a rounding error in sched_balance().

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index