NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: harddrive slow/ allwinner20



Hello,

On Wed, 10 Feb 2016 16:27:47 +0000 (UTC)
Darren <darren780%yahoo.com@localhost> wrote:

> Tested this harddrive on more than one system, it is good.  Just for
> fun I tested another drive with a usb port with the same results.  I
> am getting transfer speeds of approximately 20mb/s using dd.  

So, you're using USB, not the SATA port?

> dd if=/dev/zero of=/usr/testfile
> dd if=/usr/testfile of=/dev/null

try a larger block size, otherwise you're reading/writing in 512 byte
snippets.

> NetBSD armv7 7.99.26 NetBSD 7.99.26 (CUBIETRUCK) #1: Wed Feb 10
> 16:03:52 UTC 2016
> root@netbsd.192.168.1.1:/usr/obj/sys/arch/evbarm/compile/CUBIETRUCK
> evbarm
> 
> 
> This is the drive
> HGST Deskstar NAS H3IKNAS30003272SN (0S03660) 3TB 7200 RPM 64MB Cache
> SATA 6.0Gb/s 3.5" High-Performance Hard Drive for Desktop NAS Systems
> Bare Drive
> 
> It is running very hot while presumably not doing anything.

Most 7200rpm drives will get hot just spinning. The motor that moves the
heads isn't adding much.

That said, I usually don't get more than 16MB/s over USB just reading
like this:

dd if=/dev/rwd0a of=/dev/null bs=1m count=256

Through the Cubietruck's SATA controller I get about 80MB/s out of an
old laptop drive.

have fun
Michael


Home | Main Index | Thread Index | Old Index