Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xen and NUMA
Date: Thu, 05 Nov 2015 12:49:28
Message-Id: 28373926.lfkvo2DEmi@andromeda
In Reply to: Re: [gentoo-user] xen and NUMA by hw
1 On Thursday, November 05, 2015 01:34:02 PM hw wrote:
2 > J. Roeleveld wrote:
3 > > On 4 November 2015 13:14:18 CET, hw <hw@×××××.de> wrote:
4 > >> Hi,
5 > >>
6 > >> how do I know whether xen uses NUMA or not? It says in dmesg:
7 > >>
8 > >>
9 > >> [ 0.000000] NUMA turned off
10 > >> [ 0.000000] Faking a node at [mem
11 > >> 0x0000000000000000-0x0000000040068fff]
12 > >>
13 > >>
14 > >> and 'xl info -n' shows two nodes:
15 > >>
16 > >>
17 > >> node: memsize memfree distances
18 > >>
19 > >> 0: 14656 3304 10,20
20 > >> 1: 23424 7792 20,10
21 > >>
22 > >> which could be right --- though I would expect each node to have 12GB
23 > >> rather than these weird sizes.
24 > >>
25 > >> So is NUMA turned off or not? Is it even possible to turn it off when
26 > >> it's
27 > >> enabled in the BIOS?
28 > >
29 > > If BIOS has it enabled. Then the OS still beeds to support it.
30 > >
31 > > Recent Xen has support for it.
32 >
33 > Is there any way to find out if it's actually made use of?
34
35 Yes, you might want to read the Xen documentation:
36 http://wiki.xen.org/wiki/Xen_on_NUMA_Machines
37
38 > > As for the non uniform spread of the memory. It depends how the memory
39 > > modules are placed in the mainboard with regards to the Numa nodes. (CPU)
40 > The memory is evenly spread. The server has two CPUs with 6 memory banks
41 > each. All banks for each CPU are loaded identically. Hence two NUMA nodes
42 > would make sense, and each of them should see/have 12GB (now 14 each
43 > because I changed out the server because it kept crashing/freezing/becoming
44 > unreachable even after the software updates).
45
46 Is this according to the actual manual? Or based on what the mainboard looks
47 like?
48
49 --
50 Joost