Behaviour of the VM on a embedded linux

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Friday, August 22, 2008 - 8:31 am

Hi Folks,

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.

I'm not so familiar with the VM internas of the Linux kernel - I only have some general ideas about systems using MMUs. So my
assumption was, that even if a application consists of a lot of code, almost all memory pages containing executable code can be
paged out in favour of pages which are needed to store data (stacks, heap, slab). I tried to figuring this out through reading in
different books like "understanding the linux kernel" but those parts I was not able to catch anywhere.

Now there is the idea, that pages which contain code of pthreads running at real time priority cannot be paged out because of the
real time demand.

Is this true?

Thanks a lot,
Marcel

PS: please CC me personaly on replies
PPS: I'm hapy about every plausible idea
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Behaviour of the VM on a embedded linux, Wappler Marcel, (Fri Aug 22, 8:31 am)
Re: Behaviour of the VM on a embedded linux, Alex Riesen, (Fri Aug 22, 8:59 am)
RE: Behaviour of the VM on a embedded linux, Wappler Marcel, (Fri Aug 22, 11:25 am)
Re: Behaviour of the VM on a embedded linux, Ingo Oeser, (Sun Aug 24, 7:35 pm)
Re: Behaviour of the VM on a embedded linux, Arjan van de Ven, (Sun Aug 24, 7:55 pm)
RE: Behaviour of the VM on a embedded linux, Wappler Marcel, (Mon Aug 25, 3:58 am)
Re: Behaviour of the VM on a embedded linux, Christopher Snook, (Fri Aug 22, 5:37 pm)