search for: memtun

Displaying 20 results from an estimated 34 matches for "memtun".

Did you mean: memtune
2014 Jan 30
2
Re: Dynamically setting permanent memory libvirt-lxc
Eric, thank you for your response. Virsh memtune, setmaxmem and setmem won't survive a reboot. I'm hoping to find  a solution that can survive reboot.   On Thursday, January 30, 2014 11:36 AM, Eric Blake <eblake@redhat.com> wrote: On 01/30/2014 10:11 AM, mallu mallu wrote: > I'm trying to permanently change memory a...
2011 Apr 24
0
vvirsh memtune
Hi Does anybody use the 'virsh memtune' command and can he say what combination of libvirt version and libcgroup does he use thanks Zvi Dubitzky Email:dubi at il.ibm.com
2013 Jul 31
2
start lxc container on fedora 19
...nstall openssh test1.xml file for container test1 <domain type="lxc"> <name>test1</name> <vcpu placement="static">1</vcpu> <cputune> <shares>1024</shares> <period>1000000</period> </cputune> <memtune> <hard_limit unit="M">1024</hard_limit> <soft_limit unit="M">128</soft_limit> <min_guarantee unit="M">64</min_guarantee> </memtune> <blkiotune> <weight>800</weight> </blkiotune>...
2014 Sep 15
0
Re: cgroups inside LXC containers losts memory limits after some time
...ok like this: <domain type='lxc' id='3566'> <name>puppet</name> <uuid>6d49b280-5686-4e3c-b048-1b5d362fb137</uuid> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <memtune> <hard_limit unit='KiB'>8388608</hard_limit> <soft_limit unit='KiB'>8388608</soft_limit> <swap_hard_limit unit='KiB'>9437184</swap_hard_limit> </memtune> <vcpu placement='static'>2</vcpu> &lt...
2014 Jan 30
2
Dynamically setting permanent memory libvirt-lxc
I'm trying to permanently change memory allocation for a libvirt-lxc domain. So far I tried changing memory in memory.limit_in_bytes under /cgroup/memory/libvirt/lxc/<container>/.  This didn't help. It appears that libvirt is not reading changes in cgroup. My requirements are 1) Be able to dynamically change memory of a LXC domain without reboot 2) The memory change must survive
2014 Jan 31
1
Re: Dynamically setting permanent memory libvirt-lxc
[please don't top-post on technical lists; also, it would be nice if you could convince your mailer to wrap long lines) > Eric, thank you for your response. Virsh memtune, setmaxmem and setmem won't survive a reboot. Ah, but they DO survive reboots, if you use the right options.  'virsh memtune --live --config' affects both the running guest and the next boot. ------- Appologize for top-posting. I'm getting error when specifying --live or --config...
2015 Apr 08
4
Centos 7.1.1503 + libvirt 1.2.14 = broken direct network mode
...d 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> <memtune> <hard_limit unit='KiB'>1048576</hard_limit> <soft_limit unit='KiB'>1048576</soft_limit> <swap_hard_limit unit='KiB'>2097152</swap_hard_limit> </memtune> <vcpu placement='static'>2</vcpu> &lt...
2014 Sep 15
2
cgroups inside LXC containers losts memory limits after some time
Hi all I have CentOS Linux release 7.0.1406, libvirt 1.2.7 installed. Just after create and start inside LXC container present cgroups. Example for memory: [root@ce7-t1 /]# ls -la /sys/fs/cgroup/memory/ total 0 drwxr-xr-x 2 root root 0 Sep 15 17:14 . drwxr-xr-x 12 root root 280 Sep 15 17:14 .. -rw-r--r-- 1 root root 0 Sep 15 17:14 cgroup.clone_children --w--w--w- 1 root root 0 Sep 15
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, Dennis
2015 Apr 09
0
Re: Centos 7.1.1503 + libvirt 1.2.14 = broken direct network mode
...t1 > <domain type='lxc'> > <name>test1</name> > <uuid>518539ab-7491-45ab-bb1d-3d7f11bfb0b1</uuid> > <memory unit='KiB'>1048576</memory> > <currentMemory unit='KiB'>1048576</currentMemory> > <memtune> > <hard_limit unit='KiB'>1048576</hard_limit> > <soft_limit unit='KiB'>1048576</soft_limit> > <swap_hard_limit unit='KiB'>2097152</swap_hard_limit> > </memtune> > <vcpu placement='static'...
2019 Apr 03
1
SEV machines and memory pinning
...sion of the spec [0] [0] https://review.openstack.org/#/c/641994/ As far as i understand, the memory for SEV machines need to be pinned so that it doesn't migrate to swap and page migration. ROMS, UEFI pflash and video RAM should be pinned too. Initially we planned to use hard_limit of <memtune> element to pin the memory. However, from the discussion in the spec it seems that there is no way to determine a good enough value and that hard_limit should not be used at all. What should be used then? There is a suggestion to use something like this: <memoryBacking> <...
2012 Oct 14
0
LXC guest memory recycling under RHEL6
...ble to explain. I've the following memory settings for this guest's memory. Inside the guest I'm running a Apache webserver serving PHP scripts and static content. <memory unit='GB'>2</memory> <currentMemory unit='GB'>2</currentMemory> <memtune> <hard_limit unit='GB'>2</hard_limit> </memtune> Now, when querying using virsh dominfo I see the amount of used RAM increases every second and it gets to the point where it reaches the limit causing the guest to be unresponsive. The current solution is destroyi...
2012 Oct 18
0
0.10.x incorrectly reporting currentMemory size
Hi, <memory unit='KiB'>16777216</memory> <currentMemory unit='KiB'>1394380</currentMemory> <memtune> <hard_limit unit='KiB'>1594380</hard_limit> <soft_limit unit='KiB'>1494380</soft_limit> </memtune> results to: 0.10.x, .dominfo. or dumpxml | grep -i currentmemory Max memory: 16777216 KiB Used memory: 13977292 KiB 0.9.11-13: M...
2013 Feb 13
1
Changing QoS on-the-fly
Hi all, it's possible to change/add the QoS settings for a running domain? I edited the domain definition with virsh but it seems to have no effect until I shut down the domain. libvirt version 0.9.13 kvm-qemu version 1.2.0 Best, Davide. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5930 bytes Desc:
2013 Jul 31
0
Re: start lxc container on fedora 19
...iner test1 > <domain type="lxc"> > <name>test1</name> > <vcpu placement="static">1</vcpu> > <cputune> > <shares>1024</shares> > <period>1000000</period> > </cputune> > <memtune> > <hard_limit unit="M">1024</hard_limit> > <soft_limit unit="M">128</soft_limit> > <min_guarantee unit="M">64</min_guarantee> > </memtune> > <blkiotune> > <weight>800</w...
2014 Jan 30
0
Re: Dynamically setting permanent memory libvirt-lxc
On 01/30/2014 01:26 PM, mallu mallu wrote: [please don't top-post on technical lists; also, it would be nice if you could convince your mailer to wrap long lines) > Eric, thank you for your response. Virsh memtune, setmaxmem and setmem won't survive a reboot. Ah, but they DO survive reboots, if you use the right options. 'virsh memtune --live --config' affects both the running guest and the next boot. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://...
2016 Mar 18
3
Incorrect memory usage returned from virsh
When I run `virsh dominfo <domain>` I get the following: Id: 455 Name: instance-000047e0 UUID: 50722aa0-d5c6-4a68-b4ef-9b27beba48aa OS Type: hvm State: running CPU(s): 4 CPU time: 123160.4s Max memory: 33554432 KiB Used memory: 33554432 KiB Persistent: yes Autostart: disable Managed save: no Security model:
2018 Aug 01
3
LXC Memory Limits wont work
Hello, iam currently trying to run LXC Containers with libvirt but the memory limit doesn't want to work in the container i see the full 32GB from the Host OS iam pretty sure that iam missing a configline in the xml lxc-template ~ # free -m total used free shared buff/cache available Mem: 32108 626 31396 249 85
2014 Sep 16
2
1.2.7 and 1.2.8 fail to start container: libvirt_lxc[4904]: segfault at 0 ip ...error 4 in libc-2.17.so[
...LXC config: <domain type='lxc' id='5933'> <name>ce7-t1</name> <uuid>f80ad54d-6560-4bd0-aa6d-df3e29888914</uuid> <memory unit='KiB'>2097152</memory> <currentMemory unit='KiB'>2097152</currentMemory> <memtune> <hard_limit unit='KiB'>2097152</hard_limit> <soft_limit unit='KiB'>2097152</soft_limit> <swap_hard_limit unit='KiB'>3145728</swap_hard_limit> </memtune> <vcpu placement='static'>2</vcpu> &lt...
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 locked element kind of pointless. >> How can I prevent the guests memory from being swapped out without >> shooting myself in the foot? > > There is no simple answer fo...