From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Subject: Re: [PATCH 00/14] Pramfs: Persistent and protected ram filesystem Date: Mon, 22 Jun 2009 20:07:06 +0200 Message-ID: <4A3FC84A.6060608@gmail.com> References: <4A33A7A2.1050608@gmail.com> <20090613155957.GA16220@shareable.org> <4A34A394.5040509@gmail.com> <20090621064040.GC1656@ucw.cz> <4A3E6F28.4090404@gmail.com> <20090621205245.GC3254@elf.ucw.cz> <2ea1731b0906212333r20deb71q2f021fc79bcc8a8e@mail.gmail.com> <20090622172003.GB21149@elf.ucw.cz> <4A3FBFF0.40006@am.sony.com> <20090622173704.GC21299@elf.ucw.cz> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=SQDhdJr09/s8LrODxc47gXFWvsxs5P2YteQ15z3FdRo=; b=uAP3YxsBN1EcdxpbwHiwnVygaCjCmkYjG4PCbL9+WTZqDMZnv0DzDSwObIhg7kxZua 1MJAQQ6vJmBOGRytRM7vvqiJX8eokQTKJGyuAEHDREE7OtZIKmwYvUkZm9QXcl7359ww ByzagsBobMsxnjD9c5eB+DNYF2pRfrm7qVjuQ= In-Reply-To: <20090622173704.GC21299@elf.ucw.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Pavel Machek Cc: Tim Bird , Jamie Lokier , Linux Embedded , Linux Kernel , Linux FS Devel , Daniel Walker Pavel Machek wrote: > On Mon 2009-06-22 10:31:28, Tim Bird wrote: >> Pavel Machek wrote: >>>>> How do you handle hard-links, then? >>>> Indeed hard-links are not supported :) Due to the design of this fs >>>> there are some limitations explained in the documentation as not >>>> hard-link, only private memory mapping and so on. However this >>>> limitations don't limit the fs itself because you must consider the >>>> special goal of this fs. >>> I did not see that in the changelog. If it is not general purpose >>> filesystem, it is lot less interesting. >> PRAMFS is not a general purpose filesystem. Please read >> the introductory post to this thread, or look at >> http://pramfs.sourceforge.net/ for more information. > > Yeah, I seen that. It directly contradicts what you say. > I don't think, I think it's very clear: "In summary, PRAMFS is a light-weight, full-featured, and space-efficient special filesystem that is ideal for systems with a block of fast non-volatile RAM that need to access data on it using a standard filesytem interface." >> Since the purpose of PRAMFS is to provide a filesystem >> that is persistent across kernel instantions, it is not >> designed for high speed. Robustness in the face of >> kernel crashes or bugs is the highest priority, so >> PRAMFS has significant overhead to make the window >> of writability to the filesystem RAM as small as possible. > > Really? So why don't you use well known, reliable fs like ext3? > >> This is not a file system one would do kernel compiles on. >> This is where someone would keep a small amount of sensitive >> data, or crash logs that one needed to preserve over kernel >> invocations. > > Really? Web page says: > > #2. If the backing-store RAM is comparable in access speed to system > #memory, there's really no point in caching the file I/O data in the > #page cache. Better to move file data directly between the user buffers > #and the backing store RAM, i.e. use direct I/O. This prevents the > #unnecessary > > So you don't cache it "because its fast", and then it is 13MB/sec? > > Pavel