[Top] [All Lists]

Re: user defined cache

To: xfs@xxxxxxxxxxx, Warwick Boote <wboote@xxxxxxxxxxxxx>
Subject: Re: user defined cache
From: Mark <musicman529@xxxxxxxxx>
Date: Thu, 3 Jul 2008 20:51:23 -0700 (PDT)
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=MRLwc9RNPoS1Q6s7hrKJ5FM/mkdOUQ2JB8Nb2f9N+OfUbb3uCGLh4JZ3NVzHwOSdWY/27ijNiLsZjmEK2WDWo00dDFKnIH0uk59j17gczs3RIAJ19MB3UOUTJR1102t81jbR3ZtTz8mLo9qIh5aS1bUTz4SUXZCHP0ZBw3LGU6o=;
In-reply-to: <1215139205.7187.33.camel@quadski>
Reply-to: MusicMan529@xxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
--- On Thu, 7/3/08, Warwick Boote <wboote@xxxxxxxxxxxxx> wrote:
> Hi all,
> Do you know of setting or layered file system that enables
> me to define
> a large buffer in main memory and cache writes to this
> buffer?
> Obviously i'd need the file system to also read from
> this buffer if the
> data hasn't been flushed to the disk yet.

XFS supports the following mount options, and they do 
increase throughput somewhat on my system:

logbufs=N (helps concurrency)
logbsize=N (helps log buffering)

If you are using an internal XFS log, you may also try 
"nobarrier" to reduce force-to-disk write frequency. 
NB: I have seen this option discussed on this mailing 
list, but I do not see it in the mount(8) man page.

Bear in mind that the XFS log is for metadata, rather than 
actual file data. This may be what you're looking for, or at
least sufficient; if not, my apologies.

"What better place to find oneself than
 on the streets of one's home village?"
      --Capt. Jean-Luc Picard, "Family"

<Prev in Thread] Current Thread [Next in Thread>