What you are observing is the characteristics of how the drives firmware handles writes. This can be from write amplification caused by the drives GC, and journaling + checkpointing. This behavior may vary greatly between vendors and even firmware versions.
- Danielle Costantino
From: SPDK <spdk-bounces@lists.01.org> on behalf of ´˘ <cjj25233@163.com>
Sent: Tuesday, August 1, 2017 12:58:33 AM
To: spdk@lists.01.org
Subject: [SPDK] A issue about maximums of write latency when we access the same block consecutively.Hi, allRecently, we use a demo to obverse the latency.We find that when we access the same block consecutively, the occurrence of maximum latencies will become more frequent.Additionally, they can reach even 2-3 ms and present a periodical change.
Why?(1) For the same block, the latency of the first accessing is about 10-12 ¦Ěs while the second, thirdand the forth accessing can reach 700-900 ¦Ěs even 2-3 ms?I want to know the reason why the operation difference between the first accessing and the others exists.(2) Why the maximums of 2-3 ms have a periodical change?
Best wishes,Jiajia Chu