• [gentoo-user] Do I need NUMA set up in my kernel?

    From Peter Humphrey@21:1/5 to All on Thu Sep 23 11:00:01 2021
    Hello list,

    I see "[ 0.003162] No NUMA configuration found" in dmesg. Does that mean I should, or can, remove the NUMA settings from the kernel? This is a Ryzen M9 5900X machine.

    I have this at the moment:

    $ grep NUMA /usr/src/linux/.config
    CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
    # CONFIG_NUMA_BALANCING is not set
    CONFIG_NUMA=y
    CONFIG_AMD_NUMA=y
    CONFIG_X86_64_ACPI_NUMA=y
    # CONFIG_NUMA_EMU is not set
    CONFIG_USE_PERCPU_NUMA_NODE_ID=y
    CONFIG_ACPI_NUMA=y
    CONFIG_NUMA_KEEP_MEMINFO=y

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlotte Delenk@21:1/5 to All on Thu Sep 23 11:40:02 2021
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------E3AGBJ00eLDypPpr0ueG6q17
    Content-Type: multipart/mixed; boundary="------------jDeIY00YpPoyERvmrJEkbY8d"

    --------------jDeIY00YpPoyERvmrJEkbY8d
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    SGkgUGV0ZXIsDQoNCk9uIDkvMjMvMjEgMTA6NTksIFBldGVyIEh1bXBocmV5IHdyb3RlOg0K PiBIZWxsbyBsaXN0LA0KPg0KPiBJIHNlZSAiWyAgICAwLjAwMzE2Ml0gTm8gTlVNQSBjb25m aWd1cmF0aW9uIGZvdW5kIiBpbiBkbWVzZy4gRG9lcyB0aGF0IG1lYW4gSQ0KPiBzaG91bGQs IG9yIGNhbiwgcmVtb3ZlIHRoZSBOVU1BIHNldHRpbmdzIGZyb20gdGhlIGtlcm5lbD8gVGhp cyBpcyBhIFJ5emVuIE05DQo+IDU5MDBYIG1hY2hpbmUuDQoNCkkgaGF2ZSBDT05GSUdfTlVN QSB1bnNldCBvbiBib3RoIG9mIG15IEFNRCBSeXplbiBtYWNoaW5lcyAoWmVuKyBhbmQgDQpa ZW4yKSB3aXRoIG5vIGlzc3Vlcw0KDQoNCg==
    --------------jDeIY00YpPoyERvmrJEkbY8d
    Content-Type: application/pgp-keys; name="OpenPGP_0x3CEF5DDA915AECB0.asc" Content-Disposition: attachment; filename="OpenPGP_0x3CEF5DDA915AECB0.asc" Content-Description: OpenPGP public key
    Content-Transfer-Encoding: quoted-printable

    -----BEGIN PGP PUBLIC KEY BLOCK-----

    xsFNBGE+CesBEADFhPrY5u3OYM/cYfJHXzdIkFLRaJq/pDda7wkBxSQcsa9E14wbR4CdBYc1OMjH 6mJbNhTRxgTcrcV3MamZ8+ZykW1/t7l9dqADBcAprTGDB4pzTk3ZBDMezFZCJfGcBqHhvEQIwde+ AHaTGnxO3jrbOBKxVEE++99/x5uCvnW9XXQAidJO44+wRWKamYa/F25zLsf4Yvx/8xJUcA+Bozbl HJcw3i1MSCFqc3UiIs2gnsCe8QvcneomGpNVkfsptBUb7dPaOGEH29ERdjLXqBPlnTRLOTYRtMBD Iya6Q+htpckJSsF5h7NqRXRP+ssVYG2CLOU30qvR7aQFkMFhL60lwYVJpJ5oXnwdlwEt3AROvVEE b66K2YrLS9WNRdWlQ4PuAppP8E/e3gZApVOwZAtFSZ1Yk4LaoUcuF23Z3haJOOCyioXCBoVeq4qp WVjz9f5nfw9GATO6IEZGOejJ77ayyMJOpQBfLRq1Adfjqs4MBdCeapwX5cBqJg+tF4ZHAZeeMZGe AvmExreW6qwRUC5crHqcRP6HECevpz+9z2A5dmw6ESsDv3DAh2HyNSCXbF5G7KbS7z5S+HzoKP+t LZ5P24Uj+lFYPSxUUEtJDZ3FjdYnzrSyy/UUUyxk89S37gyPoZlrka5l92apLphUXnm9FqGvobyf PMmmg2tU7sOloQARAQABzSdDaGFybG90dGUgRGVsZW5rIDxkYXJra2lyYkBkYXJra2lyYi5kZT7C wY4EEwEIADgWIQQgbaXh2gkEtu5JFro8713akVrssAU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iG4afEpqEI0XFhNL7fhO/yoCKk+uRuNQ7ESFoRGpD3sHtPGap CPIE6S2zeGm1BVLORLhqFZgL
    =um7l
    -----END PGP PUBLIC KEY BLOCK-----
    --------------jDeIY00YpPoyERvmrJEkbY8d--


    --------------E3AGBJ00eLDypPpr0ueG6q17--

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQQ/r15dU0pQ4MOKyjMBXjdopwr7xQUCYUxLGAUDAAAAAAAKCRABXjdopwr7xfOj AP4tpDi4bScuE3+XSKbrLjGkNJfPBSFpN0N+zlY46LYNjgEA/KYmgStDX46KkyUr8Rvy98PPqA0c Uig9YtxP2U62GAg=
    =a7jy
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Miles Malone@21:1/5 to Charlotte Delenk on Thu Sep 23 12:50:02 2021
    You'd need NUMA if you had a NUMA machine. In current context, that
    would be either a) a dual socket system, b) an amd threadripper, or c)
    some of the really high core xeons. If your motherboard doesnt have
    certain memory banks allocated to certain processors or cores, you're
    probably not running a NUMA machine.

    NUMA stands for non-uniform memory access, it means that certain
    processor cores have more direct access to certain parts of memory
    than others do (e.g. to access the other memory they need the other
    cpu core to pass it through)

    On Thu, 23 Sept 2021 at 19:39, Charlotte Delenk <darkkirb@darkkirb.de> wrote:

    Hi Peter,

    On 9/23/21 10:59, Peter Humphrey wrote:
    Hello list,

    I see "[ 0.003162] No NUMA configuration found" in dmesg. Does that mean I
    should, or can, remove the NUMA settings from the kernel? This is a Ryzen M9
    5900X machine.

    I have CONFIG_NUMA unset on both of my AMD Ryzen machines (Zen+ and
    Zen2) with no issues



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Thu Sep 23 14:20:01 2021
    On Thursday, 23 September 2021 11:39:39 BST Miles Malone wrote:
    You'd need NUMA if you had a NUMA machine. In current context, that
    would be either a) a dual socket system, b) an amd threadripper, or c)
    some of the really high core xeons. If your motherboard doesnt have
    certain memory banks allocated to certain processors or cores, you're probably not running a NUMA machine.

    NUMA stands for non-uniform memory access, it means that certain
    processor cores have more direct access to certain parts of memory
    than others do (e.g. to access the other memory they need the other
    cpu core to pass it through)

    On Thu, 23 Sept 2021 at 19:39, Charlotte Delenk <darkkirb@darkkirb.de>
    wrote:
    Hi Peter,

    On 9/23/21 10:59, Peter Humphrey wrote:
    Hello list,

    I see "[ 0.003162] No NUMA configuration found" in dmesg. Does that mean I should, or can, remove the NUMA settings from the kernel? This
    is a Ryzen M9 5900X machine.

    I have CONFIG_NUMA unset on both of my AMD Ryzen machines (Zen+ and
    Zen2) with no issues

    Thank you both. I'll try removing it and see what happens.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Miles Malone on Thu Sep 23 18:40:01 2021
    On 9/23/21 4:39 AM, Miles Malone wrote:
    You'd need NUMA if you had a NUMA machine. In current context, that
    would be either a) a dual socket system, b) an amd threadripper, or
    c) some of the really high core xeons. If your motherboard doesnt
    have certain memory banks allocated to certain processors or cores,
    you're probably not running a NUMA machine.

    Will a kernel without NUMA support boot and run on a system that has a
    NUMA architecture?

    If it will boot and run, does it simply do so in a sub-optimal way?

    Flipping the coin on the other side, is there any negative effect (other
    than kernel size / lines of code / attack surface) for having NUMA
    support enabled on a non-NUMA system?



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Thu Sep 23 18:40:01 2021
    On Thursday, 23 September 2021 17:32:46 BST Charlotte Delenk wrote:
    On 9/23/21 18:30, Grant Taylor wrote:

    On 9/23/21 4:39 AM, Miles Malone wrote:

    You'd need NUMA if you had a NUMA machine. In current context, that
    would be either a) a dual socket system, b) an amd threadripper, or
    c) some of the really high core xeons. If your motherboard doesnt
    have certain memory banks allocated to certain processors or cores,
    you're probably not running a NUMA machine.



    Will a kernel without NUMA support boot and run on a system that has a
    NUMA architecture?



    If it will boot and run, does it simply do so in a sub-optimal way?

    Pure speculation for this one but if it works it's probably only going
    to detect part of the memory and some of the devices and one cpu, since
    the other resources are physically connected to the other cpus.



    Flipping the coin on the other side, is there any negative effect
    (other than kernel size / lines of code / attack surface) for having
    NUMA support enabled on a non-NUMA system?

    There is no meaningful downside to leaving it enabled, it's enabled in
    many distribution kernels for a reason.

    I've booted a kernel with no NUMA config, and it seems to run fine on this single-socket Ryzen motherboard. I just get the one entry in dmesg:

    $ dmesg | grep -i numa
    [ 0.297998] pci_bus 0000:00: on NUMA node 0

    That's it. I'm running five BOINC projects, some of which run on vbox, so on this motherboard it seems clear that I don't need NUMA.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlotte Delenk@21:1/5 to All on Thu Sep 23 18:40:02 2021
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------rzBWEs1KRJqCU2FQM6PKEvdg
    Content-Type: multipart/mixed; boundary="------------aeV0KQP6ciWGOk2blZRs0zsP"

    --------------aeV0KQP6ciWGOk2blZRs0zsP
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    T24gOS8yMy8yMSAxODozMCwgR3JhbnQgVGF5bG9yIHdyb3RlOg0KPiBPbiA5LzIzLzIxIDQ6 MzkgQU0sIE1pbGVzIE1hbG9uZSB3cm90ZToNCj4+IFlvdSdkIG5lZWQgTlVNQSBpZiB5b3Ug aGFkIGEgTlVNQSBtYWNoaW5lLsKgIEluIGN1cnJlbnQgY29udGV4dCwgdGhhdCANCj4+IHdv dWxkIGJlIGVpdGhlciBhKSBhIGR1YWwgc29ja2V0IHN5c3RlbSwgYikgYW4gYW1kIHRocmVh ZHJpcHBlciwgb3IgDQo+PiBjKSBzb21lIG9mIHRoZSByZWFsbHkgaGlnaCBjb3JlIHhlb25z LsKgIElmIHlvd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lZCBpbiANCm1hbnkg ZGlzdHJpYnV0aW9uIGtlcm5lbHMgZm9yIGEgcmVhc29uLg0K --------------aeV0KQP6ciWGOk2blZRs0zsP
    Content-Type: application/pgp-keys; name="OpenPGP_0x3CEF5DDA915AECB0.asc" Content-Disposition: attachment; filename="OpenPGP_0x3CEF5DDA915AECB0.asc" Content-Description: OpenPGP public key
    Content-Transfer-Encoding: quoted-printable

    -----BEGIN PGP PUBLIC KEY BLOCK-----

    xsFNBGE+CesBEADFhPrY5u3OYM/cYfJHXzdIkFLRaJq/pDda7wkBxSQcsa9E14wbR4CdBYc1OMjH 6mJbNhTRxgTcrcV3MamZ8+ZykW1/t7l9dqADBcAprTGDB4pzTk3ZBDMezFZCJfGcBqHhvEQIwde+ AHaTGnxO3jrbOBKxVEE++99/x5uCvnW9XXQAidJO44+wRWKamYa/F25zLsf4Yvx/8xJUcA+Bozbl HJcw3i1MSCFqc3UiIs2gnsCe8QvcneomGpNVkfsptBUb7dPaOGEH29ERdjLXqBPlnTRLOTYRtMBD Iya6Q+htpckJSsF5h7NqRXRP+ssVYG2CLOU30qvR7aQFkMFhL60lwYVJpJ5oXnwdlwEt3AROvVEE b66K2YrLS9WNRdWlQ4PuAppP8E/e3gZApVOwZAtFSZ1Yk4LaoUcuF23Z3haJOOCyioXCBoVeq4qp WVjz9f5nfw9GATO6IEZGOejJ77ayyMJOpQBfLRq1Adfjqs4MBdCeapwX5cBqJg+tF4ZHAZeeMZGe AvmExreW6qwRUC5crHqcRP6HECevpz+9z2A5dmw6ESsDv3DAh2HyNSCXbF5G7KbS7z5S+HzoKP+t LZ5P24Uj+lFYPSxUUEtJDZ3FjdYnzrSyy/UUUyxk89S37gyPoZlrka5l92apLphUXnm9FqGvobyf PMmmg2tU7sOloQARAQABzSdDaGFybG90dGUgRGVsZW5rIDxkYXJra2lyYkBkYXJra2lyYi5kZT7C wY4EEwEIADgWIQQgbaXh2gkEtu5JFro8713akVrssAUCYT4J6wIbAwULCQgHAgYVCgkIC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k+uRuNQ7ESFoRGpD3sHtPGap CPIE6S2zeGm1BVLORLhqFZgL
    =um7l
    -----END PGP PUBLIC KEY BLOCK-----
    --------------aeV0KQP6ciWGOk2blZRs0zsP--


    --------------rzBWEs1KRJqCU2FQM6PKEvdg--

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQQ/r15dU0pQ4MOKyjMBXjdopwr7xQUCYUysLgUDAAAAAAAKCRABXjdopwr7xe/y AP4kCEVeLVpI8QfMl/E82XXrhcw8i8rINV3OC1EXDVIdhQEA0F3DzVEduprIrKtxD6cgx237TKqB 7gaVuELboQFshwI=
    =3hNR
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Thu Sep 23 19:20:52 2021
    On Thursday, 23 September 2021 17:38:15 BST Peter Humphrey wrote:

    I've booted a kernel with no NUMA config, and it seems to run fine on this single-socket Ryzen motherboard. I just get the one entry in dmesg:

    $ dmesg | grep -i numa
    [ 0.297998] pci_bus 0000:00: on NUMA node 0

    That's it. I'm running five BOINC projects, some of which run on vbox, so on this motherboard it seems clear that I don't need NUMA.

    Out of interest, have you tried booting a NUMA enabled kernel to see what
    dmesg reports? On an old laptop, which definitely has only a single AMD APU,
    I get:

    $ dmesg | grep -i NUMA -A2
    [ 0.002078] No NUMA configuration found
    [ 0.002080] Faking a node at [mem 0x0000000000000000-0x000000042effffff]
    [ 0.002085] NODE_DATA(0) allocated [mem 0x42effc000-0x42effffff]

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmFMxYQACgkQseqq9sKV Zxn//xAAjXo2thq1VI9UCijFfNgSJ5bmESe08yP0jn9SaKs0smCQJl7Vj9AEGVdL sTcYMMtH29LbZxXWSDmq6SldYnwqxTtboIF5AhiEBbRmJd/4qvO69UXw9x0JLJoY R21+qYb1ts09KOp2oeJ/iLuQKn17/A03Ncry+/wRonPPR9SavCM81ZoWtEXAF73+ NhAFl38V36BSruNk/yp/DItW/AfN3EdPwVByfjUBi7mazYtS+5VQCH6ScHwXgiuc oZm98XbuHjy6l9E3/yPZXBxJxhdJZt1OGsfIres7FxENjOpSOGLuMo7I6bTyGxNZ qID7gAj18x3l8LpYyIH/N0E1SNRqubhjGthcb7sJk1HcKv+Szx58GrVwX3bEZxNF i1cBPbwFA1xf0EUqcKPWjupeQqEGGPpcsEHfzMSn/byIgvxs0onxTqC3n1FB9JlA B/N6HrN82wOZ6yDZCwDn7U5kskxS4nspqLKfw/pCT0uXf1R35TxYVZXgvcWxwNq+ HQJlTk/F7hHqoC57kOYAH13VMFO1iJ50P3dGdfSc/WRroUphMtYvZMxy0HW+qhPQ /ZWBFtzdgcdvy+AVvkNmkYPxOtxgBKDfq2r+9bY029k/0igvR21Lv21QdV+FteIB xnvu3OpNdk4ua5f4wZCjldI56ZBJCMkcLPAF1jZKJzQe5qDwTdg=
    =RSMK
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Fri Sep 24 11:10:02 2021
    On Thursday, 23 September 2021 19:20:52 BST Michael wrote:

    Out of interest, have you tried booting a NUMA enabled kernel to see what dmesg reports?

    Yes, it's been enabled ever since I had a dual-socket motherboard, years ago.
    I didn't understand why I did or didn't need it until I read Miles's post yesterday (thanks, Miles). I don't know why it hadn't been made clear in any websites I've visited.

    On an old laptop, which definitely has only a single AMD
    APU, I get:

    $ dmesg | grep -i NUMA -A2
    [ 0.002078] No NUMA configuration found
    [ 0.002080] Faking a node at [mem
    0x0000000000000000-0x000000042effffff]
    [ 0.002085] NODE_DATA(0) allocated [mem 0x42effc000-0x42effffff]

    I had something similar. Oddly, with NUMA configured I get "not found" and without it I get "pci_bus 0000:00: on NUMA node 0". The system seems to run happily either way.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Fri Sep 24 10:38:07 2021
    On Friday, 24 September 2021 10:06:49 BST Peter Humphrey wrote:
    On Thursday, 23 September 2021 19:20:52 BST Michael wrote:
    Out of interest, have you tried booting a NUMA enabled kernel to see what dmesg reports?

    Yes, it's been enabled ever since I had a dual-socket motherboard, years
    ago. I didn't understand why I did or didn't need it until I read Miles's post yesterday (thanks, Miles). I don't know why it hadn't been made clear
    in any websites I've visited.

    On an old laptop, which definitely has only a single AMD
    APU, I get:

    $ dmesg | grep -i NUMA -A2
    [ 0.002078] No NUMA configuration found
    [ 0.002080] Faking a node at [mem

    0x0000000000000000-0x000000042effffff]

    [ 0.002085] NODE_DATA(0) allocated [mem 0x42effc000-0x42effffff]

    I had something similar. Oddly, with NUMA configured I get "not found" and without it I get "pci_bus 0000:00: on NUMA node 0". The system seems to run happily either way.

    Sorry I should have made it clear - the above "No NUMA configuration found" message was obtained *with* NUMA enabled in my kernel.

    I suppose "NUMA on node 0" is the default first socket, which the kernel sets up. If the kernel can't find a second CPU it will be 'faking' a multi-CPU memory allocation setup, when it comes to allocate memory to the only CPU available. If the kernel does not have NUMA enabled then it doesn't need to fake anything. It will treat the hardware as a single socket MoBo and no further tests would be undertaken. All suppositions of course, I haven't looked at the code. ;-)

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmFNnH8ACgkQseqq9sKV ZxkZsA/+OK2DBST2Vx8YRRX3YPNvj6IYSq0idpVb2HlR5id7+1Ht7uBdbrbLoaTH IEJnRYE6bE+jMh9H2rVKWsvNioENgdoujrC68E3EMsEk2qVXZaCBPyGhuxaT/dmP rP4p5a9r31uVvFcbKTK743+fzDzF02at75xJsTlCwJTQomJUaQOhhS9MLXdd0d6d t7jihxmArda8Rg06nIH9egfk+9FQgq0Nhq2tcGkWfUNvI4joBvxmAFILz12kYDR2 A3JSJkKZahhBTKtFwS9ErQkQ5IL7V1B5INGtFkL5j+xCGgkArSNe2sp/Lo3yI8nO FefoRHTdmFWhTLKMcq+wzWFgV11F0GFbqXq3kA3XY8d+7IsMdY63f5DhG99BQPKh FBrzItW655tqZp2k6dd341r6mlGN2lDYClEN1pOA4Uy7znC3P4oTRRREj6Nf9ma5 ciyMdUXIqVfKn9d7HhI2EXyNl2s4O/brSMiMuO4/33ikA7kYDoaPDTnv9x0DeCWI Ourmpom3CtfywrH8wJqPLRaIIQwLNzPMV7J0p7Ntn19c/o0g/C45isNdP0KS7SqM WnHaQs8obuPF3y9wJwgl5WgJBZgQDWUeoWRMC+9Ou7LzkcyLKW9mTGL3zOMy2sZ7 2RRHe8zFh9nCvOUb2iq+/hDdvPTRE75DGCpg7ipj2PPOcevww84=
    =ZrTv
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Kenworthy@21:1/5 to Michael on Fri Sep 24 13:30:01 2021
    On 24/9/21 5:38 pm, Michael wrote:
    On Friday, 24 September 2021 10:06:49 BST Peter Humphrey wrote:
    On Thursday, 23 September 2021 19:20:52 BST Michael wrote:
    Out of interest, have you tried booting a NUMA enabled kernel to see what >>> dmesg reports?
    Yes, it's been enabled ever since I had a dual-socket motherboard, years
    ago. I didn't understand why I did or didn't need it until I read Miles's
    post yesterday (thanks, Miles). I don't know why it hadn't been made clear >> in any websites I've visited.

    On an old laptop, which definitely has only a single AMD
    APU, I get:

    $ dmesg | grep -i NUMA -A2
    [ 0.002078] No NUMA configuration found
    [ 0.002080] Faking a node at [mem
    0x0000000000000000-0x000000042effffff]

    [ 0.002085] NODE_DATA(0) allocated [mem 0x42effc000-0x42effffff]
    I had something similar. Oddly, with NUMA configured I get "not found" and >> without it I get "pci_bus 0000:00: on NUMA node 0". The system seems to run >> happily either way.
    Sorry I should have made it clear - the above "No NUMA configuration found" message was obtained *with* NUMA enabled in my kernel.

    I suppose "NUMA on node 0" is the default first socket, which the kernel sets up. If the kernel can't find a second CPU it will be 'faking' a multi-CPU memory allocation setup, when it comes to allocate memory to the only CPU available. If the kernel does not have NUMA enabled then it doesn't need to fake anything. It will treat the hardware as a single socket MoBo and no further tests would be undertaken. All suppositions of course, I haven't looked at the code. ;-)

    Try "numactl --hardware" (from the numactl package)

    rattus ~ # numactl --hardware
    available: 1 nodes (0)
    node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11
    node 0 size: 31942 MB
    node 0 free: 7210 MB
    node distances:
    node   0
      0:  10
    rattus ~ #

    (Intel 6 core - NUMA emulation in the kernel.)

    I can only find testing NUMA code and hardware as a reason to have
    emulation enabled on a non-NUMA system?

    BillK

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Kenworthy@21:1/5 to William Kenworthy on Fri Sep 24 14:30:01 2021
    On 24/9/21 7:25 pm, William Kenworthy wrote:
    On 24/9/21 5:38 pm, Michael wrote:
    On Friday, 24 September 2021 10:06:49 BST Peter Humphrey wrote:
    On Thursday, 23 September 2021 19:20:52 BST Michael wrote:
    Out of interest, have you tried booting a NUMA enabled kernel to see what >>>> dmesg reports?
    Yes, it's been enabled ever since I had a dual-socket motherboard, years >>> ago. I didn't understand why I did or didn't need it until I read Miles's >>> post yesterday (thanks, Miles). I don't know why it hadn't been made clear >>> in any websites I've visited.

    On an old laptop, which definitely has only a single AMD
    APU, I get:

    $ dmesg | grep -i NUMA -A2
    [ 0.002078] No NUMA configuration found
    [ 0.002080] Faking a node at [mem
    0x0000000000000000-0x000000042effffff]

    [ 0.002085] NODE_DATA(0) allocated [mem 0x42effc000-0x42effffff]
    I had something similar. Oddly, with NUMA configured I get "not found" and >>> without it I get "pci_bus 0000:00: on NUMA node 0". The system seems to run >>> happily either way.
    Sorry I should have made it clear - the above "No NUMA configuration found" >> message was obtained *with* NUMA enabled in my kernel.

    I suppose "NUMA on node 0" is the default first socket, which the kernel sets
    up. If the kernel can't find a second CPU it will be 'faking' a multi-CPU >> memory allocation setup, when it comes to allocate memory to the only CPU
    available. If the kernel does not have NUMA enabled then it doesn't need to >> fake anything. It will treat the hardware as a single socket MoBo and no
    further tests would be undertaken. All suppositions of course, I haven't
    looked at the code. ;-)
    Try "numactl --hardware" (from the numactl package)

    rattus ~ # numactl --hardware
    available: 1 nodes (0)
    node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11
    node 0 size: 31942 MB
    node 0 free: 7210 MB
    node distances:
    node   0
      0:  10
    rattus ~ #

    (Intel 6 core - NUMA emulation in the kernel.)

    I can only find testing NUMA code and hardware as a reason to have
    emulation enabled on a non-NUMA system?

    BillK


    Actually Iam using "numactl -C 4,5 /etc/init.d/amavisd start" to lock
    processes to particular cpu's (on an arm big.LITTLE architecture.

    I will need to compile a new kernel without NUMA emulation to see if it
    still works.

    BillK

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)