Re: [User question] Huge buffer size on KVM host

2012-09-10 Thread Martin Wawro
On 08/16/2012 04:57 PM, Avi Kivity wrote: Hi Avi, No, there was no reason and we disabled it there too. Interestingly, the buffer size did not go down significantly, even when manually flushing the pages using /proc/sys/vm/drop_caches (3), the buffer size did not go down. Finally, after

Re: [User question] Huge buffer size on KVM host

2012-08-16 Thread Martin Wawro
On Aug 15, 2012, at 2:57 PM, Avi Kivity wrote: We are using logical volumes and the cache is set to 'none'. Strange, that should work without any buffering. What the contents of /sys/block/sda/queue/hw_sector_size and /sys/block/sda/queue/logical_block_size ? Hi Avi,

Re: [User question] Huge buffer size on KVM host

2012-08-16 Thread Avi Kivity
On 08/16/2012 05:54 PM, Martin Wawro wrote: On Aug 15, 2012, at 2:57 PM, Avi Kivity wrote: We are using logical volumes and the cache is set to 'none'. Strange, that should work without any buffering. What the contents of /sys/block/sda/queue/hw_sector_size and

[User question] Huge buffer size on KVM host

2012-08-15 Thread Martin Wawro
Hi all, We have noticed a strange thing in one of our setups which uses KVM for virtualization. The size of the buffer cache turns out to be rather large, here is what 'top' on the host has to say about it: Mem: 12274084k total, 12202860k used,71224k free, 2991728k buffers Swap: 8191992k

Re: [User question] Huge buffer size on KVM host

2012-08-15 Thread Avi Kivity
On 08/15/2012 11:06 AM, Martin Wawro wrote: Hi all, We have noticed a strange thing in one of our setups which uses KVM for virtualization. The size of the buffer cache turns out to be rather large, here is what 'top' on the host has to say about it: Mem: 12274084k total, 12202860k

Re: [User question] Huge buffer size on KVM host

2012-08-15 Thread Martin Wawro
On Aug 15, 2012, at 1:30 PM, Avi Kivity wrote: We have noticed a strange thing in one of our setups which uses KVM for virtualization. The size of the buffer cache turns out to be rather large [,,,] How is you storage set up? Files (which format?) or logical volumes? what's the cache=

Re: [User question] Huge buffer size on KVM host

2012-08-15 Thread Avi Kivity
On 08/15/2012 03:05 PM, Martin Wawro wrote: On Aug 15, 2012, at 1:30 PM, Avi Kivity wrote: We have noticed a strange thing in one of our setups which uses KVM for virtualization. The size of the buffer cache turns out to be rather large [,,,] How is you storage set up? Files (which