<div dir="ltr"><span style="color:rgb(136,136,136);font-size:14px">Hi,Emmanuel</span><br><div><span style="color:rgb(136,136,136);font-size:14px">Thank you for your reply , I have two types of pcie-ssd cards: Intel P3600  and </span><font color="#888888"><span style="font-size:14px">ES3000 V2 PCIe SSD ;</span></font></div><div><span style="color:rgb(136,136,136);font-size:14px">I did this testing as you mentioned above , but the results are also bad. </span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-12 0:10 GMT+08:00 Emmanuel Florac <span dir="ltr"><<a href="mailto:eflorac@intellique.com" target="_blank">eflorac@intellique.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le Mon, 11 Apr 2016 22:14:06 +0800<br>
Songbo Wang <<a href="mailto:hack.coo@gmail.com">hack.coo@gmail.com</a>> écrivait:<br>
<span class=""><br>
>      mkfs: mkfs.xfs /dev/hioa2 -f -n size=64k -i size=512 -d<br>
> agcount=40 -l size=1024m.<br>
>      mount: mount /dev/hioa2 /mnt/  -t xfs -o<br>
> rw,noexec,nodev,noatime,nodiratime,nobarrier,discard,inode64,logbsize=256k,delaylog<br>
> I use the following command to test iops: fio -ioengine=libaio -bs=4k<br>
> -direct=1 -thread -rw=randwrite -size=50G -filename=/mnt/test<br>
> -name="EBS 4KB randwrite test" -iodepth=64 -runtime=60<br>
> The results is normal at the beginning which is about 210k±,but some<br>
> seconds later, the results down to 19k±.<br>
<br>
</span>You should first try default mkfs settings, with default mount options.<br>
Normally mkfs.xfs should initiate a TRIM on the SSD, therefore<br>
performance should remain predictable.<br>
<br>
What model of SSD card are you using? With an HGST NVMe SN1x0 I've got<br>
very consistent results (no degradation with time).<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
------------------------------------------------------------------------<br>
Emmanuel Florac     |   Direction technique<br>
                    |   Intellique<br>
                    |   <<a href="mailto:eflorac@intellique.com">eflorac@intellique.com</a>><br>
                    |   <a href="tel:%2B33%201%2078%2094%2084%2002" value="+33178948402">+33 1 78 94 84 02</a><br>
------------------------------------------------------------------------<br>
</font></span></blockquote></div><br></div>