Ah! /dev/urandom is the limiting factor ^^ USB HDD is also stuck at 1.9Mbps with the same test. Same test with of=/dev/null is only getting 2.0Mbps.
With the USB HDD and if=/dev/zero instead, and 10x count
root@linaro:~# dd if=/dev/zero of=/media/dump bs=40960 count=10000 10000+0 records in 10000+0 records out 409600000 bytes (410 MB) copied, 16.5168 s, 24.8 MB/s root@linaro:~# dd if=/dev/zero of=/media/dump bs=40960 count=10000 10000+0 records in 10000+0 records out 409600000 bytes (410 MB) copied, 18.4294 s, 22.2 MB/s
With the patch out, this takes an insanely long time.
Against the USB stick, it rises to 7.1MBps with the patch in vs 3.5MBps with it out.
So nice job!
Ah! /dev/urandom is the limiting factor ^^ USB HDD is also stuck at 1.9Mbps with the same test. Same test with of=/dev/null is only getting 2.0Mbps.
With the USB HDD and if=/dev/zero instead, and 10x count
root@linaro:~# dd if=/dev/zero of=/media/dump bs=40960 count=10000
10000+0 records in
10000+0 records out
409600000 bytes (410 MB) copied, 16.5168 s, 24.8 MB/s
root@linaro:~# dd if=/dev/zero of=/media/dump bs=40960 count=10000
10000+0 records in
10000+0 records out
409600000 bytes (410 MB) copied, 18.4294 s, 22.2 MB/s
With the patch out, this takes an insanely long time.
Against the USB stick, it rises to 7.1MBps with the patch in vs 3.5MBps with it out.
So nice job!