Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2022 08:45:33 +0000
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        Roderick <hruodr@gmail.com>
Cc:        FreeBSD Questions List <questions@freebsd.org>
Subject:   Re: dd and mbr
Message-ID:  <20220113084533.6f59428cf802930c62e61230@sohara.org>
In-Reply-To: <5ad46ace-9241-bbba-df61-162b3ffe461b@gmail.com>
References:  <4af920fc-eff1-a92e-d36e-1ba97079864c@gmail.com> <CAM8r67By518wp_1p9%2BJ5p7CE6Zj1M97Rm%2BaA-CSA-qtSVgyidw@mail.gmail.com> <20220112010402.GG61872@eureka.lemis.com> <f0814445-d026-30-8956-84e36db9b7a6@gmail.com> <20220112214107.GI61872@eureka.lemis.com> <5ad46ace-9241-bbba-df61-162b3ffe461b@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Jan 2022 08:32:26 +0000 (UTC)
Roderick <hruodr@gmail.com> wrote:

> 
> On Thu, 13 Jan 2022, Greg 'groggy' Lehey wrote:
> 
> > As others have suggested, use bs=64k.  Otherwise dd does an IO for
> > every single sector.  The speedup is really in the order of 100x.
> 
> I used bs=1m. I hope that was also OK. In any case faster than without it.

	That's always been fine when I've used it and you can be sure that
it's bigger than any physical write size - but at 64k I think it's as fast
as it's going to get.

-- 
Steve O'Hara-Smith <steve@sohara.org>



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