Re: [PATCH 00/07][RFC] i386: NUMA emulation

From: Dave Hansen (haveblue_at_us.ibm.com)
Date: 09/30/05

  • Next message: Peter Zijlstra: "Re: [PATCH 0/7] CART - an advanced page replacement policy"
    To: Magnus Damm <magnus@valinux.co.jp>
    Date:	Fri, 30 Sep 2005 08:23:44 -0700
    
    

    On Fri, 2005-09-30 at 16:33 +0900, Magnus Damm wrote:
    > These patches implement NUMA memory node emulation for regular i386 PC:s.
    >
    > NUMA emulation could be used to provide coarse-grained memory resource control
    > using CPUSETS. Another use is as a test environment for NUMA memory code or
    > CPUSETS using an i386 emulator such as QEMU.

    This patch set basically allows the "NUMA depends on SMP" dependency to
    be removed. I'm not sure this is the right approach. There will likely
    never be a real-world NUMA system without SMP. So, this set would seem
    to include some increased (#ifdef) complexity for supporting SMP && !
    NUMA, which will likely never happen in the real world.

    Also, I worry that simply #ifdef'ing things out like CPUsets' update
    means that CPUsets lacks some kind of abstraction that it should have
    been using in the first place. An #ifdef just papers over the real
    problem.

    I think it would likely be cleaner if the approach was to emulate an SMP
    NUMA system where each NUMA node simply doesn't have all of its CPUs
    online.

    -- Dave

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Peter Zijlstra: "Re: [PATCH 0/7] CART - an advanced page replacement policy"

    Relevant Pages

    • Re: Scaling noise
      ... you can effectively treat the box as an SMP system. ... It doesn't work when you have a NUMA factor of 15 (like ... of the two-node NUMA system. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [patch] trivial acpi/Kconfig
      ... On ia64 when NUMA and SMP are selected, ... # This is a BitKeeper generated patch for the following project: ...
      (Linux-Kernel)
    • Re: [RFC PATCH] scheduler: Dynamic sched_domains
      ... > single CPU on most topologies, ... Node domains, for NUMA w/ SMP ... for SMT or NUMA w/ SMT ...
      (Linux-Kernel)
    • Re: [PATCH 00/07][RFC] i386: NUMA emulation
      ... > never be a real-world NUMA system without SMP. ... this patch set removes "NUMA depends on SMP". ... than one memory node, I see no reason why they should be dependent on ... > means that CPUsets lacks some kind of abstraction that it should have ...
      (Linux-Kernel)
    • Re: [PATCH 00/07][RFC] i386: NUMA emulation
      ... >> means that CPUsets lacks some kind of abstraction that it should have ... > require either SMP nor NUMA. ... > having the same one CPU and one Memory Node, ...
      (Linux-Kernel)