Displaying 9 results from an estimated 9 matches for "nr_hugepages".
2011 Jan 27
1
Bus error while allocating hugepages in domain 0
Hi,
My dom 0 is jeremy kernel 2.6.32.27 with 3.5 GB allocated memory. I tried
allocating 700 huge pages in domain 0 using-
]echo 700 > /proc/sys/vm/nr_hugepages
To verify -
]cat /proc/meminfo |grep Huge
HugePages_Total: 700
HugePages_Free: 0
HugePages_Rsvd: 18446744073709551019
HugePages_Surp: 0
Hugepagesize: 2048 kB
This memory information is not as per expectation.
Can anyone explain whether it has really allocated huge pages...
2011 Mar 20
6
PATCH: Hugepage support for Domains booting with 4KB pages
...ation we added a parameter hugepage_num which is specified
in the config file of the DomU. It is the number of hugepages that the
guest is guaranteed to receive whenever the kernel asks for hugepage by
using its boot time parameter or reserving after booting (eg. Using echo
XX > /proc/sys/vm/nr_hugepages). During creation of the domain we
reserve MFN''s for these hugepages and store them in the list. The
listhead of this list is inside the domain structure with name
"hugepage_list". When the domain is booting, at that time the memory
seen by the kernel is allocated memory les...
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
2014 Sep 28
0
Re: what is the xml fomat about memory-backend-file
...28T05:28:32.373895Z qemu-kvm: -object memory-backend-file,prealloc=yes,mem-path=/dev/hugepages/libvirt/qemu,size=1048576M,id=ram-node1: unable to map backing store for hugepages: Cannot allocate memory
get total number of the hugepages you could use:
# cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
From your xml:
<cell id='0' cpus='0' memory='1073741824' memAccess='shared'/>
<cell id='1' cpus='1' memory='1073741824' memAccess='shared'/>
I guess your machine doesn't have so much hugepage memory:
su...
2017 Jul 20
0
OVS+DPDK Problem
...K
- Permissions are set for DPDK
Regarding the OVS+DPDK startup steps, the following configuration is in
place:
B. OVS+DPDK startup and configuration
1. Set and verify the memory hugepages
mount -t hugetlbfs nodev /mnt/huge
echo 64 > /sys/devices/system/node/node0/hugepages/hugepages-
1048576kB/nr_hugepages
2. Setting the driver permissions
modprobe vfio-pci
/usr/bin/chmod a+x /dev/vfio
/usr/bin/chmod 0666 /dev/vfio/*
3. Configure the PATHS to DPDK and OVS database
cd dpdk-stable-16.11.1/
export DPDK_DIR=$PWD
export PATH=$PATH:/usr/local/share/openvswitch/scripts
export DB_SOCK=/usr/local/var/run/open...
2011 Oct 05
1
Performance tuning questions for mail server
...t.send_redirects = 0
net.ipv4.icmp_ignore_bogus_error_responses = 1
net.ipv4.conf.all.log_martians = 0
net.ipv4.conf.default.log_martians = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.default.accept_redirects = 0
vm.vfs_cache_pressure = 35
vm.nr_hugepages = 512
net.ipv4.tcp_max_syn_backlog = 2048
fs.aio-max-nr = 1048576
vm.dirty_background_ratio = 3
vm.dirty_ratio = 40
After making changes, do you have any recommendations on which tools
to use to monitor those changes and see how they perform?
I have noatime set in fstab in the guest for the /var...
2012 Oct 24
13
Puppet & Oracle Database config management
Afternoon all.
I''ve been reading around on Puppet and Oracle, and have come up with a few
links that suggest how to get Oracle installed and base configured, which
has got me started in the right direction on that.
My next challenge is maintaining Oracle database specific configuration on
the relevant hosts. This contains various elements, such as /etc/oratab,
/etc/oranfstab (as
2012 Jun 16
5
Not real confident in 3.3
I do not mean to be argumentative, but I have to admit a little
frustration with Gluster. I know an enormous emount of effort has gone
into this product, and I just can't believe that with all the effort
behind it and so many people using it, it could be so fragile.
So here goes. Perhaps someone here can point to the error of my ways. I
really want this to work because it would be ideal
2013 Dec 30
2
oom situation
...rty_writeback_centisecs = 500
vm.drop_caches = 0
vm.highmem_is_dirtyable = 0
vm.hugepages_treat_as_movable = 0
vm.hugetlb_shm_group = 0
vm.laptop_mode = 0
vm.legacy_va_layout = 0
vm.lowmem_reserve_ratio = 256 32 32
vm.max_map_count = 65530
vm.min_free_kbytes = 3084
vm.mmap_min_addr = 4096
vm.nr_hugepages = 0
vm.nr_overcommit_hugepages = 0
vm.nr_pdflush_threads = 0
vm.overcommit_memory = 0
vm.overcommit_ratio = 50
vm.page-cluster = 3
vm.percpu_pagelist_fraction = 0
vm.scan_unevictable_pages = 0
vm.stat_interval = 1
vm.swappiness = 30
vm.user_reserve_kbytes = 131072
vm.vdso_enabled = 1
vm.vfs_cache_p...