Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 2010 18:44:38 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Jozsi Avadkan <jozsi.avadkan@gmail.com>
Cc:        FreeBSD Mailing list <freebsd-questions@freebsd.org>
Subject:   Re: slow down dd - how?
Message-ID:  <20100708164437.GA21881@slackbox.erewhon.net>
In-Reply-To: <1278604252.12047.13.camel@localhost>
References:  <1278604252.12047.13.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100708164437.GA21881>