Bug #745

Updated by tuxillo 10 months ago

hey,



while doing the pkgsrc bulk build, I get weird numbers in top. I am pretty sure this has something to do with the multitude of shell scripts being used as wrappers in pkgsrc. command execution is also slower than I'd expect (for example wrapper execution).



load averages: 8.38, 7.96, 5.53 up 0+03:48:32 22:34:35

151 processes: 151 running

CPU0 states: 13.7% user, 0.0% nice, 27.5% system, 0.0% interrupt, 58.8% idle

CPU1 states: 21.4% user, 0.0% nice, 28.3% system, 0.0% interrupt, 50.4% idle

CPU2 states: 22.1% user, 0.0% nice, 22.9% system, 0.0% interrupt, 55.0% idle

CPU3 states: 34.7% user, 0.0% nice, 11.1% system, 42.0% interrupt, 12.2% idle

Mem: 71M Active, 509M Inact, 268M Wired, 199M Buf, 2665M Free

Swap:



PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND

36155 root 227 0 3060K 2736K wait 2 0:00 36.82% 8.15% bmake

37456 root 229 0 828K 704K RUN 1 0:00 16.14% 2.93% sh

37677 root 197 0 1576K 1216K wait 2 0:00 14.53% 2.64% bmake

40985 root 182 0 824K 700K RUN 3 0:00 40.00% 1.95% sh

41135 root 193 0 820K 696K wait 1 0:00 39.00% 1.90% sh

37807 root 172 0 828K 704K wait 0 0:00 9.69% 1.76% sh

37310 root 157 0 792K 668K wait 0 0:00 9.15% 1.66% sh

37961 root 210 0 1600K 1240K wait 0 0:00 10.85% 1.51% bmake

40898 root 157 0 784K 660K wait 2 0:00 30.00% 1.46% sh

37563 root 227 0 1464K 1104K wait 1 0:00 5.92% 1.07% bmake

37391 root 168 0 788K 664K wait 0 0:00 4.84% 0.88% sh

37316 root 162 0 1668K 1296K wait 0 0:00 4.57% 0.83% bmake

40213 root 182 0 1216K 1092K wait 1 0:00 16.00% 0.78% sh

39756 root 229 0 824K 700K wait 0 0:00 2.05% 0.20% sh

23163 root 163 0 1444K 1084K wait 2 0:00 0.26% 0.15% bmake

679 corecode 152 0 5948K 3116K select 0 0:05 0.00% 0.00% sshd

87928 corecode 152 0 2340K 1632K RUN 0 0:03 0.00% 0.00% top

5266 root 152 0 6548K 6120K kqread 0 0:02 0.00% 0.00% pbulk-build

2346 root 152 0 2384K 2052K select 2 0:01 0.00% 0.00% screen-4.0.3

672 corecode 152 0 5948K 3112K select 2 0:01 0.00% 0.00% sshd

6357 corecode 152 0 5948K 3124K select 0 0:00 0.00% 0.00% sshd

83074 root 157 0 3236K 2908K wait 0 0:00 0.00% 0.00% bmake

61160 root 152 0 2340K 1632K CPU0 0 0:00 0.00% 0.00% top

84410 root 192 0 3152K 2828K wait 0 0:00 0.00% 0.00% bmake

60999 root 157 0 3388K 3072K wait 1 0:00 0.00% 0.00% bmake



that's what systat -vm tells:



11 users Load 9.22 8.60 6.50 Jul 26 22:39



Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER

Tot Share Tot Share Free in out in out

Act 28560 5260 67456 9252 2717488 count

All 880132 8524 1793432 13480 pages

13651 zfod Interrupts

Proc:r p d s w Csw Trp Sys Int Sof Flt 16467 cow 556 total

10 45 727964259438586 475 6638986 284684 wire 429 clk

70624 act 13 uhci0

21.6%Sys 12.8%Intr 30.8%User 0.0%Nice 34.8%Idl 524220 inact 69 atapci1

| | | | | | | | | | cache 11 em0

===========++++++>>>>>>>>>>>>>>>> 2717552 free ata0

daefr irq19

Namei Name-cache Dir-cache 21446 prcfr 34 irq21

Calls hits % hits % react

81740 79364 97 189 0 pdwake

pdpgs

Disks ad4 ad6 acd0 cd0 pass0 md0 intrn

KB/t 0.00 36.23 0.00 0.00 0.00 0.00 204096 buf

tps 0 34 0 0 0 0 1533 dirtybuf

MB/s 0.00 1.21 0.00 0.00 0.00 0.00 231015 desiredvnodes

% busy 0 3 0 0 0 0 81881 numvnodes

1602 freevnodes



cheers

simon

Back