public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Tuning Linux for high-speed disk subsystems
@ 2001-11-22 10:15 Martin Knoblauch
  2001-11-22 16:30 ` Andreas Dilger
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Knoblauch @ 2001-11-22 10:15 UTC (permalink / raw)
  To: mjustice; +Cc: linux-kernel@vger.kernel.org, S.Akhtary

> Re: Tuning Linux for high-speed disk subsystems
> 
> 
> > As I count your disks may be the double for the best case. I read here on
> > LKML a post that someone claims that W2k deliever 250 MB/s with such a
> > configuration. Linux 2.4 should do the same. Ask the SCSI gurus.
> >
> 
> That may have been my post you refer to. With 2x5 disks, each capable of
> 50 MB/s by itself, we can stream 255 MB/s very smoothly in either direction
> with W2K --- as long as FILE_FLAG_NOBUFFER is used. With standard
> reads the number is more like 100 MB/s if I recall correctly, so the buffer
> cache can definitely get in the way.
> 
> With Linux + XFS I was getting 250 MB/s read and 220 MB/s write (with a
> bit less smoothness than W2K) using O_DIRECT and no high mem to avoid
> bounce buffer copies. Using standard reads the numbers drop to around
> 120 MB/s. That was a couple of weeks ago and I want to try tweaking some
> more but a co-worker has "borrowed" pieces of the hardware for the moment.
> 
Marvin,

 could you elaborate a bit more :-), or point me/us to your post
(couldn't find it). We are currently evaluating solutions for doing HDTV
playback for one of our customers. This will need about 300-320 MB/sec
read. We know (at least someone claims so) that you can do it with SGI
equipment at a price. The goal for the customer is to definitely beat
that price :-))

Martin
-- 
------------------------------------------------------------------
Martin Knoblauch         |    email:  Martin.Knoblauch@TeraPort.de
TeraPort GmbH            |    Phone:  +49-89-510857-309
C+ITS                    |    Fax:    +49-89-510857-111
http://www.teraport.de   |    Mobile: +49-170-4904759

^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <3B6867E6CB09B24385A73719A50C7C9A79791F@athena.boxxtech.com>]
* RE: Tuning Linux for high-speed disk subsystems
@ 2001-11-16  2:56 Dieter Nützel
  2001-11-16 11:51 ` Roy Sigurd Karlsbakk
  0 siblings, 1 reply; 16+ messages in thread
From: Dieter Nützel @ 2001-11-16  2:56 UTC (permalink / raw)
  To: Linux Kernel List

The heroinewarrior.com (Broadcast 2000) guys came to the following with the
Tyan Thunder K7 (2 x 1.0 GHz Athlon MP) dual channel U160 (Adaptec) and
RAID 0. http://heroinewarrior.com/athlon.php3

[-]
 As for performance our experiences are biased because this system is almost 
exclusively used for video software development not games like most. It needs 
a reliable operating system like Linux and very fast media storage drives.

 The inverse telecine, a grueling memory excercise which takes 3 hours on a 
dual PIII 933 and 2 hours on a dual Alpha, takes about 2 hours on the dual 
Athlon. 

Our 100 Gig SCSI raid, consisting of 6 15,000 rpm drives on the motherboard's 
two SCSI 160 channels gives a full 110MB/sec read and write with RAID 0. With 
RAID chunks set to 1MB the write accesses go to 160MB/sec and read accesses 
go to 90MB/sec sustained. This system would make a good motion capture tool. 
Previous Intel attempts at onboard disk I/O would give 50MB/sec.
[-]

-Dieter

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: Tuning Linux for high-speed disk subsystems
@ 2001-11-13 20:38 Torrey Hoffman
  0 siblings, 0 replies; 16+ messages in thread
From: Torrey Hoffman @ 2001-11-13 20:38 UTC (permalink / raw)
  To: 'Roy Sigurd Karlsbakk', linux-kernel; +Cc: lars.nakkerud

Roy Sigurd Karlsbakk wrote:

> After some testing at Compaq's lab in Oslo, I've come to the 
> conclusion
> that Linux cannot scale higher than about 30-40MB/sec in or out of a
> hardware or software RAID-0 set with several stripe/chunk 
> sizes tried out.

Hmmm. I saw "dbench 32" results of 73 MB / second using Linux
software RAID-0 and IDE.  However, I suppose some of that 
was due to caching, and not hardware throughput.

Details: 2.4.9-ac17, 4 x Maxtor 5400 RPM, 60 GB hard drives, 
2 x Promise TX-2 controllers, using UDMA-100, one drive / cable,
dual PIII-800, reiserfs, RAID - 0 with chunk-size = 1024

Torrey




^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: Tuning Linux for high-speed disk subsystems
@ 2001-11-13 15:58 Jesse Pollard
  0 siblings, 0 replies; 16+ messages in thread
From: Jesse Pollard @ 2001-11-13 15:58 UTC (permalink / raw)
  To: roy, linux-kernel

Roy Sigurd Karlsbakk <roy@karlsbakk.net>:
> 
> Hi all
> 
> After some testing at Compaq's lab in Oslo, I've come to the conclusion
> that Linux cannot scale higher than about 30-40MB/sec in or out of a
> hardware or software RAID-0 set with several stripe/chunk sizes tried out.
> The set is based on 5 18GB 10k disks running SCSI-3 (160MBps) alone on a
> 32bit/33MHz PCI bus.
> 
> After speking to the storage guys here, I was told the problem generally
> was that the OS should send the data requests at 256kB block sizes, as the
> drives (10k) could handle 100 I/O operations per second, and thereby could
> give a total of (256*100)kB/sec per spindle. When using smaller block
> sizes, the speed would decrease in a linear fasion.
> 
> Does anyone know this stuff good enough to help me how to tune the system?
> PS: The CPUs were almost idle during the test. Tested file system was
> ext2.

I shouldn't be the authoritative answer on this, but to start with:

a. You don't provide enough info on the hardware configuration:

	a. are all of the drives on one SCSI controller?
	b. is there only one PCI?
	c. since you mention "CPUs", how many, and which ones
	d. which chipset?
	e. what was used for the benchmark?
	f. which hardware raids were tested?

b. Your mentioned limit (40MB/sec) sounds like it is really a
   memory<->bridge<->PCI<->controller bandwidth limit - this is about what I
   get from a SCSI-3 alone on 33MHz bus (I use SCSI 3 for system disk, SCSI 2
   for audio/CDRW/tape drive).

c. Based on the statement that the "CPUs were almost idle", it sounds like
   the limit is outside the OS. If you are trying to setup a disk server then
   you should check into multiple PCI busses @ 66MHz, and multiple disk
   controllers.

-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil

Any opinions expressed are solely my own.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Tuning Linux for high-speed disk subsystems
@ 2001-11-13 14:29 Roy Sigurd Karlsbakk
  2001-11-13 16:43 ` Ragnar Kjørstad
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Roy Sigurd Karlsbakk @ 2001-11-13 14:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: lars.nakkerud

Hi all

After some testing at Compaq's lab in Oslo, I've come to the conclusion
that Linux cannot scale higher than about 30-40MB/sec in or out of a
hardware or software RAID-0 set with several stripe/chunk sizes tried out.
The set is based on 5 18GB 10k disks running SCSI-3 (160MBps) alone on a
32bit/33MHz PCI bus.

After speking to the storage guys here, I was told the problem generally
was that the OS should send the data requests at 256kB block sizes, as the
drives (10k) could handle 100 I/O operations per second, and thereby could
give a total of (256*100)kB/sec per spindle. When using smaller block
sizes, the speed would decrease in a linear fasion.

Does anyone know this stuff good enough to help me how to tune the system?
PS: The CPUs were almost idle during the test. Tested file system was
ext2.

Regards

roy

--
Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA

Computers are like air conditioners.
They stop working when you open Windows.



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2001-11-22 16:31 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-22 10:15 Tuning Linux for high-speed disk subsystems Martin Knoblauch
2001-11-22 16:30 ` Andreas Dilger
     [not found] <3B6867E6CB09B24385A73719A50C7C9A79791F@athena.boxxtech.com>
2001-11-16 16:53 ` Marvin Justice
  -- strict thread matches above, loose matches on Subject: below --
2001-11-16  2:56 Dieter Nützel
2001-11-16 11:51 ` Roy Sigurd Karlsbakk
2001-11-16 15:24   ` Dieter Nützel
2001-11-13 20:38 Torrey Hoffman
2001-11-13 15:58 Jesse Pollard
2001-11-13 14:29 Roy Sigurd Karlsbakk
2001-11-13 16:43 ` Ragnar Kjørstad
2001-11-13 16:51 ` Alan Cox
2001-11-13 17:59 ` Craig I. Hagan
2001-11-13 16:18   ` Marcelo Tosatti
2001-11-14 10:33   ` Roy Sigurd Karlsbakk
2001-11-14 10:35   ` Roy Sigurd Karlsbakk
2001-11-13 20:00 ` Dan Hollis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox