Re: Limited RAM - how to save it?

From: H. Peter Anvin (hpa@zytor.com)
Date: Mon Nov 05 2001 - 15:21:51 EST


Followup to: <20011105125231.A3783@microdata-pos.de>
By author: Jan-Benedict Glaw <jbglaw@microdata-pos.de>
In newsgroup: linux.dev.kernel
>
> I'm working on a 4MB linux system (for a customer) which has quite
> limited resources at all:
>
> - 4MB RAM
> - 386 or 486 like processor (9..16 BogoMIPS)
> - < 100MB HDD
> - Quite a lot user space running:-(
>
> For me, 4MB seems to be a problem. I've stripped diwn the applications
> quite a lot, but 4MB behaves very slow and unresponsible. Adding only
> one more MB solves any performance problem! I've made a small patch
> practically removing printk() from kernel which helps a lot (patch
> attached below). Basically, the running kernel is ~160KB smaller!
> Are there further methods of saving space? I've already done some
> other things, but these don't help that much:
>

4 MB was the practical minimum for even the very early versions of
Linux. I would probably suggest backrevving to 2.0 (which is still
maintained) or even 1.2 (which isn't) for a start...

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:27 EST