2

I have a computer:

I'm testing SSD write speed on newly installed Ubuntu Desktop 20.04 with no other processes running

dd if=/dev/zero of=/moint-point/tmp bs=4M count=10000 status=progress

I disabled write caching by sync mount option and reniced and ioniced dd process for maximum performance.

After 100 seconds writing speed is only 90MB/s, but disk is capable of 530MB/s

How can I significantly increase writing speed? Do I need to replace motherboard? How to choose it? If I buy SATA - USB 3.0 converter and plug into usb, will it increase?

2
  • Sorry for formatting, its hard on mobile Commented May 12, 2021 at 8:13
  • A USB 3 SATA converter would be slower than a direct SATA connection
    – Ramhound
    Commented May 12, 2021 at 11:30

1 Answer 1

2

After 100 seconds writing speed is only 90MB/s, but disk is capable of 530MB/s

It's a "QVO" SSD. Its main flash storage isn't capable of 530MB/s.

The SSD only has a small amount of very fast SLC storage, which it uses as a "write cache" to accept incoming data at maximum speed. After writing is done, the SSD will automatically move data from its cache to the main storage memory.

But if you write data quickly enough to fill the cache, then your writes begin going directly to the main storage space – and your SSD's storage is QLC, so 90 MB/s is about as good as it gets.

(Note: This is the SSD's internal write cache. It has nothing to do with the operating system's RAM-based write cache, and dd has no control over it.)

How can I significantly increase writing speed?

Get an SSD that doesn't use QLC flash.

Also, probably take a look at NVMe SSDs instead of SATA. The "530MB/s" limit does come from SATA being the bottleneck – SSDs can actually reach several GB/s when not constrained by the SATA connection.

If I buy SATA - USB 3.0 converter and plug into usb, will it increase?

Definitely not. It'll only add more bottlenecks.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .