Michael Mol wrote:
On Fri, Dec 30, 2011 at 2:31 AM, Dale<rdalek1...@gmail.com>  wrote:
Michael Mol wrote:
On Thu, Dec 29, 2011 at 9:23 PM, Claudio Roberto França Pereira
<spide...@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.


This is my fstab line:

tmpfs    /var/tmp/portage tmpfs    noatime      0 0

According to df it is this size:

tmpfs    8232940    3008   8229932   1% /var/tmp/portage

So it defaults to half the ram you have. I read that somewhere so I set mine up that way since from what I read, it can grow if needed. So far, I have had no problems with it set this way. Even LOo compiles with no problems.

Right now, I'm having a issue with phonon-gstreamer-4.5.1 so the failed emerge is still there. If it hadn't failed, it would be using 0 space.

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"


Reply via email to