dm-cache性能测试2

  • dm-cache性能测试 反映出来dm-cache非常优秀的缓存性能,但是这个我做出来反映出来随机的IO都没有被SSD缓存到,直接到了后端,只有连续的IO才能缓存了….测试了各种情况,暂时无解了….
[lvm-raid10]
4k随机
write: io=145232KB, bw=2418.2KB/s, iops=604, runt= 60059msec
read : io=4096.0MB, bw=171322KB/s, iops=42830, runt= 24482msec

4k连续
write: io=6144.7MB, bw=104803KB/s, iops=26200, runt= 60032msec
read : io=20480MB, bw=428060KB/s, iops=107015, runt= 48992msec

512k连续
write: io=9783.0MB, bw=166852KB/s, iops=325, runt= 60040msec
read : io=20480MB, bw=906132KB/s, iops=1769, runt= 23144msec

[lvm-raid10 + dmcache]
4k随机
WRITE: io=20416KB, aggrb=339KB/s, minb=339KB/s, maxb=339KB/s, mint=60200msec, maxt=60200msec
write: io=2048.0MB, bw=276086KB/s, iops=69021, runt=  7596msec (第二次)

read : io=436436KB, bw=7268.7KB/s, iops=1817, runt= 60044msec
read : io=2048.0MB, bw=291960KB/s, iops=72990, runt=  7183msec (第二次)

4k连续
write: io=2048.0MB, bw=144293KB/s, iops=36073, runt= 14534msec
read : io=2048.0MB, bw=340005KB/s, iops=85001, runt=  6168msec

512k连续
write: io=10479MB, bw=178728KB/s, iops=349, runt= 60038msec
read : io=20480MB, bw=826985KB/s, iops=1615, runt= 25359msec
  • storage/缓存技术/dm-cache/dm-cache性能测试2.txt
  • 最后更改: 2019/04/16 18:31
  • (外部编辑)