VM drive cache mode and performance

giner

Member
Oct 14, 2009
239
0
16
40
Tokyo
Hello everybody,

Could anybody try to explain why cache=directsync and cache=none (which is write-back with host cache disabled) give completely same results? Shouldn't it be better on writing with cache=none?

------------------
Hardware:
- Dell PE 710
- PERC H700 Integrated
- RAID 0+1
- Current Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
- BBU is in place

Proxmox:
- Proxmox VE 2.3 (is under some daily load during the tests)

Virtual machine:
- Windows 2008 R2 SP1
- 3 drives (virto HDD, 10GB raw image on ext3, i.e. on local storage)
-- drive E: cache=directsync
-- drive I: cache=none
-- drive F: cache=writethrough
------------------








Regards,
Stanislav
 
Hello everybody,

Could anybody try to explain why cache=directsync and cache=none (which is write-back with host cache disabled) give completely same results? Shouldn't it be better on writing with cache=none?

------------------
Hardware:
- Dell PE 710
- PERC H700 Integrated
- RAID 0+1
- Current Cache Policy: WriteBack, ReadAdaptive, Direct, No Write Cache if Bad BBU
- BBU is in place

Proxmox:
- Proxmox VE 2.3 (is under some daily load during the tests)

Virtual machine:
- Windows 2008 R2 SP1
- 3 drives (virto HDD, 10GB raw image on ext3, i.e. on local storage)
-- drive E: cache=directsync
-- drive I: cache=none
-- drive F: cache=writethrough
------------------








Regards,
Stanislav


I think it's because of your writeback cache of your perc HD700. try to put it in writethrough, and retry to do same benchs.
 
> I think it's because of your writeback cache of your perc HD700. try to put it in writethrough, and retry to do same benchs.
But write-through would make it even slower, right?
 
> I think it's because of your writeback cache of your perc HD700. try to put it in writethrough, and retry to do same benchs.
But write-through would make it even slower, right?

Yes sure, it's just for bench directsync vs none.
(I think you should have lower performance with directsync and around same performance with none)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!