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 wrote: >On 2013-07-13, Nick Holland 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

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

2013-07-13 Thread Stuart Henderson
On 2013-07-13, Nick Holland 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 devices. I'd be surprised if

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

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

2013-07-12 Thread Jérémie Courrèges-Anglas
Nathan Goings writes: > I have a disk -- IIRC, Seagate Barracuda 160gb 7200RPM 8MB Cache SATA > 3.0GB/s > > dmesg: > wd0 at pciide0 channel 0 drive 0: > 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=/

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

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: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,M

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: 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 bs=1M' After 3-