Re: Memory afinity




"Mark South" <mark.south@xxxxxxxxxxxx> wrote in message
news:470d016c$1_2@xxxxxxxxxxxxxxxxxx
On Wed, 10 Oct 2007 16:41:54 +0000, Andrew Madsen wrote:

I had an application vendor tell me that I could set memory affinity for
a
processor. In other words if I had 8GB of memory in a two processor box I
could set 4 GB per processor or 6 to one processor and 2 to the other
instead of all 8 being availble to which ever processor needed it. Is
this
true and if so how do I set it?

The important question to ask before that one is, can you do more
efficient
memory allocation than the kernel can?

I do not believe I can but the vendor seemed to indicate that he kernel
cannot do a good job so you need to set the memory affinity to allocate the
memory better. This is an analytical program and they were saying that one
scenario would be to have 8GB and assign 6GB to one processor where the
analytical application would run and the remaining 2GB to the other
processor so the rest of the box could run.


.



Relevant Pages

  • 2.6.33 dies on modprobe
    ... The kernel starts up fine and mounts the root-filesystem, ... Freeing unused kernel memory: 408k freed ... # CPUFreq processor drivers ...
    (Linux-Kernel)
  • Re: [PATCH] intel-agp.c: Fix crash when accessing nonexistent GTT entries in i915
    ... has info that 256K is for GTT bar, so max video memory size is 256M. ... IGD DVMT/FIXED MEMORY: 32 MB ... Access kernel.org in iceweasel and the X server will crash. ... Sometimes, the kernel freezes. ...
    (Linux-Kernel)
  • Re: s2disk hang update
    ... This looks like we have run out of memory while creating a new kernel thread ... because the I/O doesn't work at this point). ... Keep 1 MB of memory free so that device drivers can allocate some pages in ...
    (Linux-Kernel)
  • kernel panic - not syncing: out of memory and no killable processes
    ... Kernel panic - not syncing: Out of memory and no killable processes... ... Re-tune the scheduler latency defaults to decrease worst-case latencies ... # Device Drivers ...
    (Linux-Kernel)
  • [UNIX] Linux Kernel do_brk() Vulnerablility (Explained)
    ... Get your security news from a reliable source. ... A critical security bug has been found in the Linux kernel 2.4.22 (and ... earlier) memory management subsystem. ... for the code working at the lowest privilege level. ...
    (Securiteam)