Re: Behaviour of the VM on a embedded linux



2008/8/22 Wappler Marcel <Marcel.Wappler@xxxxxxxxxxxx>:
I'm trying to figure out whats going on an embedded system I have to
deal with. It's running a 2.6.24.7 kernel on 32 MBytes of RAM.
There is no swapping. There are some daemons and shells running and
- a big monolithic c++ application.

The application runs a lot of pthreads on different real time priority levels.
It looks like the application consumes a huge
ammount of real memory in contrast to the assumption, that large code
size is no problem due to paging out pages with unused code.

Maybe the kernel wont page anything if the paging support is compiled out.
IOW, you still need paging code even if there is now swap partitions.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • RE: Behaviour of the VM on a embedded linux
    ... It's running a 2.6.24.7 kernel on 32 MBytes of RAM. ... There are some daemons and shells running and ... Maybe the kernel wont page anything if the paging support is compiled ... this is the case - I do observe normal operation of the VM subsytem - it moves memory pages dynamicaly throughout the system. ...
    (Linux-Kernel)
  • Re: x86 architecture questions
    ... > the greater speed of never paging. ... > on which my kernel will run have only 32 lines wired up, ... The same applies to segmentation in general. ... Start with Pentium 4 class machines, ...
    (comp.lang.asm.x86)
  • Re: x86 architecture questions
    ... > the greater speed of never paging. ... The TLB was created to make paging fast. ... > on which my kernel will run have only 32 lines wired up, ... assault the kernel with invalid pointers, and the kernel has to deal with it ...
    (comp.lang.asm.x86)
  • Re: using segmentation in the kernel
    ... >Doing that without major work on the kernel itself would be hard, ... Then you want to activate paging. ... >is where the descriptors for addressing, paging, and interrupts ... segment descriptors to 3GB and the limit to 1GB-64MB (Xen uses the ...
    (Linux-Kernel)
  • x86 architecture questions
    ... I've been dealving into the glory-and-gore that is the x86 ... the greater speed of never paging. ... on which my kernel will run have only 32 lines wired up, ... impression that invalidation is automatic. ...
    (comp.lang.asm.x86)