* Re: [gentoo-user] Re: Digest of gentoo-user@gentoo.org issue 281 (19228-19277)
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
2 siblings, 0 replies; 4+ messages in thread
From: John Jolet @ 2005-08-23 17:04 UTC (permalink / raw
To: gentoo-user
I wouldn't do anything to the swap file. If you ADDED memory, you do NOT need
to make your swap file any bigger. If you didn't set the hard disk up with
lvm or some other volume management scheme, it's kind of risky to move things
around. Traditionally, the rule of thumb was 1.5 x real memory size for the
swap file, but once you get 512 or more of ram, it gets fuzzy. If you REALLY
want more swap, create a new swap partition, or a swap file and turn it on.
you can have more than one source of swap (though I caution that they should
be the same size, since most unix variants use swap round-robin).
On Tuesday 23 August 2005 11: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?
>
> 2. Is the Alsa-RTC actually already applied to the kernel and if not,
> how do I add the diff files from the alsa-driver package to the
> kernel. Never did that before so no clue.
>
> Thanks,
>
> Karsten
--
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
john@jolet.net
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Re: Digest of gentoo-user@gentoo.org issue 281 (19228-19277)
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
2 siblings, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2005-08-23 17:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 793 bytes --]
On Tue, 23 Aug 2005 16:58:25 +0000, karlos wrote:
> 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?
You probably don't need to change the size of the swap partition. 2XRAM is
only a guideline. If you do need more swap space, it is probably easier
to add another swap partition rather than trying to enlarge the one you
have. Use QTparted to shrink an existing partition by, the amount you
need and create the partition, then add it to /etc/fstab. Copy the
existing swap line and change the device name/number.
--
Neil Bothwick
Dream as if you'll live forever. Live as if you'll die today.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Re: Digest of gentoo-user@gentoo.org issue 281 (19228-19277)
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
2 siblings, 0 replies; 4+ messages in thread
From: Volker Armin Hemmann @ 2005-08-23 18:27 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread