public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Dynamically change PORTAGE_TMPDIR via bashrc?
Date: Sat, 26 Sep 2015 11:21:30 -0400	[thread overview]
Message-ID: <CAGfcS_mBdfN3xmcxupNwuV9Ddpt1CkUCLYH=v4ZLaADwHzGDQQ@mail.gmail.com> (raw)
In-Reply-To: <loom.20150926T160545-925@post.gmane.org>

On Sat, Sep 26, 2015 at 10:08 AM, James <wireless@tampabay.rr.com> wrote:
> Florian Gamböck <ml <at> floga.de> writes:
>> Now, before I try some crazy stunts like bind-mounting $D and $ED on "preinst"
>> and cleaning up in "postinst", I wanted to know if some of you guys did
>> similar experiments and/or have some advice that you could share with me.
>
> I have been following 'bcache' as an interesting addition to complex
> compiling scenarios. I'm not certain how it will help your 'wild ideas',
> but it is worth a look, imho [1]

Honestly, I'm hard-pressed to think of situations where you're better
off with anything other than either tmpfs or whatever filesystem your
/usr happens to be on.

However, if you do want to build on something like bcachefs and you're
using an ssd you might just want to use a pure log-based filesystem
like f2fs.  You can afford to go far more experimental for temp space.
I haven't studied the design of bcachefs closely, so I'm not sure how
it would compare for this use.  I know it has made a bunch of noise
lately, though honestly I'm not impressed with some of the hype (not
something I blame the authors for - more the groupies).

One thing that both zfs and bcachefs seem to be doing (not that I'm in
an expert in either) is taking a multi-tiered approach to storage.
That is, writes can go into a durable log on a separate device and
then be consolidated onto more long-term storage.  I suspect that this
might help with some of the fragmentation issues that you run into
with COW.  Then again, I don't know how its performance would compare
to just dumping everything right to a single tier like btrfs and then
just periodically having some kind of smart defragmenter that just
cleans up the stuff that really needs it.

-- 
Rich


  reply	other threads:[~2015-09-26 15:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-26  8:08 [gentoo-user] Dynamically change PORTAGE_TMPDIR via bashrc? Florian Gamböck
2015-09-26 14:08 ` [gentoo-user] " James
2015-09-26 15:21   ` Rich Freeman [this message]
2015-09-26 16:35     ` James
2015-09-27 13:13   ` [gentoo-user] " Florian Gamböck

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='CAGfcS_mBdfN3xmcxupNwuV9Ddpt1CkUCLYH=v4ZLaADwHzGDQQ@mail.gmail.com' \
    --to=rich0@gentoo.org \
    --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