Re: Problem with concurrent SATA-Writes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 31, 2005 at 07:16:42PM +0200, Tobias Reinhard wrote:
> I have a problem with two SATA-Discs. I have an onboard SIL3114 with
> four SATA-Ports an onboard NVIDIA with two SATA-Ports - both controllers
> are disable via BIOS (and are not detected by Linux)(only for this test
> of course - normally I have other HDD on this ports). The only
> controller that is found is the add-on controller in a PCI-Slot
> (SIL3112). And that is the one I have trouble with.
> 
> If I read or write  (via dd) from the first one -> no problems. Same
> when read or write from the second or when I read (only read!) from both
> at the same time. Data-Transfer-Rate is around 45MB/s for one HDD.
> 
> The problem occures when I try to write on both discs at the same time.
> For example I write /dev/zero to the first one and then start to write
> /dev/zero to the second one. The System-Load goes up to 4 with nearly
> 100% io-wait and nearly no write-access to the drives.
> 
> Any hints?
> 
> - no errormessages in syslog
> - happens with Kernel 2.6.11.7 and with 2.6.12-rc5
> - HDDs are Samsung Spinpoint 200GB
> - (I use the SCSI-SATA-Drivers)

Might it be a problem with having two things using /dev/zero at the same
time?

What blocksize do you use with dd?

What happens if you do dd from /dev/zero to two different files on one
of the hds (with some filesystem on the drive obviously)?

How about:
dd if=/dev/zero bs=128k| tee >(dd of=/dev/disk1 bs=128k) | dd of=/dev/disk2 bs=128k

That seems pretty fast here (writing to two files in /tmp rather than
two disks since I don't have two disks I can just destroy.).

Len Sorensen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux