public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark <musicman529@yahoo.com>
To: xfs@oss.sgi.com, Warwick Boote <wboote@civica.com.au>
Subject: Re: user defined cache
Date: Thu, 3 Jul 2008 20:51:23 -0700 (PDT)	[thread overview]
Message-ID: <328802.35603.qm@web34507.mail.mud.yahoo.com> (raw)
In-Reply-To: <1215139205.7187.33.camel@quadski>

--- On Thu, 7/3/08, Warwick Boote <wboote@civica.com.au> 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.
-- 
Mark

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

  reply	other threads:[~2008-07-04  3:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-04  2:40 user defined cache Warwick Boote
2008-07-04  3:51 ` Mark [this message]
2008-07-04  4:03 ` Dave Chinner

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=328802.35603.qm@web34507.mail.mud.yahoo.com \
    --to=musicman529@yahoo.com \
    --cc=wboote@civica.com.au \
    --cc=xfs@oss.sgi.com \
    /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