Operating System - Tru64 Unix
1748169 Members
4069 Online
108758 Solutions
New Discussion юеВ

Sheduler statistics ?

 
SOLVED
Go to solution
Alexey Borchev
Regular Advisor

Sheduler statistics ?

In my syscheck -all output I've found interesting section about sheduler statistics.
In the vmstat section.
I've tryed to find out more about this statistics in man, but got no clues.

If anyone can advise where to look for description and which commend is used to collect the sheduler stats?

P.S.
As far as I understand, this statistics is essenthial for tunung kernel attribute

proc:
round_robin_switch_rate=40

(<- recommendation of syscheck)


Here is piece of my syscheck:

vmstat -f


Fork statistics:
104249 forks
192 vforks



--------------------------------------------------------------------------------

The sched_stat sleep 75 output:

hostname: avrumo06
processors: 4

command: sleep 75
start time: Wed Mar 17 23:31:26 2004
end time: Wed Mar 17 23:32:41 2004

Funnelling counts

unix master calls 7789 resulting blocks 234



Scheduler Dispatch Statistics

cpu 0 local global idle remote | total percent
----------------------------------------------+-------------------
hot 204489 222337 80473 0 | 507299 89.3
warm 14 80 63 0 | 157 0.0
cold 233 29498 31210 0 | 60941 10.7
----------------------------------------------+-------------------
total 204736 251915 111746 0 | 568397
percent 36.0 44.3 19.7 0.0


cpu 1 local global idle remote | total percent
----------------------------------------------+-------------------
hot 14972 6460 17718 0 | 39150 59.3
warm 6 16 6 0 | 28 0.0
cold 27 8256 18614 0 | 26897 40.7
----------------------------------------------+-------------------
total 15005 14732 36338 0 | 66075
percent 22.7 22.3 55.0 0.0


cpu 2 local global idle remote | total percent
----------------------------------------------+-------------------
hot 13931 5916 16211 0 | 36058 58.8
warm 11 4 5 0 | 20 0.0
cold 74 7651 17493 0 | 25218 41.1
----------------------------------------------+-------------------
total 14016 13571 33709 0 | 61296
percent 22.9 22.1 55.0 0.0


cpu 3 local global idle remote | total percent
----------------------------------------------+-------------------
hot 13800 5806 16073 0 | 35679 58.5
warm 50 10 16 0 | 76 0.1
cold 132 7712 17381 0 | 25225 41.4
----------------------------------------------+-------------------
total 13982 13528 33470 0 | 60980
percent 22.9 22.2 54.9 0.0


Scheduler Load Balancing

| 5-second averages
steal idle desired | current interrupt RT
cpu trys steals steals load | load % %
-----+-------------------------------------------------------------------------
0 | 0 0 14878 1.089 1.195 0.940 1.366
1 | 0 0 6611 1.112 1.054 0.048 0.197
2 | 0 0 6444 1.111 1.094 0.053 0.261
3 | 0 0 6361 1.112 1.083 0.025 0.217


Processor Usage

cpu user nice system idle widle | scalls intr csw tbsyc
-----+-------------------------------+------------------------------------------
0 | 45.0 3.1 15.7 14.1 22.1 | 1105043 195571 666111 2745
1 | 84.0 0.9 3.4 5.0 6.7 | 461161 0 96254 8660
2 | 85.5 0.8 3.2 5.4 5.1 | 448915 0 88968 8847
3 | 85.7 0.7 3.2 5.3 5.1 | 449245 0 88514 8879


--------------------------------------------------------------------------------

vmstat -M



The fire follows shedule...
2 REPLIES 2
Hein van den Heuvel
Honored Contributor

Re: Sheduler statistics ?


The command used is part of the output: The sched_stat sleep 75

Its output is not for the faint or heart.
Is helps judge CPU (over)load and becomes most interesting for advanced users playing with 'runon' and other process 'bind' tools.

Your system was pretty busy when syscheck was running sched_stat :-).

Hein.


Ninad_1
Honored Contributor
Solution

Re: Sheduler statistics ?

Hello,

Try this link its the man page for sched_stat

http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN8/0170____.HTM


By the way the command is at
/usr/sbin/sched_stat


Regards,
Ninad