I am working on Ubuntu project. Have not found clear difference between sched_batch and sched_other. Can anyone tell me the difference?
Threads that are scheduled with sched_batch
are assumed to be non-interactive, but CPU bound and optimized for throughput. Thus, this policy is more cache-friendly. The default sched_batch
timeslice is 1.5 seconds. In addition, in case of SMP, sched_batch
will migrate to a core with high idleness (with respect to non-batch threads).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With