NetBSD-Users archive

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

Re: NetBSD disk performance on VirtualBox



On Sun, Mar 18, 2018 at 03:45:48PM +0000, Sad Clouds wrote:
> Hello, using 'log' or both 'async, log' does not improve things much,
> i.e. it's around 30-50 MBytes/sec:
> 
> localhost# mount | grep wd0a
> /dev/wd0a on / type ffs (asynchronous, log, local)
> 
> localhost# dd if=/dev/zero of=out bs=1m count=1000
> 1000+0 records in
> 1000+0 records out
> 1048576000 bytes transferred in 21.330 secs (49159681 bytes/sec)

I get:

amd64-test# mount  
/dev/wd0a on / type ffs (local)
kernfs on /kern type kernfs (local)
ptyfs on /dev/pts type ptyfs (local)
procfs on /proc type procfs (local)
tmpfs on /var/shm type tmpfs (local)
amd64-test# dd if=/dev/zero of=out bs=1m count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 2.634 secs (398092634 bytes/sec)
amd64-test# dd if=/dev/zero of=out bs=1m count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 2.634 secs (398092634 bytes/sec)
amd64-test# dd if=/dev/zero of=out bs=1m count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 2.691 secs (389660349 bytes/sec)
amd64-test# mount -u -o async /
amd64-test# mount 
/dev/wd0a on / type ffs (asynchronous, local)
kernfs on /kern type kernfs (local)
ptyfs on /dev/pts type ptyfs (local)
procfs on /proc type procfs (local)
tmpfs on /var/shm type tmpfs (local)
amd64-test# dd if=/dev/zero of=out bs=1m count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 0.755 secs (1388842384 bytes/sec)
amd64-test# dd if=/dev/zero of=out bs=1m count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 0.765 secs (1370687581 bytes/sec)
amd64-test# dd if=/dev/zero of=out bs=1m count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 0.756 secs (1387005291 bytes/sec)
amd64-test# mount -u -o noasync /
amd64-test# mount -u -o log /
amd64-test# mount
/dev/wd0a on / type ffs (log, local)
kernfs on /kern type kernfs (local) 
ptyfs on /dev/pts type ptyfs (local)
procfs on /proc type procfs (local)
tmpfs on /var/shm type tmpfs (local)
amd64-test# dd if=/dev/zero of=out bs=1m count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 2.787 secs (376238249 bytes/sec)
amd64-test# dd if=/dev/zero of=out bs=1m count=1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 2.714 secs (386358142 bytes/sec)


.. and this is close to what I expected (in relative timings).

Martin


Home | Main Index | Thread Index | Old Index