SSD write latency lower than read latency

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

 



Hi Fio users and Jens,

I am currently analyzing read and write latencies of Solid State Disks (SSDs). My assumption was that
write latencies are usually higher than read latencies. But my tests with Fio on an Intel DCS3500 show 
that average latency while writing is lower than while reading (using fio-2.1.3):

* $ sudo /usr/bin/fio --rw=randrw --name=intelDCS3500 --bs=4k --direct=1 --filename=/dev/sda --rwmixread=0
    --numjobs=1 --ioengine=libaio --runtime=60 --iodepth=1 --time_based 
    [...]
    lat (usec): min=30, max=1010, avg=43.32, stdev= 3.42
    [...]
* $ sudo /usr/bin/fio --rw=randrw --name=intelDCS3500 --bs=4k --direct=1 --filename=/dev/sda --rwmixread=100
    --numjobs=1 --ioengine=libaio --runtime=60 --iodepth=1 --time_based 
    [...]
    lat (usec): min=103, max=2315, avg=121.92, stdev=11.02

I have made this observation on two different machines with different SSDs, always producing similar results.
Am I doing anything wrong with my tests?
Are write latencies in general lower than read latencies?

One guess I have is a SSD cache to enhance write access (in particular the Intel datacenter SSDs, as they have
a "Enhanced power-loss data protection" feature).

Thanks a lot, Georg
-- 
: Georg Schönberger
: Web Operations & Knowledge Transfer
: Thomas-Krenn.AG | The server-experts
: http://www.thomas-krenn.com | http://www.thomas-krenn.com/wiki
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux