DragonFly BSD
DragonFly users List (threaded) for 2011-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: process flips between CPUs


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Aug 2011 16:00:37 -0700 (PDT)

    A process which is sleeping most of the time will tend to be scheduled
    on whatever cpu is available.  From the perspective of the scheduler
    which may switch between user processes on a 1/100 second clock a
    process which uses the cpu heavily will tend to be scheduled on the
    same cpu.  However, from the human perspective observing the top or ps
    output, even a heavily cpu-bound program will switch between cpus every
    so often.

    Normally locking a process to a particular cpu is not necessary.

						-Matt



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