From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 16:44:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4890B1065672 for ; Thu, 8 Jul 2010 16:44:40 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id D3E178FC08 for ; Thu, 8 Jul 2010 16:44:39 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id o68GicJo000802; Thu, 8 Jul 2010 18:44:38 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 10834BABC; Thu, 8 Jul 2010 18:44:38 +0200 (CEST) Date: Thu, 8 Jul 2010 18:44:38 +0200 From: Roland Smith To: Jozsi Avadkan Message-ID: <20100708164437.GA21881@slackbox.erewhon.net> References: <1278604252.12047.13.camel@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <1278604252.12047.13.camel@localhost> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing list Subject: Re: slow down dd - how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 16:44:40 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 08, 2010 at 05:50:52PM +0200, Jozsi Avadkan wrote: > How can I slow down dd? Play with the block size parameter (bs). Smaller block sizes means more reads. The default is 512 bytes, which is very small. =20 > I don't want to slow down the pc, when generating a big file [~40 > GByte]. >=20 > Does ionice work properly? I think ionice only works on Linux. Why not use nice(1)? Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iEYEARECAAYFAkw2AHUACgkQEnfvsMMhpyVj4ACfQSN8mTpig2V+x/9S9yGb2zWK /K8An2ruZV6BaAONg2PFEczzm4w3Uqmq =LaIz -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA--