linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Volker Lendecke <Volker.Lendecke@SerNet.DE>
To: Theodore Tso <tytso@MIT.EDU>
Cc: Andreas Dilger <adilger@sun.com>,
	samba-technical@samba.org,
	linux-fsdevel <linux-fsdevel@vger.kernel.org>,
	linux-cifs-client@lists.samba.org, Jeremy Allison <jra@samba.org>
Subject: Re: Samba speed
Date: Tue, 9 Dec 2008 08:50:56 +0100	[thread overview]
Message-ID: <E1L9xMu-00D9F1-TU@intern.SerNet.DE> (raw)
In-Reply-To: <20081209065509.GB13153@mit.edu>

[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]

On Tue, Dec 09, 2008 at 01:55:09AM -0500, Theodore Tso wrote:
> 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.

One might try to use "dd" from Cygwin on Windows. When I
once analyzed this behaviour, the 1-byte writes were exactly
at the end of the block the Win32 app gave to the kernel as
seen by the sysinternals filemon tool.

Volker

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-12-09  7:50 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
2008-12-09  7:50               ` Volker Lendecke [this message]
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=E1L9xMu-00D9F1-TU@intern.SerNet.DE \
    --to=volker.lendecke@sernet.de \
    --cc=adilger@sun.com \
    --cc=jra@samba.org \
    --cc=linux-cifs-client@lists.samba.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=samba-technical@samba.org \
    --cc=tytso@MIT.EDU \
    /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).