xfs
[Top] [All Lists]

Re: Strange system behaviour when copying disks

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Strange system behaviour when copying disks
From: Olaf Frączyk <olaf@xxxxxxxxxxxxx>
Date: 16 May 2003 10:29:43 +0200
In-reply-to: <20030516062500.GX27626@xxxxxxxxxxxxxxx>
References: <1052916810.2395.15.camel@venus> <1053005705.952.13.camel@venus> <20030516062500.GX27626@xxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Fri, 2003-05-16 at 08:25, Ethan Benson wrote:
> 
> what happens if you use bs=4096 to dd ? 
> 
> doing a strace of cat shows it appears to do read/writes in 4096 byte
> blocks perhaps this is making a difference.
I have tried 512,1024,2048,4096,8192,16384.
It works smoothly with all above values.
The only difference was with 512: the speed was cut about half.
dd if=/dev/zero of=/dev/hda1 bs=1 count=100000000 also doesn't make the
system unresponsive

So, it is not because of block size.
Also cat /dev/hda1 > /dev/null doesn't hurt.

But cat /dev/zero > /dev/hda1 makes the system even more unresponsive
than doing cat /dev/hda1 > /dev/hdc1

So the output redirection from bash does something strange for normal
block devices. I think.

Does someone has an idea what is the cause?

Regards,

Olaf





<Prev in Thread] Current Thread [Next in Thread>