Date: Tue, 21 Nov 1995 14:37:30 -0600 From: "Mike R. Prevost" <mprevost@ro.com> To: FreeBSD Questions <questions@freebsd.org> Subject: [SOLVED] 2.1R Very Stable Here Message-ID: <Pine.3.89.9511211432.A24329-0100000@sh1.ro.com> In-Reply-To: <Pine.SUN.3.91.951121084022.23222A-100000@garnet>
next in thread | previous in thread | raw e-mail | index | archive | help
I had some trouble with FreeBSD on a new news server here. With the
help of several folks in this list and on usenet, I proved it to be a bad
motherboard. Got new ASUS 486SP3G motherboard and things are grand.
System has a 3c509, 1 1GB Conner, and 2 2 GB Seagate Baracuddas in it at
present. 2 More Seagtes on the way. 32 MB RAM.
Just thought I'd post this script that I used to stress test the system.
I left it running all night and it was still running when I got back the
next morning. Some filesystems had filled up though. Not sure why. But
I ran a similar script on a Linux machine and it die during the night.
The FreeBSD system kept a steady load avg of about 13.5 all nigh with the
disks grinding like mad. I left 3 sysstat's running (with pigs and
iostat and vmstat too).
Anyway, thanks for your help. I'v been running Linux for a long time
now. I'm very impressed with FreeBSD so far.
Here's the quick little I/O stress testing script (/sd1 is the first
Seagate, /sd2 is the second. / and /usr are on the Conner):
--- snip snip ---
#!/bin/sh
while true
do
sync
sync
sync
done &
while true
do
find /usr -exec cat {} > /dev/null \;
done &
while true
do
find /usr -exec cat {} > /sd1/tmp \;
done &
while true
do
find /usr -exec cat {} > /sd2/tmp \;
done &
while true
do
nice -20 cat /dev/mem /dev/kmem > /sd1/mkmem
rm -f /sd1/mkmem
sync
done &
while true
do
nice -20 cat /dev/mem /dev/kmem > /sd2/mkmem
rm -f /sd2/mkmem
sync
done &
while true
do
nice -20 dd if=/dev/rsd1 > /dev/null
done &
while true
do
nice -20 dd if=/dev/rsd2 > /dev/null
done &
while true
do
nice -20 ps auxw > /dev/null
done &
while true
do
nice -20 vmstat > /dev/null
done &
while true
do
nice -20 iostat > /dev/null
done &
while true
do
nice -20 cat /dev/mem /dev/kmem | nice -20 /sbin/md5 | nice -20 gzip -9 | nice -20 gunzip > /dev/null
done &
while true
do
echo > /dev/null
done &
--- snip snip ---
--- Mike R. Prevost
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.3.89.9511211432.A24329-0100000>
