9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Bakul Shah <bakul+plan9@bitblocks.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Plan9 topology
Date: Fri, 14 Jan 2011 12:44:59 -0800	[thread overview]
Message-ID: <20110114204459.8048F5C25@mail.bitblocks.com> (raw)
In-Reply-To: Your message of "Fri, 14 Jan 2011 14:13:48 EST." <ba43b79b9c4e6d0356c50f8648cd1e79@brasstown.quanstro.net>

On Fri, 14 Jan 2011 14:13:48 EST erik quanstrom <quanstro@quanstro.net>  wrote:
> > > > Not in the sense that you can purge specific files you don't
> > > > want and continue using the same venti. But you can do what a
> > > > copying garbage collector does -- it copies all the data
> > > > *reachable* from the data `roots' (a set of objects you know
> > > > you want). What is left behind is considered garbage and can
> > > > be recycled.
> > >
> > > that's wrong.  there is no such function.
> >
> > Huh?  I am just described what copying garbage collection
> > does.  If you mean you can't do something similar with venti,
> > think about it!
>
> what i understood the op to mean was that venti arenas are
> garbage collectable.  this is not true.  arenas are write once,
> so it follows they must be impossible to garbage collect.

You can't delete specific files from a given venti as we
know.

When Duke wrote "purge what isn't needed" I assumed he was
talking about a common use case, where one keeps frequent
backups of the recent past and less and less frequent backups
of points further back in time.  [For instance, at $work they
keep daily backups for a week, weeklies for a month,
monthlies for a quarter and so on.] This can be simulated
with venti by periodically running

    venti/copy $srcventi $dstventi $rootscore

using root score for each of the backups of interest.  Once
they are all copied, srcventi has nothing of interest that is
not already copied so now it can be "emptied out" and reused.
This is exactly like a copying GC.  Whether doing this makes
sense is a separate question.



  parent reply	other threads:[~2011-01-14 20:44 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-13 18:38 Duke Normandin
2011-01-13 18:48 ` dukeofperl
2011-01-13 18:50 ` David Leimbach
2011-01-13 19:16   ` Skip Tavakkolian
2011-01-13 19:31     ` Duke Normandin
2011-01-13 19:37       ` Jacob Todd
2011-01-13 19:44       ` Skip Tavakkolian
2011-01-13 20:08         ` Duke Normandin
2011-01-13 21:01           ` Tassilo Philipp
2011-01-13 21:39           ` Brian L. Stuart
2011-01-13 22:49             ` Duke Normandin
2011-01-14  3:27               ` blstuart
2011-01-14  4:02                 ` erik quanstrom
2011-01-14  4:18                   ` Duke Normandin
2011-01-14  4:04                 ` Duke Normandin
2011-01-14  0:00           ` Federico G. Benavento
2011-01-14  3:26             ` Duke Normandin
2011-01-13 19:46     ` Bakul Shah
2011-01-13 20:11       ` erik quanstrom
2011-01-13 19:40   ` Duke Normandin
2011-01-13 20:07     ` John Floren
2011-01-13 20:24       ` Duke Normandin
2011-01-13 20:40         ` John Floren
2011-01-13 21:37           ` Duke Normandin
2011-01-13 21:59             ` Brian L. Stuart
2011-01-13 22:32               ` Duke Normandin
2011-01-13 23:18             ` John Floren
2011-01-14  3:42               ` Duke Normandin
2011-01-14  4:03                 ` John Floren
2011-01-14  4:05                   ` erik quanstrom
2011-01-14  4:15                   ` Duke Normandin
2011-01-14  4:22                     ` John Floren
2011-01-14  4:31                       ` Duke Normandin
2011-01-14  4:35                         ` Jacob Todd
2011-01-14 17:51                         ` Bakul Shah
2011-01-14 17:54                           ` erik quanstrom
2011-01-14 18:14                             ` Bakul Shah
2011-01-14 19:13                               ` erik quanstrom
2011-01-14 19:24                                 ` Duke Normandin
2011-01-14 20:44                                 ` Bakul Shah [this message]
2011-01-14 18:15                             ` Charles Forsyth
2011-01-14 18:14                         ` Federico G. Benavento
2011-01-14 18:35                           ` Duke Normandin
2011-01-14 14:58 erik quanstrom
2011-01-14 17:14 ` Duke Normandin
2011-01-14 17:40   ` erik quanstrom
2011-01-14 18:58     ` Duke Normandin
2011-01-14 19:09       ` erik quanstrom
2011-01-14 19:23       ` Charles Forsyth
2011-01-14 19:22         ` Duke Normandin
2011-01-15  0:16           ` Charles Forsyth

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=20110114204459.8048F5C25@mail.bitblocks.com \
    --to=bakul+plan9@bitblocks.com \
    --cc=9fans@9fans.net \
    /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;
as well as URLs for NNTP newsgroup(s).