Re: KVM Host overprovisioning

2017-09-12 Thread Ivan Kudryavtsev
Hi, community. I implemented quick PR for KVM cloudstack-agent with use of additional directive host.overcommit.mem.mb at agent.properties https://github.com/apache/cloudstack/pull/2266 I tested it in my 4.9, works nic for me. Also, during the building I found interesting bug in Quota plugin, pr

Re: KVM Host overprovisioning

2017-09-12 Thread Wido den Hollander
> Op 12 september 2017 om 9:05 schreef Ivan Kudryavtsev > : > > > Yes, sure. > > What I want is an ability to increase host memory rather than decrease it. > > So the first suggestion is to add a parameter to increase amount of > megabytes or gigabytes, not necessary a multiplier. Manual addi

Re: KVM Host overprovisioning

2017-09-12 Thread Ivan Kudryavtsev
Yes, sure. What I want is an ability to increase host memory rather than decrease it. So the first suggestion is to add a parameter to increase amount of megabytes or gigabytes, not necessary a multiplier. Manual adding via agent.properties is a good way to implement it because different hosts ca

Re: KVM Host overprovisioning

2017-09-11 Thread Wido den Hollander
> Op 11 september 2017 om 13:04 schreef Ivan Kudryavtsev > : > > > Hi, Wido. > > Yes, you can. But it works not the way I expect because It cuts RAM from VM > by dividing it to overprovisioning factor like VM with 2GB of RAM with > Overprovisioning factor 2.0 will get 1GB displayed with "free"

Re: KVM Host overprovisioning

2017-09-11 Thread Ivan Kudryavtsev
Hi, Wido. Yes, you can. But it works not the way I expect because It cuts RAM from VM by dividing it to overprovisioning factor like VM with 2GB of RAM with Overprovisioning factor 2.0 will get 1GB displayed with "free" command. That's why I finished the message with words that it might be I just

Re: KVM Host overprovisioning

2017-09-11 Thread Wido den Hollander
Hi, > Op 10 september 2017 om 8:37 schreef Ivan Kudryavtsev > : > > > Hello, community. > > During the last years Linux kernel got some interesting features like KSM, > ZSWAP, ZRAM. Hardware also steps forward and we see Intel 3d xpoint, > extremely fast SSD drives with m.2 and PCI-E interface