Date: Mon, 29 Jan 1996 12:54:31 +1100 From: Bruce Evans <bde@zeta.org.au> To: dyson@freebsd.org Cc: current@freebsd.org Subject: too many cached pages for profiled kernel Message-ID: <199601290154.MAA03073@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
I booted a profiling kernel by mistake and was surprised when it was extremely slow because of heavy swapping. The profile buffers take 1.7MB and `Cache' takes 2.5MB so an 8MB system was reduced to < 4MB. I've never seen so much memory allocated for `Cache' before, and the same profiling kernel runs normally (without anything in `Cache') on a 16MB system. `68Kout' in the top output should be formatted better. Bruce load averages: 0.14, 0.14, 0.09 09:57:13 19 processes: 1 running, 18 sleeping Cpu states: 1.4% user, 0.0% nice, 18.8% system, 4.8% interrupt, 74.9% idle Mem: 272K Active, 12K Inact, 3360K Wired, 2488K Cache, 509K Buf, 60K Free Swap: 33M Total, 6736K Used, 27M Free, 20% Inuse 68Kout PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 217 bde 30 0 292K 264K RUN 0:01 5.33% 3.05% top 215 root 10 0 844K 28K wait 0:00 5.47% 0.76% <bash> 164 bde 10 0 844K 28K wait 0:01 0.77% 0.57% <bash> 218 root 18 0 136K 20K pause 0:00 0.00% 0.00% <sleep> 119 root 18 0 236K 12K pause 0:00 0.00% 0.00% <cron> 26 root 18 0 140K 12K pause 0:00 0.00% 0.00% <adjkerntz> 163 bde 10 0 844K 28K wait 0:03 0.00% 0.00% <bash> 1 root 10 0 180K 12K wait 0:00 0.00% 0.00% <init> 108 root 10 0 144K 12K nfsidl 0:00 0.00% 0.00% <nfsiod> 109 root 10 0 144K 12K nfsidl 0:00 0.00% 0.00% <nfsiod> 107 root 10 0 144K 12K nfsidl 0:00 0.00% 0.00% <nfsiod> 106 root 10 0 144K 12K nfsidl 0:00 0.00% 0.00% <nfsiod> 165 root 3 0 156K 20K ttyin 0:00 0.00% 0.00% <getty> 166 root 3 0 156K 20K ttyin 0:00 0.00% 0.00% <getty> 97 daemon 2 0 176K 16K select 0:00 0.00% 0.00% <portmap> 124 root 2 0 480K 12K accept 0:00 0.00% 0.00% <sendmail> 121 root 2 0 192K 12K select 0:00 0.00% 0.00% <lpd> 112 root 2 0 192K 12K select 0:01 0.00% 0.00% <inetd> --- 2 users Load 0.21 0.17 0.10 Mon Jan 29 09:58 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Interrupts Tot Share Tot Share Free in out in out 240 total Act 2068 1020 432 56 2484 count 3 99 clk0 irq0 All 6136 4016 1484 308 pages 3 127 rtc0 irq8 cow fdc0 irq6 Proc:r p d s w Csw Trp Sys Int Sof Flt zfod 14 wdc0 irq14 2 4 21 13 7 244 10 11 3384 wire sc0 irq1 248 act sio1 irq3 3.3%Sys 0.7%Intr 0.3%User 0.0%Nice 95.7%Idl 72 inact ed0 irq15 | | | | | | | | | | 2428 cache == 60 free daefr Namei Name-cache Proc-cache prcfr Calls hits % hits % 11 react 10 pdwake 2408 pdpgs Discs fd1 wd0 intrn seeks 3 528 buf xfers 3 blks 7 msps 7.3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601290154.MAA03073>