>First and foremost, I'm not sure why you cross-posted this on 3 separate
>It's generally shunned by the FreeBSD mailing list community to
Thanks for this reminder. I am testing my hardware against FreeBSD, and I just want to reach those people under the said areas (testing, performance, hardware) with the hope to get speedy response.
>> Then what should I use? I am interested in getting the detailed info to justify the %CPU idles and utilization.
>Of the entire machine? You can see that in top's header:
>last pid: 84636; load averages: 0.47, 0.14, 0.04 up 79+01:15:18 04:46:01
>Regarding why you're adding up all the individual process statistics: I
Though the header could be conclusive, I should want the specific processes (or threads).
And come up with a list of breakdowns, like:
User (28.6%)
1. Program1 -- 20.0%
2. Program2 -- 8.6%
System(8.2%)
1. SystemProcess1 -- X %
2. (and so on) -- Y %
Then match this by adding up all individual processes statistics. And if I couldn't match, at least I could tell some factors that cause variance.
This variance has really struck my attention. When I run "top -SI", the result was:
last pid: 2746; load averages: 0.20, 0.16, 0.10 up 0+00:07:38
15:54:26
125 processes: 12 running, 100 sleeping, 16 waiting
CPU states:
0.3% user, 0.0% nice, 6.4% system, 0.0% interrupt, 93.2% idle
Mem: 42M
Active, 18M Inact, 62M Wired, 20M Buf, 27G Free
Swap:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU
COMMAND
17 root 1 171 52 0K 16K RUN 0 6:05 99.02%
idle: cpu0
15 root 1 171 52 0K 16K CPU2 2 6:05 99.02%
idle: cpu2
14 root 1 171 52 0K 16K CPU3 3 6:28 96.58%
idle: cpu3
10 root 1 171 52 0K 16K CPU7 7 6:19 92.24%
idle: cpu7
11 root 1 171 52 0K 16K CPU6 6 6:22 92.09%
idle: cpu6
16 root 1 171 52 0K 16K CPU1 1 6:30 91.26%
idle: cpu1
12 root 1 171 52 0K 16K CPU5 5 6:26 84.47%
idle: cpu5
13 root 1 171 52 0K 16K CPU4 4 6:36 83.50%
idle: cpu4
The header says 12, but there were only 8 processes displayed. Sometimes it goes down to 10, but not 8.
Hope you can shed me more lights on this.
_______________________________________________
freebsd-performance@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Hiten Pandya | Re: up? (emacs docbook xml ide) |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| David Miller | Slow DOWN, please!!! |
git: | |
| Evgeniy Polyakov | Re: [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 14/37] dccp: Tidy up setsockopt calls |
| David Woodhouse | tun: add tun_flags, owner, group attributes in sysfs |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
