[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080514223547.GG23758@shareable.org>
Date: Wed, 14 May 2008 23:35:47 +0100
From: Jamie Lokier <jamie@...reable.org>
To: Sage Weil <sage@...dream.net>
Cc: Jeff Garzik <jeff@...zik.org>,
Evgeniy Polyakov <johnpol@....mipt.ru>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: Re: POHMELFS high performance network filesystem. Transactions, failover, performance.
Sage Weil wrote:
> It's the 'single node' part that concerns me. As long as that node is
> ensuring there is consensus behind the scenes before handing out said
> signature. Otherwise you can't be sure you're not getting an old
> signature for old data..
Sounds like a transaction serialisation problem?
> This is more or less what I ended up doing. Since the workload is
> mostly-read, the paxos leader gives non-leaders leases to process reads in
> parallel, and new elections or state changes wait if necessary to ensure
> old leases are revoked or expire before any new leases on new values are
> issued.
My design has something similar, but I think more like MOESI protocol
analogous to CPUs. There are read leases which are revoked by
explicit confirmation or waiting for them to expire, but that's only
required when serialisation forces a particular access order, and it
can be speculated around. Like MOESI, it adapts between mostly-read
and mostly-write workloads.
-- Jamie
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists