Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-19 Thread Piotr Rybicki
Hello. Actually it was my mistake. After some time using memory in guest (find /, cp bigfine, etc), res size of qemu process shrinks to expected value. Sorry for disturbing. Now i don't see any memory waste in guest and host when using 'base' memory + 'dimm' memory. Although i have one

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-18 Thread Piotr Rybicki
W dniu 2015-06-18 o 00:57, Vasiliy Tolstov pisze: 2015-06-18 1:52 GMT+03:00 Andrey Korolyov and...@xdel.ru: Whoosh... technically it is possible but it would be an incompatible fork for the upstreams for both SeaBIOS and Qemu, because the generic way of plugging DIMMs in is available down to at

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-18 Thread Andrey Korolyov
Do You see similar results at Your side? Best regards Would you mind to share you argument set to an emulator? As far as I understood you are using plain ballooning with most results from above for which those numbers are expected. The case with 5+gig memory consumption for deflated 1G guest

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Andrey Korolyov
On Thu, Jun 18, 2015 at 12:21 AM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2015-06-17 19:26 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru: This is band news =( i have debian wheezy that have old kernel... Does it possible to get proper results with balloon ? For example by patching qemu or

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
2015-06-18 1:40 GMT+03:00 Andrey Korolyov and...@xdel.ru: Yes, but I`m afraid that I don`t fully understand why do you need this when pure hotplug mechanism is available, aside may be nice memory stats from balloon and easy-to-use deflation. Just populate a couple of static dimms with small

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Andrey Korolyov
On Thu, Jun 18, 2015 at 1:44 AM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2015-06-18 1:40 GMT+03:00 Andrey Korolyov and...@xdel.ru: Yes, but I`m afraid that I don`t fully understand why do you need this when pure hotplug mechanism is available, aside may be nice memory stats from balloon

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
2015-06-18 1:52 GMT+03:00 Andrey Korolyov and...@xdel.ru: Whoosh... technically it is possible but it would be an incompatible fork for the upstreams for both SeaBIOS and Qemu, because the generic way of plugging DIMMs in is available down to at least generic 2.6.32. Except may be Centos where

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
2015-06-17 19:26 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru: This is band news =( i have debian wheezy that have old kernel... Does it possible to get proper results with balloon ? For example by patching qemu or something like this? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru --

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Andrey Korolyov
On Wed, Jun 17, 2015 at 4:35 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: Hi. I have issue with incorrect memory side inside vm. I'm try utilize memory balloon (not memory hotplug, because i have guest without memory hotplug (may be)). When domain started with static memory all works fine,

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
2015-06-17 17:09 GMT+03:00 Andrey Korolyov and...@xdel.ru: The rest of visible memory is eaten by reserved kernel areas, for us this was a main reason to switch to a hotplug a couple of years ago. You would not be able to scale a VM by an order of magnitude with regular balloon mechanism

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
2015-06-17 18:38 GMT+03:00 Andrey Korolyov and...@xdel.ru: Currently QEMU memory hotplug should work with 3.8 and onwards. Mentioned patches are an adaptation for an older frankenkernel of 3.8` functionality. This is band news =( i have debian wheezy that have old kernel... -- Vasiliy

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Andrey Korolyov
On Wed, Jun 17, 2015 at 6:33 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2015-06-17 17:09 GMT+03:00 Andrey Korolyov and...@xdel.ru: The rest of visible memory is eaten by reserved kernel areas, for us this was a main reason to switch to a hotplug a couple of years ago. You would not be able