As of about kernel 2.3.40 (not sure exactly when. many kernels between
2.3.5 and 2.3.99 have not compiled or booted for me, and some of the
2.3.4x were among these), process accounting has been broken, as you are
likely aware.
This has severely broken the results of programs such as ps, top, etc.
As an example of the problem, I am attaching the results of this simple
scriptsh -c 'cat uptime;usleep 979000;' > /idle.loop (actually, this
repeated several times, but this makes it shorter). Anyway, this is
running on a box w/ few to no running processes. As is apparrent, there
is approx 0.99-1.00 seconds btwn each call, but the idle loop is
reported to have used ~1.9-2.0 seconds, obviously impossible.
I am also attaching the output of top -n 1 -b with the distributed.net
client running, to illustrate the bogus percentage numbers.
I know that this is a known problem, and there was some discussion back
around 2.3.45. However, it was not fixed, and has continued. I also
realize that it is not a major showstopper, but I also consider it
likely that many people will likely be peeved if and when they run the
2.4.x kernel, and notice this very obvious problem.
Am I correct in thinking that it will be fixed before 2.4, or is this
small problem being ignored? Will it be later. Any responses would be
appreciated.
8587.31 4609.64
8588.30 4611.62
8589.29 4613.60
8590.28 4615.58
8591.27 4617.56
8592.26 4619.52
8593.25 4621.50
8594.24 4623.44
8595.23 4625.42
8596.22 4627.40
8597.21 4629.38
8598.20 4631.36
8599.19 4633.34
8600.18 4635.32
8601.17 4637.30
8602.16 4639.26
8603.15 4641.24
8604.14 4643.18
8605.13 4645.04
8606.12 4647.00
8607.11 4648.96
8608.10 4650.86
8609.09 4652.84
8610.08 4654.66
8611.07 4655.44
8612.07 4657.20
8613.06 4659.18
8614.05 4660.94
8615.04 4662.80
8616.03 4664.60
8617.02 4666.46
8618.01 4668.44
8619.00 4670.28
8619.99 4672.08
8620.98 4673.82
8621.97 4675.64
8622.96 4677.58
8623.95 4679.16
2:03pm up 2:34, 8 users, load average: 0.92, 0.51, 0.64
77 processes: 74 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: 4.3% user, 1.2% system, 133.5% nice, 423.7% idle
Mem: 126672K av, 122552K used, 4120K free, 0K shrd, 944K buff
Swap: 128484K av, 0K used, 128484K free 38508K cached
PID PPID USER TTY PRI NI SIZE SWAP RSS SHARE STAT %CPU %MEM TIME COMMAND
3894 3893 adam vc/1 20 19 404 0 404 316 R N 99.9 0.3 42:23 dnetc
4754 4249 root pts/3 2 0 1148 0 1148 956 R 3.8 0.9 0:00 top
1 0 root ? 0 0 476 0 476 408 S 0.0 0.3 0:11 init
2 1 root ? 0 0 0 0 0 0 SW 0.0 0.0 0:00 kapmd
3 1 root ? 0 0 0 0 0 0 SW 0.0 0.0 0:05 kswapd
4 1 root ? 0 0 0 0 0 0 SW 0.0 0.0 0:00 kflushd
5 1 root ? 0 0 0 0 0 0 SW 0.0 0.0 0:00 kupdate
9 1 root ? 0 0 492 0 492 404 S 0.0 0.3 0:00 devfsd
368 1 bin ? 0 0 376 0 376 308 S 0.0 0.2 0:00 portmap
415 1 root ? 0 0 620 0 620 516 S 0.0 0.4 0:00 syslogd
426 1 root ? 0 0 888 0 888 388 S 0.0 0.7 0:00 klogd
440 1 daemon ? 0 0 472 0 472 400 S 0.0 0.3 0:00 atd
454 1 root ? 0 0 592 0 592 504 S 0.0 0.4 0:00 crond
468 1 root ? 0 0 560 0 560 472 S 0.0 0.4 0:00 inetd
482 1 root ? 0 0 1480 0 1480 740 S 0.0 1.1 0:00 named
496 1 root ? 0 0 560 0 560 472 S 0.0 0.4 0:00 lpd
510 1 root ? 0 0 604 0 604 524 S 0.0 0.4 0:00 rwhod
547 1 xfs ? 0 0 1092 0 1092 528 S 0.0 0.8 0:00 xfs
562 1 root ? 0 0 896 0 896 712 S 0.0 0.7 0:00 smbd
573 1 root ? 0 0 892 0 892 724 S 0.0 0.7 0:00 nmbd
613 1 root vc/3 0 0 1196 0 1196 804 S 0.0 0.9 0:00 login
616 1 root vc/6 0 0 384 0 384 324 S 0.0 0.3 0:00 mingetty
1010 1 root ? 0 0 300 0 300 248 S 0.0 0.2 0:00 vmnet-bridge
1022 1 root ? 0 0 300 0 300 248 S 0.0 0.2 0:00 vmnet-netifup
1031 1 root ? 0 0 700 0 700 556 S 0.0 0.5 0:00 vmnet-dhcpd
1196 1 root ? 0 0 0 0 0 0 SW 0.0 0.0 0:00 rpciod
1197 1 root ? 0 0 0 0 0 0 SW 0.0 0.0 0:00 lockd
1199 1 root ? 0 0 924 0 924 800 S 0.0 0.7 0:00 xdm
1201 1199 root ? 0 0 63952 0 62M 2052 R 0.0 50.4 1:10 X
1202 1199 root ? 0 0 1776 0 1776 1428 S 0.0 1.4 0:00 xdm
1213 1202 root ? 0 0 2460 0 2460 1932 S 0.0 1.9 0:00 gnome-session
1237 1 root ? 0 0 1840 0 1840 1488 S 0.0 1.4 0:00 gnome-smproxy
1243 1 root ? 0 0 2332 0 2332 1672 S 0.0 1.8 0:03 enlightenment
1245 1 root ? 0 0 424 0 424 328 S 0.0 0.3 0:00 esd
1258 1 root ? 0 0 3608 0 3608 2728 S 0.0 2.8 0:01 panel
1260 1 root ? 0 0 6048 0 6048 3896 S 0.0 4.7 0:03 gmc
1264 1 root ? 0 0 1180 0 1180 976 S 0.0 0.9 0:00 gnome-name-serv
1272 1 root ? 0 0 3712 0 3712 2596 S 0.0 2.9 0:02 gnomepager_appl
1274 1 root ? 0 0 3836 0 3836 2656 S 0.0 3.0 0:00 mini_commander_
1276 1 root ? 0 0 3276 0 3276 2472 S 0.0 2.5 0:01 drivemount_appl
1282 1 root ? 0 0 3352 0 3352 2540 S 0.0 2.6 0:00 asclock_applet
1293 1 root ? 5 5 3336 0 3336 2532 S N 0.0 2.6 0:00 cpumemusage_app
1300 1 root ? 0 0 3704 0 3704 2620 S 0.0 2.9 0:00 gnome-terminal
1301 1300 root ? 0 0 552 0 552 464 S 0.0 0.4 0:00 gnome-pty-helpe
1302 1300 root pts/0 0 0 1108 0 1108 792 S 0.0 0.8 0:00 bash2
1306 1302 root pts/0 0 0 7152 0 7152 4716 S 0.0 5.6 0:07 xwp
1313 1 root pts/0 0 0 988 0 988 416 S 0.0 0.7 0:00 wpexc
1463 1 root ? 0 0 480 0 480 416 S 0.0 0.3 0:00 gpm
2059 1 root vc/1 0 0 1196 0 1196 804 S 0.0 0.9 0:00 login
2060 2059 adam vc/1 0 0 1164 0 1164 800 S 0.0 0.9 0:00 bash2
2089 1 root vc/2 0 0 1196 0 1196 804 S 0.0 0.9 0:00 login
2090 2089 adam vc/2 0 0 1156 0 1156 800 S 0.0 0.9 0:00 bash2
2101 2090 adam vc/2 0 0 1372 0 1372 964 S 0.0 1.0 0:00 mc
2103 2101 adam pts/1 0 0 1148 0 1148 796 S 0.0 0.9 0:00 bash2
2104 613 adam vc/3 0 0 1156 0 1156 800 S 0.0 0.9 0:00 bash2
2118 2104 adam vc/3 0 0 1680 0 1680 1016 S 0.0 1.3 0:10 mc
2120 2118 adam pts/2 0 0 1148 0 1148 796 S 0.0 0.9 0:00 bash2
2815 1 root ? 0 0 1324 0 1324 1204 S 0.0 1.0 0:00 xntpd
2816 2815 root ? 0 0 1600 0 1600 1432 S 0.0 1.2 0:00 xntpd
3020 1 root vc/4 0 0 1196 0 1196 804 S 0.0 0.9 0:00 login
3023 1 root vc/5 0 0 1132 0 1132 752 S 0.0 0.8 0:00 login
3027 3020 adam vc/4 0 0 1164 0 1164 800 S 0.0 0.9 0:00 bash2
3892 2060 adam vc/1 19 19 404 0 404 316 S N 0.0 0.3 0:00 dnetc
3893 3892 adam vc/1 19 19 404 0 404 316 S N 0.0 0.3 0:00 dnetc
4136 1274 root ? 0 0 728 0 728 616 S 0.0 0.5 0:00 sh
4137 4136 root ? 0 0 756 0 756 632 S 0.0 0.5 0:00 mozilla
4138 4137 root ? 0 0 796 0 796 644 S 0.0 0.6 0:00 run-mozilla.sh
4144 4138 root ? 0 0 26168 0 25M 11140 S 0.0 20.6 1:03 mozilla-bin
4146 4144 root ? 0 0 26168 0 25M 11140 S 0.0 20.6 0:00 mozilla-bin
4147 4146 root ? 0 0 26168 0 25M 11140 S 0.0 20.6 0:00 mozilla-bin
4148 4146 root ? 0 0 26168 0 25M 11140 S 0.0 20.6 0:00 mozilla-bin
4222 3023 root vc/5 0 0 1128 0 1128 800 S 0.0 0.8 0:00 bash2
4247 1 root ? 0 0 4456 0 4456 2624 S 0.0 3.5 0:01 gnome-terminal
4248 4247 root ? 0 0 552 0 552 464 S 0.0 0.4 0:00 gnome-pty-helpe
4249 4247 root pts/3 0 0 1140 0 1140 792 S 0.0 0.8 0:00 bash2
4373 4222 root vc/5 0 0 796 0 796 648 S 0.0 0.6 0:00 su
4375 4373 adam vc/5 0 0 1140 0 1140 788 S 0.0 0.8 0:00 bash2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:17 EST