Source-Changes-D archive

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

Re: CVS commit: src/sys/arch/arm/sunxi



On Mon, May 13, 2019 at 04:55:17PM +0000, Manuel Bouyer wrote:
> Module Name:	src
> Committed By:	bouyer
> Date:		Mon May 13 16:55:17 UTC 2019
> 
> Modified Files:
> 	src/sys/arch/arm/sunxi: sunxi_sata.c
> 
> Log Message:
> Use new magic values from linux for DMACR. While I couldn't measure any
> significant difference with my old, slow laptop drive, linux commiter claims
> a 3x write performance boost (from 40 to 120MB/s) and 200MB/s read with
> a ssd.

With this backported to netbsd-8 on a cubieboard2 with a (quite old) ssd:
Before:
/home/bouyer>dd if=/dev/zero of=test bs=1m count=2048
2048+0 records in
2048+0 records out
2147483648 bytes transferred in 69.385 secs (30950257 bytes/sec)
/home/bouyer>dd if=test of=/dev/null bs=1m
2048+0 records in
2048+0 records out
2147483648 bytes transferred in 26.114 secs (82234956 bytes/sec)

after
/home/bouyer>dd if=/dev/zero of=test bs=1m count=2048
2048+0 records in
2048+0 records out
2147483648 bytes transferred in 44.674 secs (48070100 bytes/sec)
/home/bouyer>dd if=test of=/dev/null bs=1m
2048+0 records in
2048+0 records out
2147483648 bytes transferred in 23.644 secs (90825733 bytes/sec)

So it's clearly an improvement here.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index