Fwd: Total vs per-cpu memory



Sorry for the mistake, although otherwise clear from the context: 16GB total is
correct as there are 4GB per cpu.
francesco

--- Francesco Pietra <chiendarret@xxxxxxxxx> wrote:

Date: Thu, 31 Jan 2008 07:39:43 -0800 (PST)
From: Francesco Pietra <chiendarret@xxxxxxxxx>
Subject: Total vs per-cpu memory
To: debian64 <debian-amd64@xxxxxxxxxxxxxxxx>

This question is related to problems in running a docking computation. With
big
cases, RAM proves insufficient, resulting in immediate "segmentation fault",
so
that "top" cannot inform. Though, from the code it is clear that memory is
insufficient to rotate the object in a non-parallelized part of the program.
Smaller objects do not give problems.

My question is: with Tyan S2895 Thunder K8WE, two dual opterons and 1GB RAM
per
cpu (amd64 etch), are the 16GB available to the single cpu involved in the
computation, or are 4GB available?

Memory was set with shmmax:

kernel.shmmax = 16000000000
kernel.shmall = 16000000000

sysctl -p

Thanks
francesco pietra




____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs




____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • [PATCH] Document Linuxs memory barriers [try #3]
    ... The attached patch documents the Linux kernel's memory barriers. ... I've tried to get rid of the concept of memory accesses appearing on the bus; ... barring implicit enforcement by the CPU. ...
    (Linux-Kernel)
  • Re: read vs. mmap (or io vs. page faults)
    ... not fit in main memory, and there are overheads related to the heuristics ... But because the CPU is underutilized, ... reasonably sized user buffer). ... You have to measure the actual overhead to see what the actual cost is. ...
    (freebsd-questions)
  • Re: OT: memory requirements
    ... and xorg is using 70% of my memory. ... How beefy is the CPU? ... If it uses more than a few MB of swap, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Cost of calling a standard library function
    ... It accesses/reads memory using esi 4 ... > safly move it within the cache, without having to go via ebx. ... try it the same thing on a different earlier CPU, ... should check it out...for "tight inner loop" stuff, ...
    (alt.lang.asm)
  • Re: Uses for memory barriers
    ... of memory ordering are not all that helpful in explaining memory ordering ... Formal verification of a particular -implementation- is another story, ... My "seen" approach would work for all CPU architectures ... mutual-exclusion algorithms (with memory barriers added) would be examples. ...
    (Linux-Kernel)