본문 바로가기

Enginius/Linux

[스케쥴러] Fairness performance test btw/ CFS and DWRR in linux2.6.32


1. Experimental Setup
 - make 10 pthreads with same weight(priority)
 - check CPU% via 'top' command (or sched_debug)

2. Test environment
 - 4-core virtual machine
 - Linux 2.6.32 Ubuntu 8.04

3. Test result

 - Overall unfairness result
   CFS (Completely Fair Scheduler)  DWRR (Distributed Weighted RR)
 5 sec  11.9%  3.6%
 1 min  13.7%  4.0%
 5 min  14.6%  1.3%


 - CFS: 5 sec


- CFS: 1min


- CFS: 5min


- DWRR: 5sec


- DWRR: 1min


- DWRR: 5min