linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@MIT.EDU>
To: ronnie sahlberg <ronniesahlberg@gmail.com>
Cc: Andreas Dilger <adilger@sun.com>,
	linux-fsdevel <linux-fsdevel@vger.kernel.org>,
	linux-cifs-client@lists.samba.org, Jeremy Allison <jra@samba.org>,
	samba-technical@samba.org
Subject: Re: Samba speed
Date: Tue, 9 Dec 2008 01:55:09 -0500	[thread overview]
Message-ID: <20081209065509.GB13153@mit.edu> (raw)
In-Reply-To: <c9a3e4540812082225u63041b88xf5deeb61a4dec607@mail.gmail.com>

On Tue, Dec 09, 2008 at 05:25:29PM +1100, ronnie sahlberg wrote:
> 
> Its not as simple as "the redirector does it every 128k".   the
> redirector does this but it varies from run to run and from client to
> client.
> It is very common to see this happening in 60-64kb strides   and other
> strides as well.
> 
> It is probably some interaction with how large the actual i/o that the
> application did internally to the cache and some other thing.
> but anyway, it varies a lot. it is not always 128k.

Is there a maximum stride size used by the redirector?  i.e., will it
use something bigger than 128k?  In any case, increasing the ext3
reservation window size should still be helpful.  It's OK if we
increase it to 32 blocks (128k, on a 4k block filesystem), and the
stride size is smaller than that.  But if it is often bigger than
128k, then then it would probably be better if samba used the
EXT3_IOC_SETRSVSZ ioctl to dynamically set the reservation size as
appropriate.

						- Ted

  reply	other threads:[~2008-12-09  6:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08 18:21 Samba speed Jeremy Allison
2008-12-08 22:39 ` Theodore Tso
2008-12-08 23:12   ` Jeremy Allison
2008-12-08 23:38     ` Theodore Tso
2008-12-09  0:37       ` Andreas Dilger
2008-12-09  6:06         ` Theodore Tso
2008-12-09  6:25           ` ronnie sahlberg
2008-12-09  6:55             ` Theodore Tso [this message]
2008-12-09  7:50               ` Volker Lendecke
2008-12-09 15:40                 ` Richard Sharpe

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=20081209065509.GB13153@mit.edu \
    --to=tytso@mit.edu \
    --cc=adilger@sun.com \
    --cc=jra@samba.org \
    --cc=linux-cifs-client@lists.samba.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=ronniesahlberg@gmail.com \
    --cc=samba-technical@samba.org \
    /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;
as well as URLs for NNTP newsgroup(s).