From: Lance Tagliapietra <lancetag@Luminet.net>
To: linux-m68k@lists.linux-m68k.org
Subject: m68k 2.6.26-1 vs 2.4.30 comparison
Date: Sun, 3 May 2009 02:28:14 -0500 [thread overview]
Message-ID: <20090503072811.GB3179@luminet.net> (raw)
Hello,
I've (finally) been moving my Amiga 2000/030/16M system to a 2.6 series kernel.
I have started with the 2.6.26 that I downlaoded from [1] because it had support for NFS.
I have also used git to pull the sources for m68k 2.6.29 and am working on compiling the
smallest footprint kernel for my hardware.
Observations:
a). I 2.4.30 kernel compile was about 6 hours on this hardware (GCC 2.95.4). The 2.6.29
took 4 days (GCC 4.1.2, Debian). That was without the modules, too. Now, it did select
the config option for smallest code size, and perhaps that is not well supported for m68k
and also added to the compile time. Make was done as nice -n 17 but the system is mostly
idle, otherwise, but that is how I compile the 2.4.30.
b). My custom 2.4.30 kernel size is about 750K uncompressed. With setting the options to
remove support for hardware that I don't have and features that I don't need, I still
came up with a kernel of 2.7M. The goal is to have the smallest footprint kernel possible.
c). The 2.6.26 kernel seems to want to keep more memory free and hit the swap much more
than the 2.4.30 kernel according to vmstat. Under 2.4.30 I see the free memory go as low
as about 200K, and it will remain at that level as long as is necessary. Under 2.6.26,
the free memory stays at about 800K, and if it drops below that, it will come back to that
level relatively quickly.
d). The real time clock came up on the worng month, going from 2.4.30 to 2.6.26 (or 28),
March vs April, in this case.
Questions:
e). Is there an option which tells the kernel the minimum amount of free RAM to maintain
as I describe in (c) above? RAM is relatively precious in my m68k environment, and having
500k being held in reserve seems a bit much?
f). The kernel config gives options for 3 schedulers. Does anyone here know which gives the
smallest memory footprint?
Thanks,
--Lance
[1] http://people.debian.org/~smarenka/
next reply other threads:[~2009-05-03 7:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-03 7:28 Lance Tagliapietra [this message]
2009-05-03 11:08 ` m68k 2.6.26-1 vs 2.4.30 comparison Geert Uytterhoeven
2009-05-15 2:37 ` Lance Tagliapietra
2009-05-15 9:31 ` Andreas Schwab
2009-05-15 9:57 ` Geert Uytterhoeven
2009-05-15 17:02 ` Amiga RTC kernel config [was: Re: m68k 2.6.26-1 vs 2.4.30 comparison] Lance Tagliapietra
2009-05-15 20:05 ` Lance Tagliapietra
2009-05-06 6:44 ` m68k 2.6.26-1 vs 2.4.30 comparison Kolbjørn Barmen
2009-05-06 17:45 ` Lance Tagliapietra
2009-05-07 2:37 ` Michael Schmitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090503072811.GB3179@luminet.net \
--to=lancetag@luminet.net \
--cc=linux-m68k@lists.linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox