From: Volker Armin Hemmann <volker.armin.hemmann@tu-clausthal.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Digest of gentoo-user@gentoo.org issue 281 (19228-19277)
Date: Tue, 23 Aug 2005 20:27:22 +0200 [thread overview]
Message-ID: <200508232027.22821.volker.armin.hemmann@tu-clausthal.de> (raw)
In-Reply-To: <4fdd16f70508230958bdcdda5@mail.gmail.com>
On Tuesday 23 August 2005 18:58, karlos wrote:
> Hi,
>
> I have 2 questions:
>
> 1. How can I change the swap partition after I added some ram to my
> computer e.g. 512 MB. I just wonder in case I want to upgrade WITHOUT
> destroying anything. Do I just have to write another partition table
> and thats it?
>
no, you don't need to. more ram=less swap used (in an ideal world*)
If you need more swap, create a swapfile: dd if=/dev/null of=/tmp/swapfile
bs=whatyoulike, count=howmuchyouwant
mkswap /tmp/swapfile
swapon /tmp/swapfile
tada, a lot of swap, no partitioning needed.
And with 2.6 a swapfile is not slower than a swap-partition.
*
Well, until two weeks ago I had 512mb ram and 1gig swap.
Even light loaded and swappiness down to 10 - after some hours, there are some
kb in swap, while there is pretty much free memory - and they are always the
wrong few kb, making everything sluggish.
I bought additional 512mb - and nothing changed, after some hours, a lot of
ram is free, but linux insistes on putting hundred and something kb into
swap.
That is veeeery annoying ;)
--
gentoo-user@gentoo.org mailing list
prev parent reply other threads:[~2005-08-23 18:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200508231402.j7NE1fAj027425@robin.gentoo.org>
2005-08-23 16:58 ` [gentoo-user] Re: Digest of gentoo-user@gentoo.org issue 281 (19228-19277) karlos
2005-08-23 17:04 ` John Jolet
2005-08-23 17:20 ` Neil Bothwick
2005-08-23 18:27 ` Volker Armin Hemmann [this message]
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=200508232027.22821.volker.armin.hemmann@tu-clausthal.de \
--to=volker.armin.hemmann@tu-clausthal.de \
--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