* Re: Allocating dedicated RAM to host that guest can not use
2014-11-27 11:42 Allocating dedicated RAM to host that guest can not use mad Engineer
@ 2014-11-27 11:29 ` Wanpeng Li
2014-11-27 12:09 ` mad Engineer
0 siblings, 1 reply; 5+ messages in thread
From: Wanpeng Li @ 2014-11-27 11:29 UTC (permalink / raw)
To: mad Engineer; +Cc: kvm, Paolo Bonzini, linux-kernel
On Thu, Nov 27, 2014 at 05:12:52PM +0530, mad Engineer wrote:
>Hi,
> Is there any way to set some RAM dedicated to host that guest can
>not access?
>Similar to setting RAM to Dom0 in Xen.
>
>I am over committing RAM for the instances but don't want host to swap.
>
>i understand that virtual machines are process,but can we achieve this
How about limit the memory of which guest can access through memory cgroup?
Regards,
Wanpeng Li
>
>Thanks
>--
>To unsubscribe from this list: send the line "unsubscribe kvm" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Allocating dedicated RAM to host that guest can not use
@ 2014-11-27 11:42 mad Engineer
2014-11-27 11:29 ` Wanpeng Li
0 siblings, 1 reply; 5+ messages in thread
From: mad Engineer @ 2014-11-27 11:42 UTC (permalink / raw)
To: kvm
Hi,
Is there any way to set some RAM dedicated to host that guest can
not access?
Similar to setting RAM to Dom0 in Xen.
I am over committing RAM for the instances but don't want host to swap.
i understand that virtual machines are process,but can we achieve this
Thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Allocating dedicated RAM to host that guest can not use
2014-11-27 11:29 ` Wanpeng Li
@ 2014-11-27 12:09 ` mad Engineer
2014-11-27 12:16 ` mad Engineer
0 siblings, 1 reply; 5+ messages in thread
From: mad Engineer @ 2014-11-27 12:09 UTC (permalink / raw)
To: Wanpeng Li; +Cc: kvm, Paolo Bonzini, linux-kernel
never tried that.
can we do that transparently ie with out setting cgroups for each
virtul machines?.
A global group such that all combined virtual machines RAM utilization
to be with in a specific value ?
On Thu, Nov 27, 2014 at 4:59 PM, Wanpeng Li <wanpeng.li@linux.intel.com> wrote:
> On Thu, Nov 27, 2014 at 05:12:52PM +0530, mad Engineer wrote:
>>Hi,
>> Is there any way to set some RAM dedicated to host that guest can
>>not access?
>>Similar to setting RAM to Dom0 in Xen.
>>
>>I am over committing RAM for the instances but don't want host to swap.
>>
>>i understand that virtual machines are process,but can we achieve this
>
> How about limit the memory of which guest can access through memory cgroup?
>
> Regards,
> Wanpeng Li
>
>>
>>Thanks
>>--
>>To unsubscribe from this list: send the line "unsubscribe kvm" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Allocating dedicated RAM to host that guest can not use
2014-11-27 12:09 ` mad Engineer
@ 2014-11-27 12:16 ` mad Engineer
2014-12-02 13:30 ` Paolo Bonzini
0 siblings, 1 reply; 5+ messages in thread
From: mad Engineer @ 2014-11-27 12:16 UTC (permalink / raw)
To: Wanpeng Li; +Cc: kvm, Paolo Bonzini, linux-kernel
a random thought can we set qemu user/group rss to a particular hard
limit in limits.conf
Can this work?
On Thu, Nov 27, 2014 at 5:39 PM, mad Engineer <themadengin33r@gmail.com> wrote:
> never tried that.
> can we do that transparently ie with out setting cgroups for each
> virtul machines?.
> A global group such that all combined virtual machines RAM utilization
> to be with in a specific value ?
>
> On Thu, Nov 27, 2014 at 4:59 PM, Wanpeng Li <wanpeng.li@linux.intel.com> wrote:
>> On Thu, Nov 27, 2014 at 05:12:52PM +0530, mad Engineer wrote:
>>>Hi,
>>> Is there any way to set some RAM dedicated to host that guest can
>>>not access?
>>>Similar to setting RAM to Dom0 in Xen.
>>>
>>>I am over committing RAM for the instances but don't want host to swap.
>>>
>>>i understand that virtual machines are process,but can we achieve this
>>
>> How about limit the memory of which guest can access through memory cgroup?
>>
>> Regards,
>> Wanpeng Li
>>
>>>
>>>Thanks
>>>--
>>>To unsubscribe from this list: send the line "unsubscribe kvm" in
>>>the body of a message to majordomo@vger.kernel.org
>>>More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Allocating dedicated RAM to host that guest can not use
2014-11-27 12:16 ` mad Engineer
@ 2014-12-02 13:30 ` Paolo Bonzini
0 siblings, 0 replies; 5+ messages in thread
From: Paolo Bonzini @ 2014-12-02 13:30 UTC (permalink / raw)
To: mad Engineer, Wanpeng Li; +Cc: kvm, linux-kernel
On 27/11/2014 13:16, mad Engineer wrote:
> a random thought can we set qemu user/group rss to a particular hard
> limit in limits.conf
Those apply per process, not per user/group.
Paolo
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-12-02 13:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-27 11:42 Allocating dedicated RAM to host that guest can not use mad Engineer
2014-11-27 11:29 ` Wanpeng Li
2014-11-27 12:09 ` mad Engineer
2014-11-27 12:16 ` mad Engineer
2014-12-02 13:30 ` Paolo Bonzini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.