From: Michael Mol <mikemol@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] To swap or not to swap? Is it really needed?
Date: Fri, 30 Dec 2011 08:32:01 -0500 [thread overview]
Message-ID: <CA+czFiB5K-5yVq984znJCo88w7q=2gwnEB0kfDurRNGqinCYgw@mail.gmail.com> (raw)
In-Reply-To: <4EFD68E8.1020702@gmail.com>
On Fri, Dec 30, 2011 at 2:31 AM, Dale <rdalek1967@gmail.com> wrote:
> Michael Mol wrote:
>>
>> On Thu, Dec 29, 2011 at 9:23 PM, Claudio Roberto França Pereira
>> <spideybr@gmail.com> wrote:
>>>
>>> ZRAM is a compressed ramdisk for swap, right? I'm really not
>>> interested currently.
>>> My next system will have 16gb of ram, and I'll create an 8gb ramdisk
>>> on it to increase emerge performance. Other than that, I'm pretty
>>> happy with my system performance, disabling swap and compositing
>>> effects (remember, open source radeon drivers, I might try fglrx again
>>> but I really liked KMS) did the trick.
>>
>> 8GB isn't enough for some packages. Though putting it on top of zram
>> might work. I don't know how you'd calculate the free space, though,
>> and portage would check in advance.
>>
>
> I have portages work directory on tmpfs and it works fine. I don't have it
> set to a specific amount so it uses whatever it needs. It even works fine
> with LOo. I have 16Gbs in all but it rarely uses more than 4Gbs. Of
> course, I don't just sit here and watch it either. I start my updates and
> usually go to bed.
Hm. tmpfs defaults (at least on my system) to a capacity of about 3GB.
What do you have for mount options in fstab?
I used to put portage's work directory on tmpfs, but I had to stop
when LO ran out of space in a pre-check, IIRC. Now I have it on top of
a RAID5 it shares with /home.
--
:wq
next prev parent reply other threads:[~2011-12-30 13:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-29 22:34 [gentoo-user] To swap or not to swap? Is it really needed? Claudio Roberto França Pereira
2011-12-29 22:48 ` Alan McKinnon
2011-12-29 23:11 ` Claudio Roberto França Pereira
2011-12-30 0:03 ` Paul Hartman
2011-12-30 2:23 ` Claudio Roberto França Pereira
2011-12-30 3:54 ` Michael Mol
2011-12-30 7:31 ` Dale
2011-12-30 13:32 ` Michael Mol [this message]
2011-12-30 14:02 ` Paul Hartman
2011-12-30 14:11 ` Peter Humphrey
2011-12-30 14:18 ` Paul Hartman
2011-12-30 14:24 ` Dale
2011-12-29 23:09 ` Dale
2011-12-30 2:56 ` [gentoo-user] " Nikos Chantziaras
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='CA+czFiB5K-5yVq984znJCo88w7q=2gwnEB0kfDurRNGqinCYgw@mail.gmail.com' \
--to=mikemol@gmail.com \
--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