Displaying 5 results from an estimated 5 matches for "elementsmemoryback".
2016 Jan 26
2
Re: starting a domain only when you have enough resources
...locked memoryBacking [2]. I advocate
> for the latter though. Not only it will allocate all the memory at qemu
> startup it will also lock it so it won't get swapped off.
>
> Michal
>
> 1: http://libvirt.org/drvqemu.html#qemucommand
> 2: http://libvirt.org/formatdomain.html#elementsMemoryBacking
>
I tried memoryBacking: I added this to the domain xml:
<memoryBacking>
<locked/>
</memoryBacking>
And got an error when attempting to start the vm: memory locking no
supported by QEMU binary.
Aside from that I don't really understand how this helps solve my issue...
2016 Jan 26
2
starting a domain only when you have enough resources
Hi all,
I am running KVM on a 3.18 kernel. The system runs and Atom processor with
2Gb RAM.
Using KVM you obviously can over allocate your resources: say you have 4
guests each configured with 1GB ram. Running all four at the same time,
depending on the workload, can crash the system - I get a kernel trace when
this happens.
But let's consider a simpler case: one guest with 1.5 Gb RAM,
2016 Jan 26
2
Re: starting a domain only when you have enough resources
...er though. Not only it will allocate all the memory at qemu
> >> startup it will also lock it so it won't get swapped off.
> >>
> >> Michal
> >>
> >> 1: http://libvirt.org/drvqemu.html#qemucommand
> >> 2: http://libvirt.org/formatdomain.html#elementsMemoryBacking
> >>
> >
> > I tried memoryBacking: I added this to the domain xml:
> > <memoryBacking>
> > <locked/>
> > </memoryBacking>
> >
> > And got an error when attempting to start the vm: memory locking no
> > supported by QEM...
2016 Jan 26
0
Re: starting a domain only when you have enough resources
...onto qemu commandline [1] or use locked memoryBacking [2]. I advocate
for the latter though. Not only it will allocate all the memory at qemu
startup it will also lock it so it won't get swapped off.
Michal
1: http://libvirt.org/drvqemu.html#qemucommand
2: http://libvirt.org/formatdomain.html#elementsMemoryBacking
2016 Jan 26
0
Re: starting a domain only when you have enough resources
...advocate
>> for the latter though. Not only it will allocate all the memory at qemu
>> startup it will also lock it so it won't get swapped off.
>>
>> Michal
>>
>> 1: http://libvirt.org/drvqemu.html#qemucommand
>> 2: http://libvirt.org/formatdomain.html#elementsMemoryBacking
>>
>
> I tried memoryBacking: I added this to the domain xml:
> <memoryBacking>
> <locked/>
> </memoryBacking>
>
> And got an error when attempting to start the vm: memory locking no
> supported by QEMU binary.
>
> Aside from that I don&...