Roland's homepage

My random knot in the Web

Writing speed on FreeBSD 12.1-STABLE amd64

This is a repeat of the tests I ran in 2010 and 2012, on my current hardware.

The test is writing approximately 10 GB data from /dev/zero to /tmp/foo;

dd if=/dev/zero of=/tmp/foo bs=10M count=1000

The tests are done on otherwise idle machines. In both cases, the partition layout is similar.

Desktop

Characteristic Value
Operating System: FreeBSD 12.1-STABLE (r363130) amd64
CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Chipset: B250
Controller: nvme0: Generic NVMe Device

Partition layout:

/dev/nvd0p2        222G     23G    181G    11%    /
/dev/ada0p1.eli    3.5T    429G    2.8T    13%    /home

Extract from nvmecontrol identify nvme0:

Vendor ID:                   144d
Subsystem Vendor ID:         144d
Model Number:                Samsung SSD 970 EVO Plus 250GB
Firmware Version:            1B2QEXM7
Recommended Arb Burst:       2
IEEE OUI Identifier:         38 25 00
Multi-Path I/O Capabilities: Not Supported
Max Data Transfer Size:      2097152 bytes
Controller ID:               0x0004
Version:                     1.3.0

Test results:

10485760000 bytes transferred in 15.847386 secs (661671275 bytes/sec)

or 631 MiB/s (661 MB/s).

Laptop

Characteristic Value
Operating System: FreeBSD 12.1-STABLE (r363130) amd64
CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Chipset: Sunrise Point
Controller: nvme0: Generic NVMe Device

Partition layout:

/dev/nvd0p2        226G     26G    182G    12%    /
/dev/ada0p1.eli    902G    356G    474G    43%    /home

Extract from nvmecontrol identify nvme0:

Vendor ID:                   14a4
Subsystem Vendor ID:         1b4b
Model Number:                PLEXTOR PX-256M8PeGN
Recommended Arb Burst:       0
IEEE OUI Identifier:         03 23 00
Multi-Path I/O Capabilities: Not Supported
Max Data Transfer Size:      131072 bytes
Controller ID:               0x0001
Version:                     1.2.0

Test results:

10485760000 bytes transferred in 12.896949 secs (813041919 bytes/sec)

or 775 MiB/s (813 MB/s).

Conclusion

The write speed difference between these solid state disks and my old harddisk is astounding.


Related articles


←  Playing a sound when the battery is low Buildworld benchmark on my new workstation  →