[SOLVED]Re: Only 8 MB/sec write throughput with NetBSD 5.1 AMD64

Ravishankar S <[email protected]> Sun, 9 Oct 2011 20:38:50 +0530
Newsgroups gmane.os.netbsd.devel.performance,gmane.os.netbsd.general
Message-ID <CAEToeis0RXD3aLJX+F_aeO_YXnNzih9eDJK5n1++Km27+f-rPw@mail.gmail.com>
On Sun, Oct 9, 2011 at 5:38 PM, Manuel Bouyer <[email protected]> wrot=
e:
> On Sun, Oct 09, 2011 at 02:22:14PM +0530, Ravishankar S wrote:
>> Hi,
>>
>> I am trying to set up an FTP/Samba file server for serving media files
>> at home and I am seeing only 8MB/sec disk write throughput with NBSD
>> 5.1 AMD64. Previously Windows 7 and Linux did 30 MB+/sec on the same
>> setup. I just did a simple dd to check
>>
>> dd if=3D/dev/zero of=3D/store/test.img bs=3D1000K count=3D1000
>>
>> pciide0 at pci0 dev 9 function 0
>> pciide0: vendor 0x10de product 0x0ad0 (rev. 0xa2)
>> pciide0: bus-master DMA support present, but unused (no driver support)
>> pciide0: primary channel wired to native-PCI mode
>
> NetBSD 5.1 is missing the proper entry for your IDE controller,
> as a result it's used in PIO mode.
> A 5.1_STABLE kernel should probe is as an ahci controller and performance=
s
> will be much better.
>
> --
> Manuel Bouyer <[email protected]>
> =A0 =A0 NetBSD: 26 ans d'experience feront toujours la difference
> --
>

Thanks to all who replied. dd now shows 67 MB/sec!!. However, i have
another question. I can now ftp @ 25 MB/sec and it never increases
beyond this point. I have a dlink gigabit router and gigabit cards on
both ends. client is an  ubuntu laptop

Any other areas to explore to increase throughput? I see MTU set at
both ends at 1500 - any benefits to increasing it to 3000 - this will
enable jumbo frames automatically??