Re: How much drive space for Linux?

From: Jacob Heider (lord-jacob_at_comcast.net)
Date: 01/28/04


Date: Wed, 28 Jan 2004 07:30:33 GMT

On Wed, 28 Jan 2004 00:04:28 -0700, Jim Kroger wrote:

> In article <slrnc1ehif.h4q.rob@one.localnet>,
> "Robert M. Riches Jr." <spamtrap42@verizon.net> wrote:
>
>
>> It depends somewhat on which five or ten applications you
>> mean. Ten of the biggest take considerably more space than
>> five of the smallest.
>>
>
>
> Hi, thanks for the reply.
>
> Matlab, and some other graphics and analysis packages. Also, palm
> development stuff. Compiler, GUI.
>

Sounds like large packages. 1GB (as you say later) is probably a
reasonable guess.

>> Also, will you be using a swap file sitting on this
>> partition or a separate swap partition? How much RAM do you
>> have, and how much heavy RAM-intensive work do you plan to
>> do? It is generally recommended to have twice as much swap
>> space as you have RAM. (Disk is normally considered to be
>> cheap and plentiful, relative to RAM, but if you're using
>> more than twice your RAM in swap space, you're probably
>> thrashing beyond hope.) If you have enough RAM for what you
>> plan to do, you _might_ get by with less swap space.
>>
>
> I have a gig of ram in my Dell Latitude D800 (max possible) and a
> separate 2 gig swap space on a separate paartition.
>

The 2*RAM rule of thumb is usually followed by "but not more than 512MB,
usually". I can't imagine what you'd be doing (or rather I can, but find
it unlikely) that would require more than 3GB of memory. You can probably
get by with no swap space, but 512MB is probably more than enough. I have
768MB of RAM, and 2GB of swap, spread across 2 hard-drives on different
ide buses (for optimal performance), and *rarely* use more than 40MB.
That's just the kernel trying to be efficient. Without X, my computer uses
about 220MB of RAM, running all the services I need (httpd, sendmail, ssh,
etc). With X running, it will use (via buffers and cache) all the
available RAM, and still rarely swaps. With a third more RAM, you almost
certainly don't need (much) swap space unless you are doing some
ridiculous memory usage.

>> For one reference point, I just installed RHL 9 with
>> "everything", and it's taking a little over 5GB plus space
>> space. With luck, a few other people will post their
>> reference points.
>>
>
> Yikes. Sounds like 4 gig is not enough. I don't install everything
> but lots of stuff.
>

The point is that some things take a lot of space. OpenOffice.org takes
about 300MB by itself. Things like apache and database servers may take a
lot of space. *BUT*, if you add the 2GB you were going to use for swap to
your root, you should be fine.

>> If you can afford a couple of hours to experiment, you could
>> make the attempt to install it and see whether it fits. If
>> it doesn't fit, that attempt ends up being valuable practice
>> for your next installation (attempt).
>>
>
>
> Well, I know my install will fit in under 2-3 gigs. Then there are
> the apps. Maybe another gig or two. But I guess my
> question is, should I make the partition just big enough to hold Linux
> and my apps? I have a separate 30 gig partition for all my data so won't
> be filling my home or other directories with stuff. So do I need any
> room beyond the Linux and apps? Like extra headroom or something?
>

If you are only using linux, your personal files should really go under
/home/your_login any way. It sounds like your laptop is something like 1GB
RAM / 36GB hard-drive? I'd do:

/boot 100MB
/ 6GB
/home 29.9GB

This should be sufficient and appropriate for most needs.

HTH
Jacob



Relevant Pages

  • Re: Need advice on how to partition a 10gig hdrive
    ... >> install your fourth kernel. ... Swap size depends on the RAM and the purpose of the ... > possible on the system partitions. ...
    (alt.os.linux)
  • Re: How much drive space for Linux?
    ... > space as you have RAM. ... separate 2 gig swap space on a separate paartition. ... > make the attempt to install it and see whether it fits. ...
    (linux.redhat.install)
  • Re: Blank Video when 4 gig are installed
    ... The only configuration that does not work is the 4 gig one. ... install. ... XP won't recognise RAM exceeding 3.25gb. ... Bad/Faulty RAM module. ...
    (microsoft.public.windowsxp.video)
  • Re: excessive swap-in time
    ... Trying to do it all with RAM is just inefficient. ... I find that does not work well when the swapping is caused by excessive I/O ... Or you could have 5 TB of swap space. ...
    (comp.os.linux.development.system)
  • Re: Swap usage always goes up - never down
    ... which is cheap enough or even more swap is ... > buffers/cache available in RAM, even when I'm running my 'big' jobs. ... It's the slowest distro one can install. ... Michael Heiming ...
    (comp.os.linux.misc)