Linux Scheduler Statistics

Vipin vj358 at nyu.edu
Sun Jul 10 22:20:05 EDT 2011


Hi All,

Posting it from my parallel question at LQ
http://www.linuxquestions.org/questions/linux-kernel-70/proc-schedstats-statistics-890997/


I am trying to understand the statistics posted by /proc/schedstat.
The documentation I could find on the subject was taken from here:

Linux Scheduler Statistics
http://eaglet.rain.com/rick/linux/sc...format-15.html

I am running a FC14
2.6.35.6-45.fc14.x86_64

Below is a dump for my statistics

version 15
timestamp 4356814703
cpu0 46540 0 96049852 39682767 50849563 28504181 6402127420973 
1547256962507 55119801
domain0 
00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003 
22495 21765 675 1037826 94 33 0 21765 5797 5345 416 1801124 55 0 1 5344 
757236 702579 46725 114900414 9212 244 119 702460 44 13 31 0 0 0 0 0 0 
375257 21494 0
domain1 
00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f 
5593 4668 737 2285778 273 25 7 4661 5790 5750 34 266075 19 0 7 2801 
374455 353235 19119 49007529 2851 30 4416 348819 17 4 13 0 0 0 0 0 0 
93063 4192 0
...
Removed the rest of the cpu/domains

Can somebody please explain me that why my cpu fields (2-4) are not zero 
as suggested in the document ?


Am I doing something wrong ? or are the results different for x86 & 
x86_64 boxes?
Thanks.

(P.S. I am running an i5 with 4 cores)

Linux Boot process - somebody asked for it as I checked the archives
http://www.opensourceproject.org.cn/article.php?id=182
Read Appendix A


Thanks,
Vipin Jain






More information about the Kernelnewbies mailing list