search for: nodemask

Displaying 20 results from an estimated 104 matches for "nodemask".

2013 Sep 17
1
[PATCH] xen: numa-sched: leave node-affinity alone if not in "auto" mode
...git a/xen/common/domain.c b/xen/common/domain.c index 5999779..af31ab4 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -352,7 +352,6 @@ void domain_update_node_affinity(struct domain *d) cpumask_var_t cpumask; cpumask_var_t online_affinity; const cpumask_t *online; - nodemask_t nodemask = NODE_MASK_NONE; struct vcpu *v; unsigned int node; @@ -374,28 +373,19 @@ void domain_update_node_affinity(struct domain *d) cpumask_or(cpumask, cpumask, online_affinity); } + /* + * If d->auto_node_affinity is true, the domain''s node-affin...
2013 Oct 16
4
[PATCH 1/7] xen: vNUMA support for PV guests
...ma_memblks; +}; + +void domain_vnuma_destroy(struct domain_vnuma_info *v); + #endif /* __XEN_DOMAIN_H__ */ diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h index 25bf637..6693b35 100644 --- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -408,6 +408,7 @@ struct domain nodemask_t node_affinity; unsigned int last_alloc_node; spinlock_t node_affinity_lock; + struct domain_vnuma_info vnuma; }; struct domain_setup_info diff --git a/xen/include/xen/vnuma.h b/xen/include/xen/vnuma.h new file mode 100644 index 0000000..2637476 --- /dev/null +++ b/xen/include/xen...
2020 Jan 22
3
virsh vol-download uses a lot of memory
...[ 13421] 1000 13421 5063 458 73728 132 0 BackupWindows10 Jan 21 23:40:00 GS-CEL-L kernel: [55535.913530] [ 13428] 1000 13428 712847 124686 5586944 523997 0 virsh Jan 21 23:40:00 GS-CEL-L kernel: [55535.913532] oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=/,mems_allowed=0,oom_memcg=/system.slice/VmBackup.service,task_memcg=/system.slice/VmBackup.service,task=virsh,pid=13428,uid=1000 Jan 21 23:40:00 GS-CEL-L kernel: [55535.913538] Memory cgroup out of memory: Killed process 13428 (virsh) total-vm:2851388kB, anon-rss:486180kB, file-rss:...
2018 Mar 26
4
[PATCH v29 1/4] mm: support reporting free page blocks
...t are written after the report function > returns will be captured by the hypervisor, and they will be added to the > next round of memory transfer. > > ... > > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -4912,6 +4912,102 @@ void show_free_areas(unsigned int filter, nodemask_t *nodemask) > show_swap_cache_info(); > } > > +/* > + * Walk through a free page list and report the found pfn range via the > + * callback. > + * > + * Return 0 if it completes the reporting. Otherwise, return the non-zero > + * value returned from the callback. &g...
2018 Mar 26
4
[PATCH v29 1/4] mm: support reporting free page blocks
...t are written after the report function > returns will be captured by the hypervisor, and they will be added to the > next round of memory transfer. > > ... > > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -4912,6 +4912,102 @@ void show_free_areas(unsigned int filter, nodemask_t *nodemask) > show_swap_cache_info(); > } > > +/* > + * Walk through a free page list and report the found pfn range via the > + * callback. > + * > + * Return 0 if it completes the reporting. Otherwise, return the non-zero > + * value returned from the callback. &g...
2020 Jan 22
4
Re: virsh vol-download uses a lot of memory
...458    73728      132             0 BackupWindows10 >> Jan 21 23:40:00 GS-CEL-L kernel: [55535.913530] [  13428]  1000 13428 >> 712847   124686  5586944   523997             0 virsh >> Jan 21 23:40:00 GS-CEL-L kernel: [55535.913532] >> oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=/,mems_allowed=0,oom_memcg=/system.slice/VmBackup.service,task_memcg=/system.slice/VmBackup.service,task=virsh,pid=13428,uid=1000 >> >> Jan 21 23:40:00 GS-CEL-L kernel: [55535.913538] Memory cgroup out of >> memory: Killed process 13428 (virsh) total-vm:2851388kB,...
2023 Jul 27
1
High memory consumption for small AXFR
...one test committed "received update to serial 1690380827 at 2023-07-26T23:31:48 from xxx TSIG verified with key yyy" 23:32:32 kernel: nsd: server 1 invoked oom-killer: gfp_mask=0x1100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0 23:32:33 kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/system.slice/system-nsd.slice/nsd at trial.service,task=nsd: server 1,pid=709906,uid=111 23:32:33 kernel: Out of memory: Killed process 709906 (nsd: server 1) total-vm:14673408kB, anon-rss:13054016kB, file-rss:0kB, shmem-rss:384kB, UID:111 pgta...
2015 Feb 10
2
Re: HugePages - can't start guest that requires them
...>cpu && def->cpu->ncells) { > + /* Fortunately, we allow only guest NUMA nodes to be continuous > + * starting from zero. */ > + pos = def->cpu->ncells - 1; > + } > + > + next_bit = virBitmapNextSetBit(page->nodemask, pos); > + if (next_bit >= 0) { > + virReportError(VIR_ERR_XML_DETAIL, > + _("hugepages: node %zd not found"), > + next_bit); > + return -1; > + } > > Without digging too de...
2018 Jan 25
4
[PATCH v24 1/2] mm: support reporting free page blocks
...PAGE_MASK) > * into the buddy system. The freed pages will be poisoned with pattern > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index 76c9688..705de22 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -4899,6 +4899,97 @@ void show_free_areas(unsigned int filter, nodemask_t *nodemask) > show_swap_cache_info(); > } > > +/* > + * Walk through a free page list and report the found pfn range via the > + * callback. > + * > + * Return false if the callback requests to stop reporting. Otherwise, > + * return true. > + */ > +static boo...
2018 Jan 25
4
[PATCH v24 1/2] mm: support reporting free page blocks
...PAGE_MASK) > * into the buddy system. The freed pages will be poisoned with pattern > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index 76c9688..705de22 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -4899,6 +4899,97 @@ void show_free_areas(unsigned int filter, nodemask_t *nodemask) > show_swap_cache_info(); > } > > +/* > + * Walk through a free page list and report the found pfn range via the > + * callback. > + * > + * Return false if the callback requests to stop reporting. Otherwise, > + * return true. > + */ > +static boo...
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.
2017 Jul 14
4
[PATCH v12 6/8] mm: support reporting free page blocks
...AGE_MASK) > * into the buddy system. The freed pages will be poisoned with pattern > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index 64b7d82..8b3c9dd 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -4753,6 +4753,102 @@ void show_free_areas(unsigned int filter, nodemask_t *nodemask) > show_swap_cache_info(); > } > > +#if IS_ENABLED(CONFIG_VIRTIO_BALLOON) > + > +/* > + * Heuristically get a page block in the system that is unused. > + * It is possible that pages from the page block are used immediately after > + * report_unused_page_...
2017 Jul 14
4
[PATCH v12 6/8] mm: support reporting free page blocks
...AGE_MASK) > * into the buddy system. The freed pages will be poisoned with pattern > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index 64b7d82..8b3c9dd 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -4753,6 +4753,102 @@ void show_free_areas(unsigned int filter, nodemask_t *nodemask) > show_swap_cache_info(); > } > > +#if IS_ENABLED(CONFIG_VIRTIO_BALLOON) > + > +/* > + * Heuristically get a page block in the system that is unused. > + * It is possible that pages from the page block are used immediately after > + * report_unused_page_...
2017 Oct 18
2
[PATCH] virtio: avoid possible OOM lockup at virtballoon_oom_notify()
...ate until allocation fails is already too painful. Complete log is at http://I-love.SAKURA.ne.jp/tmp/20171018-deflate.log.xz . ---------------------------------------- [ 19.529096] kworker/0:2: page allocation failure: order:0, mode:0x14310ca(GFP_HIGHUSER_MOVABLE|__GFP_NORETRY|__GFP_NOMEMALLOC), nodemask=(null) [ 19.530721] kworker/0:2 cpuset=/ mems_allowed=0 [ 19.531581] CPU: 0 PID: 111 Comm: kworker/0:2 Not tainted 4.14.0-rc5+ #302 [ 19.532397] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011 [ 19.533285] Workqueue: events_freezable update_balloon_size_func [virtio_balloon] [ 19.534143...
2017 Oct 18
2
[PATCH] virtio: avoid possible OOM lockup at virtballoon_oom_notify()
...ate until allocation fails is already too painful. Complete log is at http://I-love.SAKURA.ne.jp/tmp/20171018-deflate.log.xz . ---------------------------------------- [ 19.529096] kworker/0:2: page allocation failure: order:0, mode:0x14310ca(GFP_HIGHUSER_MOVABLE|__GFP_NORETRY|__GFP_NOMEMALLOC), nodemask=(null) [ 19.530721] kworker/0:2 cpuset=/ mems_allowed=0 [ 19.531581] CPU: 0 PID: 111 Comm: kworker/0:2 Not tainted 4.14.0-rc5+ #302 [ 19.532397] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011 [ 19.533285] Workqueue: events_freezable update_balloon_size_func [virtio_balloon] [ 19.534143...
2017 Jul 13
1
[PATCH v12 6/8] mm: support reporting free page blocks
...AGE_MASK) > * into the buddy system. The freed pages will be poisoned with pattern > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index 64b7d82..8b3c9dd 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -4753,6 +4753,102 @@ void show_free_areas(unsigned int filter, nodemask_t *nodemask) > show_swap_cache_info(); > } > > +#if IS_ENABLED(CONFIG_VIRTIO_BALLOON) > + > +/* > + * Heuristically get a page block in the system that is unused. > + * It is possible that pages from the page block are used immediately after > + * report_unused_page_...
2017 Jul 13
1
[PATCH v12 6/8] mm: support reporting free page blocks
...AGE_MASK) > * into the buddy system. The freed pages will be poisoned with pattern > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index 64b7d82..8b3c9dd 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -4753,6 +4753,102 @@ void show_free_areas(unsigned int filter, nodemask_t *nodemask) > show_swap_cache_info(); > } > > +#if IS_ENABLED(CONFIG_VIRTIO_BALLOON) > + > +/* > + * Heuristically get a page block in the system that is unused. > + * It is possible that pages from the page block are used immediately after > + * report_unused_page_...
2019 Jan 28
5
Samba 4.9.4 - high RAM usage - OOM killer
...roups Our mail setup, SSO, ... query the 4 DCs constantly. Every 5 to 10 days the RAM consumption and CPU usage (due to kswapd) are peaking. This leads to OOM killer killing samba processes kernel: [765104.826327] samba invoked oom-killer: gfp_mask=0x24201ca(GFP_HIGHUSER_MOVABLE|__GFP_COLD), nodemask=0, order=0, oom_score_adj=0 kernel: [765104.826355]  [<ffffffff8c3871ba>] ? oom_kill_process+0x21a/0x3e0 kernel: [765104.826357]  [<ffffffff8c386e3d>] ? oom_badness+0xed/0x170 kernel: [765104.826455] [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name .....
2009 Aug 24
0
[PATCH] Fix SRAT check for discontig memory
...ned-off-by: Alex Williamson <alex.williamson@hp.com> -- I also propose this for the stable branches. diff -r c5125c0ea051 xen/arch/x86/srat.c --- a/xen/arch/x86/srat.c Mon Aug 24 08:27:30 2009 +0100 +++ b/xen/arch/x86/srat.c Mon Aug 24 15:19:34 2009 -0600 @@ -17,6 +17,7 @@ #include <xen/nodemask.h> #include <xen/acpi.h> #include <xen/numa.h> +#include <asm/e820.h> #include <asm/page.h> static struct acpi_table_slit *acpi_slit; @@ -236,23 +237,31 @@ static int nodes_cover_memory(void) { int i; - u64 pxmram, e820ram; - pxmram = 0; - for_each_node_mask(i...
2020 Jan 22
0
Re: virsh vol-download uses a lot of memory
...     5063      458    73728      132             0 BackupWindows10 > Jan 21 23:40:00 GS-CEL-L kernel: [55535.913530] [  13428]  1000 13428 > 712847   124686  5586944   523997             0 virsh > Jan 21 23:40:00 GS-CEL-L kernel: [55535.913532] > oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=/,mems_allowed=0,oom_memcg=/system.slice/VmBackup.service,task_memcg=/system.slice/VmBackup.service,task=virsh,pid=13428,uid=1000 > > Jan 21 23:40:00 GS-CEL-L kernel: [55535.913538] Memory cgroup out of > memory: Killed process 13428 (virsh) total-vm:2851388kB, > anon-...