Displaying 20 results from an estimated 1100 matches similar to: "SEV machines and memory pinning"
2015 Feb 10
2
Re: HugePages - can't start guest that requires them
On 09.02.2015 18:19, G. Richard Bellamy wrote:
> First I'll quickly summarize my understanding of how to configure numa...
>
> In "//memoryBacking/hugepages/page[@nodeset]" I am telling libvirt to
> use hugepages for the guest, and to get those hugepages from a
> particular host NUMA node.
No, @nodeset refers to guest NUMA nodes.
>
> In
2016 Nov 18
2
locking domain memory
Hi,
is there a way to lock a guests memory so it doesn't get swapped out? I
now there is memoryBacking->locked but that says it requires
memtune->hard_limit and the description of that basically "don't ever do
this" rendering the locked element kind of pointless.
How can I prevent the guests memory from being swapped out without
shooting myself in the foot?
Regards,
2015 Feb 04
2
Re: HugePages - can't start guest that requires them
*facepalm*
Now that I'm re-reading the documentation it's obvious that <page/>
and @nodeset are for the guest, "This tells the hypervisor that the
guest should have its memory allocated using hugepages instead of the
normal native page size." Pretty clear there.
Thank you SO much for the guidance, I'll return to my tweaking. I'll
report back here with my results.
2014 Oct 08
2
is memoryBacking support 'share' and 'mem-path' parameter
Hi,
I want to use this qemu command '-object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on' with libvirt but i can't find the 'mem-path' and 'share' in the documentation.
because the vhost-user backend based on 'share=on' parameter and libvirt support vhostuser i guess there maybe another way to support this parameter?
this is my xml:
2015 Feb 04
2
Re: HugePages - can't start guest that requires them
As I mentioned, I got the instances to launch... but they're only
taking HugePages from "Node 0", when I believe my setup should pull
from both nodes.
[atlas] http://sprunge.us/FSEf
[prometheus] http://sprunge.us/PJcR
2015-02-03 16:51:48
root@eanna i ~ # virsh start atlas
Domain atlas started
2015-02-03 16:51:58
root@eanna i ~ # virsh start prometheus
Domain prometheus started
2016 Nov 22
1
Re: locking domain memory
On 21.11.2016 17:05, Michal Privoznik wrote:
> On 18.11.2016 23:17, Dennis Jacobfeuerborn wrote:
>> Hi,
>> is there a way to lock a guests memory so it doesn't get swapped out? I
>> now there is memoryBacking->locked but that says it requires
>> memtune->hard_limit and the description of that basically "don't ever do
>> this" rendering the
2014 Oct 09
1
Re: is memoryBacking support 'share' and 'mem-path' parameter
On 2014/10/8 16:57, Martin Kletzander wrote:
> On Wed, Oct 08, 2014 at 10:03:47AM +0800, Linhaifeng wrote:
>> Hi,
>>
>> I want to use this qemu command '-object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on' with libvirt but i can't find the 'mem-path' and 'share' in the documentation.
>> because the vhost-user backend
2015 Feb 20
0
Re: HugePages - can't start guest that requires them
On Tue, Feb 10, 2015 at 1:14 AM, Michal Privoznik <mprivozn@redhat.com> wrote:
> On 09.02.2015 18:19, G. Richard Bellamy wrote:
>> First I'll quickly summarize my understanding of how to configure numa...
>>
>> In "//memoryBacking/hugepages/page[@nodeset]" I am telling libvirt to
>> use hugepages for the guest, and to get those hugepages from a
2015 Feb 23
1
Re: HugePages - can't start guest that requires them
On 20.02.2015 21:32, G. Richard Bellamy wrote:
> <snip/>
>
> I've modified my config [1] based on my understanding, and am running
> into a new error. Basically I'm hitting the oom-killer [2] even though
> the hard_limit [3] of memtune is below the total number of hugepages
> set for that NUMA nodeset.
>
Just drop the hard_limit. It's a blackbox we should
2014 Sep 28
2
Re: what is the xml fomat about memory-backend-file
On 2014/9/25 2:05, Eric Blake wrote:
> On 09/24/2014 02:05 AM, Linhaifeng wrote:
>> Hi,
>>
>> I want to use virsh to create a VM with the qemu parameter '-object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem'.
>
> Looking at tests/qemuxml2argvdata/qemuxml2argv-hugepages-pages.args, I
> see several instances of
2015 Feb 09
0
Re: HugePages - can't start guest that requires them
First I'll quickly summarize my understanding of how to configure numa...
In "//memoryBacking/hugepages/page[@nodeset]" I am telling libvirt to
use hugepages for the guest, and to get those hugepages from a
particular host NUMA node.
In "//numatune/memory[@nodeset]" I am telling libvirt to pin the
memory allocation to the guest from a particular host numa node.
In
2015 Feb 04
0
Re: HugePages - can't start guest that requires them
On 04.02.2015 01:59, G. Richard Bellamy wrote:
> As I mentioned, I got the instances to launch... but they're only
> taking HugePages from "Node 0", when I believe my setup should pull
> from both nodes.
>
> [atlas] http://sprunge.us/FSEf
> [prometheus] http://sprunge.us/PJcR
[pasting interesting nits from both XMLs]
<domain type='kvm'
2013 Jul 31
2
start lxc container on fedora 19
hello,
i am new to lxc, i have created a lxc container on fedora 19
i created a container rootfs of fedora 19 by using
yum --installroot=/containers/test1 --releasever=19 install openssh
test1.xml file for container test1
<domain type="lxc">
<name>test1</name>
<vcpu placement="static">1</vcpu>
<cputune>
2015 Apr 08
4
Centos 7.1.1503 + libvirt 1.2.14 = broken direct network mode
Hi all.
I use LXC on Centos 7 x86-64, with libvirt version 1.2.6 and 1.2.12
My container has bridged network:
# virsh dumpxml test1
<domain type='lxc'>
<name>test1</name>
<uuid>518539ab-7491-45ab-bb1d-3d7f11bfb0b1</uuid>
<memory unit='KiB'>1048576</memory>
<currentMemory unit='KiB'>1048576</currentMemory>
2016 Nov 21
0
Re: locking domain memory
On 18.11.2016 23:17, Dennis Jacobfeuerborn wrote:
> Hi,
> is there a way to lock a guests memory so it doesn't get swapped out? I
> now there is memoryBacking->locked but that says it requires
> memtune->hard_limit and the description of that basically "don't ever do
> this" rendering the locked element kind of pointless.
> How can I prevent the guests
2014 Oct 08
0
Re: is memoryBacking support 'share' and 'mem-path' parameter
On Wed, Oct 08, 2014 at 10:03:47AM +0800, Linhaifeng wrote:
>Hi,
>
>I want to use this qemu command '-object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on' with libvirt but i can't find the 'mem-path' and 'share' in the documentation.
>because the vhost-user backend based on 'share=on' parameter and libvirt support vhostuser i
2015 Jan 30
4
HugePages - can't start guest that requires them
Hello All,
I'm trying to enable hugepages, I've turned off THP (Transparent Huge
Pages), and enabled hugepages in memoryBacking, and set my 2MB
hugepages count via sysctl.
I'm getting "libvirtd[5788]: Failed to autostart VM 'atlas': internal
error: Unable to find any usable hugetlbfs mount for 16777216 KiB"
where atlas is one of my guests and 16777216 KiB is the
2017 Apr 26
3
Tunnelled migrate Windows7 VMs halted
[moderator note: I'm forwarding a stripped down version of the original
mail which was rejected in the moderator queue. I stripped the 3.3
megabyte .tar.bz2 of the log file attachment, which is inappropriate for
a technical list. Either trim the log to the relevant portion, or host
the log externally and have your list email merely give a URL of the
externally-hosted file]
>
2014 Sep 24
2
what is the xml fomat about memory-backend-file
Hi,
I want to use virsh to create a VM with the qemu parameter '-object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem'.
How to write the XML file?
2014 Sep 15
0
Re: cgroups inside LXC containers losts memory limits after some time
HI all
>After unpredictable time passed (1-5 day ?), cgroups inside LXC
>magicaly removed.
virsh dumpxml config look like this:
<domain type='lxc' id='3566'>
<name>puppet</name>
<uuid>6d49b280-5686-4e3c-b048-1b5d362fb137</uuid>
<memory unit='KiB'>8388608</memory>
<currentMemory