SMP scheduling and run queue balancing

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

 



Hi all:
Lets say i have an SMP machine with 4 processor running Linux 2.6, and
i have 6 instances of an RT critical processes
If I set the smp process affinity of those 6 processes to the first 3
processors (two for each processor), run them as an RT processes with
FIFO sched policy, and left the forth processor to handle other
non-critical tasks
in short if i do:
#taskset 0x01 chrt -f 50 critical_program &
#taskset 0x01 chrt -f 50 critical_program &
#taskset 0x02 chrt -f 50 critical_program &
#taskset 0x02 chrt -f 50 critical_program &
#taskset 0x04 chrt -f 50 critical_program &
#taskset 0x04 chrt -f 50 critical_program &

As i've read that Linux will balance the length of run queue of all
processors, but here i have three processors that are not going to
handle any process
the question is: do i have to manually set the smp affinity of all
other non-critical tasks to the forth processor or Linux will do this
automatically ?
Thanks

--
Muhammad Tayseer Alquoatli

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux