Softaculous


Topic : Disk Cache


Posted By: 10110 on November 29, 2018, 2:26 pm
Hi,

for a 1TB vps cpanel/plesk hosting which cache do you recommend ?

Regards,

Posted By: 10110 on November 29, 2018, 3:05 pm | Post: 1
i found this article http://www.ilsistemista.net/index.php/virtualization/11-kvm-io-slowness-on-rhel-6.html?start=7

which not recommend default , write-through

so there are 3 options: none, write back, direct sync,

which one should i use ?  :squi:

Posted By: bigpowerhosting on November 30, 2018, 12:30 am | Post: 2
Disk Cache set to "writethrough" or "writeback" with IO policy "thread" gives decent VPS disk IO performance.

- Use virtio optimized IO performance
If you are using CentOS 7, then you will also be able to limit VPS disk I/O speed



Edited by bigpowerhosting : November 30, 2018, 12:31 am

Posted By: wolke on November 30, 2018, 2:25 pm | Post: 3
If you have more than 1 VM on the node, I recommend "none" as caching and "native" as i/o policy. in fact the i/o mechanism does not really make a big difference in most scenarios. If you only have 1 VM (why the heck?) threads may perform better.

Have a look here (beginning with slide 27) for a good comparison:
https://www.slideshare.net/pradeepkumarsuvce/qemu-disk-io-which-performs-better-native-or-threads


Edited by wolke : November 30, 2018, 2:25 pm

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.