look at the top of your boot messages. Eg:
Mar 30 02:01:25 fogarty kernel: Memory: 126044k/131008k available
(1412k kernel code, 4576k reserved, 99k data, 192k init, 0k highmem)
kernel statically allocated memory and 'weird' memory (eg dos high
mem, acpi reserved memory, etc..) is deducted from total RAM when
reporting memory. It's just a lot more noticable on a 4MB system than
on a 128MB system.
try and compile as minimal a kernel as possible.
On Fri, 31 Mar 2000, William Murphy wrote:
Nope, the amount of ram reported by free is consistent whenever I
use the same kernel parameters/configuration. Also, dos
consistently reports that I have 4 megs.
>
>
> On 31-Mar-00 William Murphy wrote:
> Hi,
>
> A bit of a strangity here. I've got a laptop here (AST 4/25SL blah blah
> blah). It's got 4 megs of ram. When I booted linux with the kernel that
> came with the distribution (some corruption of slackware) it reported
> that I had 2100K (or so) ram. I then rebooted, with the kernel parameter
> MEM=4M, and free reported that I had about 1900K (weird). Then I made a
> kernel specifically for the machine (2.0.35, as was the previous one).
> Now it's saying that I've got 2732K. I can imagine that this would be
> quite a difficult one to call, but any suggestions?
>
> Cyas,
> William Murphy
> alias at student.nuigalway.ie
--
Paul Jakma paul at clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
If I have not seen so far it is because I stood in giant's footsteps.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!