Date: Thu, 2 Aug 2001 08:44:02 +0200 From: Geoff Rehmet <geoff@is.co.za> To: hackers@freebsd.org Subject: A long way down the road - 3.1 vs 4.3 Message-ID: <20010802084402.A21737@hangdog.is.co.za>
index | next in thread | raw e-mail
What may be interesting as a comparison -
We are starting the process of upgrading our nameservers, which were
installed approximately 2 years ago. Their OS has not been touched,
except for a few security patches since then, and they are still
running 3.1-STABLE. We have recently brought a third name server
on line (as the start of the upgrade process) and it is running 4.3-STABLE.
The hardware configs of the machines are identical (Dell Poweredsge
2300, dual 400MHz PII, 256M RAM). However, the 4.3 machine runs have
the CPU of the 3.1 machine, using an identical version of BIND.
The 3.1 machines started paging to disk after a short while. After a
week of operation, and with named growing to 165M, the 4.3 machine
hasn't used any of its swap space.
This is a good sign of progress.
Just for interest, here is the output of top from both machines. The machines
are being load-balanced behind a layer 4 switch, so they are getting fairly
even request loads.
Especially, this shows us that the kernel has become a lot more efficient.
(Both machines are running SMP kernels.)
3.1-STABLE:
last pid: 91073; load averages: 1.01, 0.88, 0.90 up 73+01:25:21 08:32:19
18 processes: 1 running, 17 sleeping
CPU states: 7.6% user, 0.0% nice, 22.0% system, 0.4% interrupt, 70.0% idle
Mem: 157M Active, 48M Inact, 34M Wired, 9048K Cache, 8346K Buf, 1704K Free
Swap: 1024M Total, 59M Used, 965M Free, 6% Inuse
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
25750 root 2 0 147M 70736K select 1 425:11 41.75% 41.75% named
105 root 2 0 820K 288K select 0 164:04 0.00% 0.00% syslogd
205 root 2 0 1420K 260K select 0 2:50 0.00% 0.00% sshd1
199 root 2 0 1884K 0K select 0 1:57 0.00% 0.00% <snmpd>
161 root 10 0 988K 204K nanslp 0 1:03 0.00% 0.00% cron
58518 root 2 0 896K 140K select 1 0:13 0.00% 0.00% inetd
165 root 18 0 1260K 288K pause 1 0:09 0.00% 0.00% sendmail
1 root 10 0 496K 96K wait 1 0:00 0.00% 0.00% init
91065 geoff 28 0 1556K 800K CPU1 1 0:00 0.00% 0.00% top
91048 geoff 18 0 1280K 904K pause 0 0:00 0.00% 0.00% tcsh
91040 root 2 0 1456K 812K select 0 0:00 0.00% 0.00% sshd1
233 root 3 0 824K 0K ttyin 1 0:00 0.00% 0.00% <getty>
234 root 3 0 824K 0K ttyin 1 0:00 0.00% 0.00% <getty>
236 root 3 0 820K 0K siodcd 1 0:00 0.00% 0.00% <getty>
235 root 3 0 824K 0K ttyin 1 0:00 0.00% 0.00% <getty>
237 root 3 0 820K 0K siodcd 1 0:00 0.00% 0.00% <getty>
41 root 18 0 204K 0K pause 1 0:00 0.00% 0.00% <adjkerntz>
4.3-STABLE:
last pid: 85896; load averages: 0.11, 0.13, 0.11 up 7+07:30:41 08:32:21
18 processes: 1 running, 17 sleeping
CPU states: 3.7% user, 0.0% nice, 1.7% system, 0.6% interrupt, 94.0% idle
Mem: 173M Active, 28M Inact, 35M Wired, 12M Cache, 35M Buf, 1488K Free
Swap: 1024M Total, 1024M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
7109 root 2 -10 165M 163M select 0 954:14 13.09% 13.09% named
85895 geoff 28 0 1880K 1148K CPU1 0 0:00 0.95% 0.59% top
124 root 2 0 932K 564K select 0 43:11 0.00% 0.00% syslogd
43974 root 2 -12 1264K 784K select 1 0:50 0.00% 0.00% ntpd
153 root 2 0 2548K 1380K select 0 0:17 0.00% 0.00% sshd
94748 root 2 0 1048K 724K select 1 0:14 0.00% 0.00% inetd
146 root 10 0 968K 672K nanslp 0 0:05 0.00% 0.00% cron
85821 root 2 0 2676K 1712K select 1 0:01 0.00% 0.00% sshd
85823 geoff 10 0 1040K 724K wait 1 0:00 0.00% 0.00% bash
185 root 3 0 944K 580K ttyin 1 0:00 0.00% 0.00% getty
188 root 3 0 944K 580K ttyin 1 0:00 0.00% 0.00% getty
186 root 3 0 944K 580K ttyin 1 0:00 0.00% 0.00% getty
191 root 3 0 944K 580K ttyin 1 0:00 0.00% 0.00% getty
192 root 3 0 944K 580K ttyin 1 0:00 0.00% 0.00% getty
190 root 3 0 944K 580K ttyin 1 0:00 0.00% 0.00% getty
189 root 3 0 944K 580K ttyin 1 0:00 0.00% 0.00% getty
187 root 3 0 944K 580K ttyin 1 0:00 0.00% 0.00% getty
--
Geoff Rehmet, Internet Solutions
tel: +27-11-283-5462, fax: +27-11-283-5401 mobile: +27-83-292-5800
email: geoffr@is.co.za
URL: http://www.is.co.za
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010802084402.A21737>
