🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Brad Knowles Fri, 07 Apr 2000 00:00
Benchmarking w/ rawio & Simulating Diablo history lookups...
#45595
Author: Brad Knowles
Date: Fri, 07 Apr 2000 00:00
110 lines
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.

Re: Benchmarking w/ rawio & Simulating Diablo history lookups...
#45600
Author: Sven Paulus
Date: Fri, 07 Apr 2000 00:00
9 lines
834 bytes
Brad Knowles <brad@shub-internet.org> wrote:
|>     The disks are configured in four RAID-5 LUNs (RAID-0 and RAID-0+1 
|> don't seem to provide any measurable speed improvement)

Did you compare write speeds?

Sven

Re: Benchmarking w/ rawio & Simulating Diablo history lookups...
#45624
Author: Brad Knowles
Date: Sat, 08 Apr 2000 00:00
29 lines
2225 bytes
In article <Ryan_Wetterstaetter@hallinan.pool44.oops.inka.de>, Sven 
Paulus <sven@karlsruhe.org> wrote:

> Brad Knowles <brad@shub-internet.org> wrote:
> |>     The disks are configured in four RAID-5 LUNs (RAID-0 and RAID-0+1 
> |> don't seem to provide any measurable speed improvement)
> 
> Did you compare write speeds?

    No, write speeds were not compared.  In a Diablo or INN CNFS or 
timecaf-style spool, disk write speeds aren't very important because you 
have multiple articles being appended as they come in to a small number 
of open files, and therefore even 100GB/day (4.167GB/hour, 71.11MB/min, 
1.185MB/sec) rates don't even begin to make a single slow disk sweat 
writes.

    Reads are of far more importance, in particular reads for the 
history database, since you can get upwards of 1000 or even 2000 history 
database reads per second when the machine is being pushed very hard -- 
perhaps due to a massive backlog of news that is finally coming in.

-- 
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.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads