public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: David Klempner <klempner@imsanet.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] 2GB of RAM
Date: Wed, 21 Jun 2006 01:16:33 -0500	[thread overview]
Message-ID: <20060621061633.GA14516@kenmore.strcpy.org> (raw)
In-Reply-To: <4498D44A.1050805@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2124 bytes --]

* Ralph Slooten <axllent@gmail.com> [2006-06-21 00:15]:
> I upgraded yesterday to 2.6.17 and also noticed that there was no split
> option. Not thinking much of it I installed the kernel which works fine,
> except now /proc/kcore reports 897M, and `free` something to that effect
> too.
> 
> So I take it I'm only using just less than 1/2 my RAM now, correct?

Right.

> With 2GB of RAM, Do I now have to enable the embedded option (which
> gives me a lot more options, most likely all of which I don't need), and
> then select the 2/2 split, or .... ?

Actually, I side with the kernel developers on this; the fact that
they're hiding the VMSPLIT options is basically a subtle hint that they
don't want people using them who don't *really* know what they're doing.

I strongly suggest using CONFIG_HIGHMEM, and sticking with the default
3/1 split. (I mean, it's *slightly* slower, but on the other hand what
caused them to do this was random breaking of java that took a long time
to diagnose.) That said...

> I noticed too that if I select the embedded option, but unselect all new
> options that come with it I still get the memory split options. Is this
> the right way to go?

NO. As in, all of those options (with the exception of
CONFIG_KALLSYMS_EXTRA_PASS) default to yes, and all of those defaults
are very important. If you disable them, you will, for example, break
most of the kernel's logging (printk), lose the ability to get core
dumps, and lose futexes (which will break a lot of modern threading).
Basically, saying no to any option option on that page (with the
exception of the KALLSYMS stuff) *WILL* break your system.

So, make sure that everything, except CONFIG_KALLSYMS_EXTRA_PASS, on
that page is enabled. (that might be what you meant in the first place,
of course, but it's worth making sure...) All you need to be able to
select the VMSPLIT options is CONFIG_EMBEDDED (that is, saying yes to
the "Configure standard kernel features (for small systems)" item) which
doesn't actually have any impact on the code.

Hope this helps.

-- 
David Klempner

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-06-21  6:26 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-18 17:45 [gentoo-user] 2GB of RAM Ralph Slooten
2006-06-18 18:44 ` Steven Susbauer
2006-06-19  5:00   ` Ralph Slooten
2006-06-18 19:17 ` David Klempner
2006-06-19  5:17   ` Ralph Slooten
2006-06-19  6:17     ` David Klempner
2006-06-19  7:19       ` Ralph Slooten
2006-06-20 16:01         ` Vladimir G. Ivanovic
2006-06-20 16:14           ` Justin R Findlay
2006-06-20 16:45             ` Mike Huber
2006-06-20 16:16           ` Justin Piszcz
2006-06-20 17:43             ` Graham Murray
2006-06-20 19:05               ` David Klempner
2006-06-20 19:36                 ` Vladimir G. Ivanovic
2006-06-20 20:01                   ` David Klempner
2006-06-20 21:40                     ` Vladimir G. Ivanovic
2006-06-21  6:21                       ` David Klempner
2006-06-21 16:03                         ` Vladimir G. Ivanovic
2006-06-20 20:08                 ` David Klempner
2006-06-21  5:08                 ` Ralph Slooten
2006-06-21  6:16                   ` David Klempner [this message]
2006-06-21  9:03                     ` Ralph Slooten
2006-06-21 16:04                       ` David Klempner

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=20060621061633.GA14516@kenmore.strcpy.org \
    --to=klempner@imsanet.org \
    --cc=gentoo-user@lists.gentoo.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