Hi,
The wiki states the following:
cache=none seems to be the worst performance wise
cache=directsync seems to increase read and write performance in average with 40%
cache=writethrough seems to increase read and write performance in average with 50%
cache=writeback seems to increase read performance in average with 50% and write performance in average with 100%
For this reason I would recommend writethrough for anybody using RAID.
Using iozone3 with these options: iozone -s64K -s128K -s256K -s512K -s1024K -s 2048K -s4096K -i 0 -i 1 -i 2
Anyone else with the same outcome?
PS. if anyone is interested I have the detailed reports in Excel format.
The wiki states the following:
When the host uses software RAID the answer is completely different:Disk Cache
cache=none seems to be the best performance and is the default in Proxmox 2.X.
Note: The information below is based on using raw volumes, other volume formats may behave differently.
cache=directsync seems similar in performance to cache=none
cache=writethrough should help speed up reads since it can use the host disk cache for reads but in practice it performs worse than cache=none
cache=writeback should help with reads and writes at the risk of loosing data, in practice it performs worse than cache=none.
caching adds additional data copies and bus traffic causing it to perform worse.
cache=none seems to be the worst performance wise
cache=directsync seems to increase read and write performance in average with 40%
cache=writethrough seems to increase read and write performance in average with 50%
cache=writeback seems to increase read performance in average with 50% and write performance in average with 100%
For this reason I would recommend writethrough for anybody using RAID.
Using iozone3 with these options: iozone -s64K -s128K -s256K -s512K -s1024K -s 2048K -s4096K -i 0 -i 1 -i 2
Anyone else with the same outcome?
PS. if anyone is interested I have the detailed reports in Excel format.