From owner-freebsd-stable Wed Jun 7 14: 9:53 2000 Delivered-To: freebsd-stable@freebsd.org Received: from privatecube.privatelabs.com (privatecube.privatelabs.com [198.143.31.30]) by hub.freebsd.org (Postfix) with ESMTP id 6EE1737BACA for <stable@freebsd.org>; Wed, 7 Jun 2000 14:09:48 -0700 (PDT) (envelope-from mi@privatelabs.com) Received: from misha.privatelabs.com (root@misha.privatelabs.com [198.143.31.6]) by privatecube.privatelabs.com (8.9.2/8.9.2) with ESMTP id RAA13317 for <stable@freebsd.org>; Wed, 7 Jun 2000 17:08:54 -0400 (EDT) Received: (from mi@localhost) by misha.privatelabs.com (8.9.3/8.9.3) id RAA94211 for stable@freebsd.org; Wed, 7 Jun 2000 17:08:45 -0400 (EDT) (envelope-from mi) From: Mikhail Teterin <mi@privatelabs.com> Message-Id: <200006072108.RAA94211@misha.privatelabs.com> Subject: changes in dd? To: stable@freebsd.org Date: Wed, 7 Jun 2000 17:08:44 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! I'm noticing a big difference between two -stable machines: 0: 4.0-STABLE #1: Wed Apr 19 14:11:58 EDT 2000 1: 4.0-STABLE #2: Fri Jun 2 16:53:15 EDT 2000 My application needs to save files on the remote servers and I chose to do it using dd, because I could tell it exactly how many bytes to read and save without relying on the EOF. My command line is: ssh -o'Compression no' -e none -c blowfish <server> \ dd ibs=1 count=<size> of=/dev/null < /kernel.GENERIC This works on both machines, but on the newer one it is much slower then on the older one (51 Kb/sec vs. 3Mb/sec !). If I remove ``ibs=1 count=<size>'' the speed is the same, but I can't specify the size any more. May be, it is not even dd, but something else in the system... To work around I wrote my own little program, but I'm still curious what changed in the system for such a dramatic difference... TIA, -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message