Article View: news.software.nntp
Article #45595Benchmarking w/ rawio & Simulating Diablo history lookups...
From: Brad Knowles
Date: Fri, 07 Apr 2000 00:00
Date: Fri, 07 Apr 2000 00:00
110 lines
5961 bytes
5961 bytes
Folks,
In previous messages, Joe Greco <jgreco@ns.sol.net> (Message-id:
38ac565b$0$187@news.execpc.com) and Terry Kennedy <terry@gate.tmk.com>
(Message-id: Fq3p56.37q@spcuna.spc.edu) demonstrated some benchmarking
they had done with rawio to simulate high-speed Diablo history lookups.
See their messages for details on their configuration, etc....
I've been doing similar testing here, but until now didn't have any
numbers that I felt I could report, due to some errors I was seeing. My
configuration is not yet complete, so I might end up being able to do
even better than this, but what I've got so far is not half bad,
considering:
Joe Greco's Software-striped/mirrored 36-disk/1.8TB Array
---------------------------------------------------------
# ./rawio -c 1 -p 64 -n 1048576 -r -R /dev/vinum/rnews
Random read Sequential read
ID K/sec /sec K/sec /sec
news 1941.9 7583 796.2 1555
Terry Kennedy's 1GB Solid-State Disk
------------------------------------
# rawio -c 1 -p 64 -n 1048576 -r -R /dev/rda4s1e
Random read Sequential read
ID K/sec /sec K/sec /sec
anon 2831.3 11057 2815.1 5498
My testing
----------
$ rawio -c 1 -p 64 -n 1048576 -R -r /dev/vinum/news
Random read Sequential read
ID K/sec /sec K/sec /sec
news 1338.7 5227 1015.8 1984
I'm not doing quite as good as they are, but I'm not all that far
off from Joe's results. I think with some more tuning I can do even
better than I have here.
My configuration: FreeBSD 4.0-STABLE, Dell PowerEdge 1300/450, two
Pentium III processors w/ 512KB L2 cache each, Intel EtherExpress Pro
100+ FastEthernet NIC, two Adaptec 2940U2W SCSI host adaptors, one
Adaptec AIC-7890 onboard SCSI controller, IBM DDRS-39130D DC2A disk for
boot, OS, etc....
The external drive array that is attached to this machine is a
Comparex D1400/Hitachi DF400 with five internal SCSI busses and two SCSI
controllers (each with only one interface and attached to a dedicated
2940U2W SCSI host adaptor), and there are four "rows" of Seagate 10kRPM
18GB "Cheetah" disks (twenty total mechanisms for data, with one
in-cabinet hot spare). The array is capable of 2GB RAM cache per
controller, but currently only 512MB per controller is installed. Of
course, there are two power supplies and two on-board batteries, and
theoretically just about everything can be hot-plugged and hot-swapped.
The disks are configured in four RAID-5 LUNs (RAID-0 and RAID-0+1
don't seem to provide any measurable speed improvement), and two LUNs
are controlled and available to one controller exclusively, while the
other two LUNs are controlled and available to the other controller
exclusively (they are not configured for either active-active or
active-standby methods of failover).
For the test above, I created two separate soft partitions on each
LUN, one that is 2GB in size and one that is the rest of the disk
(64.63GB raw). I then took each of the 2GB partitions and
software-striped them with vinum to create what is the /dev/vinum/news
device and will have the filesystem for /usr/news/history on it.
You wouldn't expect that I would need to add software striping on
top of the hardware device, but the problem is that the D1400 does not
support multiple levels of logical devices, and if a LUN spans more than
one row of disks, the rows are concatenated.
I'm going to do some more stress-testing over the weekend. I'll
take the rawio benchmark above (to simulate heavy history lookups), and
run it in an endless loop. I'll also add filesystem level runs of the
Postmark benchmark (see
<http://www.shub-internet.org/brad/FreeBSD/postmark.html>, specifically
just the fourth test) on each of the four 64.63GB filesystems that will
be used as the news spool (to simulate actually receiving and deleting
articles, etc...).
If I can't make it die by beating the crap out of it like this over
the weekend, I'll start building Diablo 2.0 on this machine and see if I
can throw it a complete copy of our current feed, and then configure
some reader processes.
I'll let you folks know if I manage to improve performance in any
way. In particular, right now the array is configured to optimize a mix
of random and sequential accesses. I'm going to try configuring it to
optimize only random I/O, and see what that does to the benchmark above.
I'd really like to see how fast I can push this thing with a
Clariion RAID array, but we don't seem to have any of those.... ;-)
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a news server administrator outside of North America and Western
Europe? If so, and you're interested in getting a newsfeed from a server
in the Freenix Top 50, please send me private e-mail for details.
Technical Details
Message-ID:
<brad-479302.19021407042000@news.skynet.be>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <brad-479302.19021407042000@news.skynet.be> Subject: Benchmarking w/ rawio & Simulating Diablo history lookups... Date: Fri, 07 Apr 2000 00:00:00 +0000 From: Brad Knowles <brad@shub-internet.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 608057909 Mail-Copies-To: poster X-Complaints-To: abuse@skynet.be X-Trace: news0.skynet.be 955126940 16475 195.238.1.121 (7 Apr 2000 17:02:20 GMT) Organization: Shub-Internet X-URL: http://www.shub-internet.org/ User-Agent: MT-NewsWatcher/3.0 (PPC) NNTP-Posting-Date: 7 Apr 2000 17:02:20 GMT Newsgroups: news.software.nntp