[3965] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: is cache-only-prefixes an nnpfs limitation?

daemon@ATHENA.MIT.EDU (Pavel Cahyna)
Wed Jun 21 05:21:17 2006

From arla-drinkers-bounces@stacken.kth.se Wed Jun 21 09:21:16 2006
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 12450 invoked from network); 21 Jun 2006 09:21:16 -0000
Received: from mx1.kth.se (130.237.32.140)
  by charon.mit.edu with SMTP; 21 Jun 2006 09:21:16 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx1.kth.se (Postfix) with ESMTP id C42DF141A66;
	Wed, 21 Jun 2006 11:21:15 +0200 (CEST)
Received: from mx1.kth.se ([127.0.0.1])
 by localhost (mx1.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 19627-01-82; Wed, 21 Jun 2006 11:21:14 +0200 (CEST)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
	by mx1.kth.se (Postfix) with ESMTP id 3E8CA140EB2;
	Wed, 21 Jun 2006 11:21:14 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
	by tapas.stacken.kth.se (Postfix) with ESMTP id EC79F534FC;
	Wed, 21 Jun 2006 11:21:13 +0200 (CEST)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
	by tapas.stacken.kth.se (Postfix) with ESMTP id 0B768534FC
	for <arla-drinkers@tapas.stacken.kth.se>;
	Wed, 21 Jun 2006 11:21:11 +0200 (CEST)
Received: from mx3.kth.se (mx3.kth.se [130.237.48.97])
	by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id k5L9LBAr012194
	for <arla-drinkers@stacken.kth.se>;
	Wed, 21 Jun 2006 11:21:11 +0200 (MET DST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mx3.kth.se (Postfix) with ESMTP id 2BE251409FF
	for <arla-drinkers@stacken.kth.se>;
	Wed, 21 Jun 2006 11:21:11 +0200 (CEST)
Received: from mx3.kth.se ([127.0.0.1])
	by localhost (mx3.kth.se [127.0.0.1]) (amavisd-new,
	port 10024) with LMTP
	id 09757-01-60 for <arla-drinkers@stacken.kth.se>;
	Wed, 21 Jun 2006 11:21:10 +0200 (CEST)
Received: from artax.karlin.mff.cuni.cz (artax.karlin.mff.cuni.cz
	[195.113.31.125]) by mx3.kth.se (Postfix) with ESMTP id EE1E8140B7E
	for <arla-drinkers@stacken.kth.se>;
	Wed, 21 Jun 2006 11:21:09 +0200 (CEST)
Received: by artax.karlin.mff.cuni.cz (Postfix, from userid 18322)
	id 2297E487D; Wed, 21 Jun 2006 11:21:06 +0200 (CEST)
Date: Wed, 21 Jun 2006 11:21:06 +0200
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
To: arla-drinkers@stacken.kth.se
Subject: Re: is cache-only-prefixes an nnpfs limitation?
Message-ID: <20060621092106.GC12107@artax.karlin.mff.cuni.cz>
Mail-Followup-To: arla-drinkers@stacken.kth.se
References: <x3mzf1bugb.fsf@nowhere.com> <lsrpsjxtyim.fsf@kashyyyk.ite.kth.se>
	<x33bgskjcm.fsf@nowhere.com> <lsrpsjwsbe8.fsf@kashyyyk.ite.kth.se>
	<x38xqetym2.fsf@nowhere.com> <lsrfykmpliu.fsf@kashyyyk.ite.kth.se>
Mime-Version: 1.0
Content-Disposition: inline
In-Reply-To: <lsrfykmpliu.fsf@kashyyyk.ite.kth.se>
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Status: No, hits=-3.9 tagged_above=-200.0 required=5.0 tests=BAYES_00, 
	FROM_ENDS_IN_NUMS
X-Spam-Level: 
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>, 
	<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se
X-Virus-Scanned: by amavisd-new at kth.se

Hello,

sorry for replying to this old thread...

On Sun, Apr 09, 2006 at 10:00:09PM +0200, Tomas Olsson wrote:
> Adam Megacz <megacz@cs.berkeley.edu> writes:
> >   - Do remote-filesystem file have to map 1:1 exactly to local files?
> >     Or do remote blocks map to local files?  Or do remote blocks map
> >     to local blocks?
> >
> Traditionally it's 1:1 for data, plus possibly some lookup sugar. nnpfs
> just has one "cache file" handle per fid.
> 
> For the current block prototype we use the same idea, but just split data
> in fixed size chunks in the simplest possible way and use those cache files
> as we use the single file today.  The chunk size is configurable but
> assumed to be a power of 2.  For some reason I'm also assuming a 1:1
> mapping between (fid, offset) and cache "block" file.

I have an idea, could the 1:1 mapping stay, with the cache file becoming a
"sparse file"?  The "holes" would fill the part of the cache file that
does not contain valid data.

Pavel Cahyna
_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers

home help back first fref pref prev next nref lref last post