search for: hard_limit

Displaying 18 results from an estimated 18 matches for "hard_limit".

Did you mean: cards_limit
2013 Jul 31
2
start lxc container on fedora 19
...1.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> <memory unit=&quot...
2019 Apr 03
1
SEV machines and memory pinning
...e up in the discussion 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...
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
2014 Sep 15
0
Re: cgroups inside LXC containers losts memory limits after some time
...main 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> <resource> <pa...
2015 Apr 08
4
Centos 7.1.1503 + libvirt 1.2.14 = broken direct network mode
...umpxml 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> <os> <type arc...
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 had never introduced. In Linux, from kernel's POV, there's no difference between guest RAM and hypervisor memory to store its internal state....
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 for this question....
2015 Apr 09
0
Re: Centos 7.1.1503 + libvirt 1.2.14 = broken direct network mode
...#39;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> > &l...
2012 Oct 14
0
LXC guest memory recycling under RHEL6
...39;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 destroying the guest process (vi...
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: Max memory: 16777216...
2013 Jul 31
0
Re: start lxc container on fedora 19
...n 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> > </blkiotu...
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
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
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[
...main 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> <resource> <pa...
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 memory from being swapped out without > shooting myself in the foot? There is no simple answer for this question. You have to know your...
2015 Feb 20
0
Re: HugePages - can't start guest that requires them
...'s the fact that a guest NUMA node can be referred to as either cell(id) or nodeset, depending on element context - that's what threw me. 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. [1] http://sprunge.us/BadI [2] http://sprunge.us/eELZ [3] http://sprunge.us/GYXM
2004 Sep 10
0
http streaming in the xmms plugin
...biscomment(metadata, flac_cfg.output.replaygain.album_mode, &gain, &peak)) { ! file_info_.has_replaygain = true; ! file_info_.replay_scale = grabbag__replaygain_compute_scale_factor(peak, gain, (double)flac_cfg.output.replaygain.preamp, /*prevent_clipping=*/!flac_cfg.output.replaygain.hard_limit); } } } ! void error_callback_(const FLAC__FileDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data) { file_info_struct *file_info = (file_info_struct *)client_data; (void)decoder; --- 772,815 ---- file_info->bits_per_sample = metadata->data.strea...