Received: with ECARTIS (v1.0.0; list linux-xfs); Fri, 16 May 2003 01:28:27 -0700 (PDT) Received: from goliath.sylaba.poznan.pl (root@goliath.sylaba.poznan.pl [195.216.104.3]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h4G8S6Fu023021 for ; Fri, 16 May 2003 01:28:08 -0700 Received: from goliath.sylaba.poznan.pl (smmsp@localhost.sylaba.poznan.pl [127.0.0.1]) by goliath.sylaba.poznan.pl (8.12.8/8.12.8) with ESMTP id h4G8S4KD029403 for ; Fri, 16 May 2003 10:28:04 +0200 (CEST) Received: by goliath.sylaba.poznan.pl (8.12.8/8.12.8/Submit) id h4G8S36B029369 for linux-xfs@oss.sgi.com.KAV; Fri, 16 May 2003 10:28:03 +0200 (CEST) Received: from venus.local.navi.pl (ps103.poznan.sdi.tpnet.pl [217.97.72.103]) by goliath.sylaba.poznan.pl (8.12.8/8.12.8) with ESMTP id h4G8S1KD029293 for ; Fri, 16 May 2003 10:28:02 +0200 (CEST) Received: from venus.local.navi.pl (venus.local.navi.pl [127.0.0.1]) by venus.local.navi.pl (8.12.5/8.12.5) with ESMTP id h4G8ThtR002377 for ; Fri, 16 May 2003 10:29:44 +0200 Subject: Re: Strange system behaviour when copying disks From: Olaf =?iso-8859-2?Q?Fr=B1czyk?= To: linux-xfs@oss.sgi.com In-Reply-To: <20030516062500.GX27626@plato.local.lan> References: <1052916810.2395.15.camel@venus> <1053005705.952.13.camel@venus> <20030516062500.GX27626@plato.local.lan> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 16 May 2003 10:29:43 +0200 Message-Id: <1053073784.1718.28.camel@venus> Mime-Version: 1.0 X-archive-position: 4047 X-ecartis-version: Ecartis v1.0.0 Sender: linux-xfs-bounce@oss.sgi.com Errors-to: linux-xfs-bounce@oss.sgi.com X-original-sender: olaf@cbk.poznan.pl Precedence: bulk X-list: linux-xfs Content-Length: 808 Lines: 30 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