Date: Wed, 10 Jun 2020 07:42:07 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 247136] Handbook, section 2.3.1.1: dd(1) command uses "bs=1M" (slow), should be "bs=4k" (/much/ faster) Message-ID: <bug-247136-9-VgXjzeQiUE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-247136-9@https.bugs.freebsd.org/bugzilla/> References: <bug-247136-9@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247136 andrew@tao11.riddles.org.uk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@tao11.riddles.org.uk --- Comment #1 from andrew@tao11.riddles.org.uk --- My experience and benchmarks differ - from a freebsd stable/11 system to a random USB2 thumb drive, I get a slowdown on the order of 8x from using 4k rather than 64k block size. Block sizes of 64k, 128k, 256k, 1m give me indistinguishable speeds (note, there is basically no reason to ever use a blocksize greater than MAXPHYS w= hen writing to a raw device, and that is 128k in standard builds). All block si= zes below 64k are slower for me. status=3Dprogress is not needed on freebsd since you can always just use control-T. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247136-9-VgXjzeQiUE>