Subject: ps crawling...
To: None <current-users@netbsd.org>
From: Frank Kardel <kardel@acm.org>
List: current-users
Date: 02/01/2004 18:33:30
Hi *,
has anyone else seen that ps is dead slow (eating much sys time) with
a -current (kernel+userland) as of 20040201?
pip# time ps alxww
UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND
0 668 1 0 18 0 1080 3012 pause Ss+ 03 0:00.62 /usr/sbin/ntpd -p /var/run/ntpd.pid
0 0 0 0 -18 0 0 105924 schedule DKs ?? 0:01.07 [swapper]
0 1 0 29 10 0 60 208 wait Ss ?? 0:00.07 init
0 2 0 0 -18 0 0 105924 smtaskq DK ?? 0:00.00 [sysmon]
0 3 0 0 10 0 0 105924 pmsreset DK ?? 0:00.00 [pms0]
0 4 0 0 0 0 0 105924 fwohciev DK ?? 0:00.00 [fwohci0]
0 99 0 0 10 0 0 105924 nfsidl SK ?? 0:00.00 [nfsio]
...
0 336 1 22 3 0 52 4 ttyin SWs+ E4 0:00.01 /usr/libexec/getty Pc ttyE4
0 338 1 22 3 0 52 4 ttyin SWs+ E5 0:00.01 /usr/libexec/getty Pc ttyE5
19.21 real 0.04 user 15.41 sys
This seems to me as a bit too much system time. pmap seems to crawl also (didn't wait
for it to finish). Anything i could have overlooked ?
Frank