* Run out of memory
@ 2004-01-16 23:39 david stevenson
2004-01-19 7:22 ` Michal Schulz
0 siblings, 1 reply; 3+ messages in thread
From: david stevenson @ 2004-01-16 23:39 UTC (permalink / raw)
To: linux-mtd
Hi
I am running on a 486 with 4meg ram, and using mtd flash driver and jffs2, and
I have now run out of ram.
As a very general guide can someone give me an idea how much ram the mtd
driver and the jffs2 code should use up.
In round figures the kernel is using 2meg code,data,reserved, and free shows
1700k used 300k free, before I try to run anything.
Some hints of whether this looks normal or odd would be much appreciated.
David
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Run out of memory
2004-01-16 23:39 Run out of memory david stevenson
@ 2004-01-19 7:22 ` Michal Schulz
2004-01-19 13:49 ` david stevenson
0 siblings, 1 reply; 3+ messages in thread
From: Michal Schulz @ 2004-01-19 7:22 UTC (permalink / raw)
To: david stevenson; +Cc: linux-mtd
On Fri, 16 Jan 2004, david stevenson wrote:
> In round figures the kernel is using 2meg code,data,reserved, and free shows
> 1700k used 300k free, before I try to run anything.
>
> Some hints of whether this looks normal or odd would be much appreciated.
> David
Try to put kernel image into some kind of ROM memory (may be flash as
well). Then you can first of all reduce the amount of memory consumed by
kernel itself. On one of machines I was working few years ago (386EX)
there was 1700K free RAM after system bootup, whereas total amount of RAM
was 2.5MB. (0K used for kernel code)
--
Michal Schulz
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Run out of memory
2004-01-19 7:22 ` Michal Schulz
@ 2004-01-19 13:49 ` david stevenson
0 siblings, 0 replies; 3+ messages in thread
From: david stevenson @ 2004-01-19 13:49 UTC (permalink / raw)
To: linux-mtd
On Monday 19 January 2004 7:22 am, Michal Schulz wrote:
> On Fri, 16 Jan 2004, david stevenson wrote:
> > In round figures the kernel is using 2meg code,data,reserved, and free
> > shows 1700k used 300k free, before I try to run anything.
> >
> > Some hints of whether this looks normal or odd would be much appreciated.
> > David
>
> Try to put kernel image into some kind of ROM memory (may be flash as
> well). Then you can first of all reduce the amount of memory consumed by
> kernel itself. On one of machines I was working few years ago (386EX)
> there was 1700K free RAM after system bootup, whereas total amount of RAM
> was 2.5MB. (0K used for kernel code)
Thanks, that would be the largest item in ram out of the way. I will have to
look at the odd parallel memory maps on my sc400 to work out how to map that.
Is there a howto for kernel xip?
I am interested to know if either mtd or jffs2, use large amounts of ram, in
this case large being in the 100's of kb. And do they use any user space ram
or is it all in kernel data?
David
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-19 13:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-16 23:39 Run out of memory david stevenson
2004-01-19 7:22 ` Michal Schulz
2004-01-19 13:49 ` david stevenson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox