Re: IDE disk erasing/zeroing at ~2.4MB/s

2013-07-13 Thread Stuart Henderson
On 2013-07-13, Nick Holland n...@holland-consulting.net wrote: A few years ago, after someone said basically the same thing (actually, I think it was more emphatic -- as in, it is impossible to see gains beyond ...), I played with it and saw significant gains well beyond bs=64k for raw

Re: IDE disk erasing/zeroing at ~2.4MB/s

2013-07-13 Thread Alexander Hall
I surrender and yet again realize i have boring hardware. :-P Stuart Henderson s...@spacehopper.org wrote: On 2013-07-13, Nick Holland n...@holland-consulting.net wrote: A few years ago, after someone said basically the same thing (actually, I think it was more emphatic -- as in, it is

IDE disk erasing/zeroing at ~2.4MB/s

2013-07-12 Thread Nathan Goings
I have a disk -- IIRC, Seagate Barracuda 160gb 7200RPM 8MB Cache SATA 3.0GB/s dmesg: wd0 at pciide0 channel 0 drive 0: ST3160811AS wd0: 16-sector PIO, LBA48, 152626MB, 312579695 sectors wd0 (pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 However, when I run `dd if=/dev/zero of=/dev/wd0c

Re: IDE disk erasing/zeroing at ~2.4MB/s (full dmesg)

2013-07-12 Thread Nathan Goings
Full GENERIC kernel dmesg on request: OpenBSD 5.3 (GENERIC) #26: Fri Jul 12 16:26:16 MDT 2013 r...@binarynet.hsd1.nm.comcast.net.:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) D CPU 3.20GHz (GenuineIntel 686-class) 3.22 GHz cpu0:

Re: IDE disk erasing/zeroing at ~2.4MB/s

2013-07-12 Thread Alexander Hall
On 07/12/13 23:50, Nathan Goings wrote: I have a disk -- IIRC, Seagate Barracuda 160gb 7200RPM 8MB Cache SATA 3.0GB/s dmesg: wd0 at pciide0 channel 0 drive 0: ST3160811AS wd0: 16-sector PIO, LBA48, 152626MB, 312579695 sectors wd0 (pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 However, when

Re: IDE disk erasing/zeroing at ~2.4MB/s

2013-07-12 Thread Nicolai
On Fri, Jul 12, 2013 at 03:50:58PM -0600, Nathan Goings wrote: However, when I run `dd if=/dev/zero of=/dev/wd0c bs=1M' After 3-4 hours, it's only running at ~2.4MB/s. CPU usage is about 30%. Do instead: dd if=/dev/zero of=/dev/rwd0c bs=1M Nicolai

Re: IDE disk erasing/zeroing at ~2.4MB/s

2013-07-12 Thread Nathan Goings
On 7/12/2013 5:12 PM, Alexander Hall wrote: use the raw device, /dev/rwd0c, not the block device. Tried: dd if=/dev/zero of=/dev/rwd0c bs=64k It runs at ~72MB/s. Thanks!

Re: IDE disk erasing/zeroing at ~2.4MB/s

2013-07-12 Thread Jérémie Courrèges-Anglas
Nathan Goings binarysp...@binaryspike.com writes: I have a disk -- IIRC, Seagate Barracuda 160gb 7200RPM 8MB Cache SATA 3.0GB/s dmesg: wd0 at pciide0 channel 0 drive 0: ST3160811AS wd0: 16-sector PIO, LBA48, 152626MB, 312579695 sectors wd0 (pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6

Re: IDE disk erasing/zeroing at ~2.4MB/s

2013-07-12 Thread Nick Holland
On 07/12/13 19:11, Alexander Hall wrote: On 07/12/13 23:50, Nathan Goings wrote: ... However, when I run `dd if=/dev/zero of=/dev/wd0c bs=1M' After 3-4 use the raw device, /dev/rwd0c, not the block device. I have found close to no speed improvements with bs 64k. A few years ago, after