From: Andrew Morton <akpm@zip.com.au>
To: Urban Widmark <urban@teststation.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] smbfs async readpage
Date: Wed, 07 Aug 2002 10:34:57 -0700 [thread overview]
Message-ID: <3D515A41.938808C0@zip.com.au> (raw)
In-Reply-To: Pine.LNX.4.44.0208071338380.10891-100000@cola.enlightnet.local
Urban Widmark wrote:
>
> On Tue, 6 Aug 2002, Andrew Morton wrote:
>
> > What you can do (please, I'd be interested in checking that it's
> > workable) is to create an smbfs_backing_dev_info, and arrange
> > (in smb_iget) for each new inode's mapping->backing_dev_info
> > to point at it.
>
> Yes, the highest number of pages in action appears to be (mostly) limited
> by what I set ra_pages to. If I set ra_pages to 1 or 2 my printks still
> report up to 4 requests issued, but with 10 I never get more than 10.
> 40 gives something that looks like 40, without actually counting the lines
> ...
That sounds promising.
>
> > Then implement some way of diddling smbfs_backing_dev_info.ra_pages
> > and voila, tunable readahead.
>
> Other fs' seems to be using the default too. New 2.5 feature or does block
> device based filesystems get this value from somewhere else?
> (like the block device they live on?)
Yes, there's a backing_dev_info structure in each block request queue and
a pointer to that is placed in each address_space which is hosted
by that queue.
> If being able to tune readahead is important, I could imagine a desire to
> tune differently on a per-mount basis. So I'd stick it in the smbfs
> superblock and have a readahead=N mount option.
Tunability may be important for preventing bad behaviour rather
than for giving users something good ;) Does readahead across
a n/w filesystem help much?
next prev parent reply other threads:[~2002-08-07 17:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-07 0:15 [PATCH] smbfs async readpage Urban Widmark
2002-08-07 4:57 ` Andrew Morton
2002-08-07 13:04 ` Urban Widmark
2002-08-07 17:34 ` Andrew Morton [this message]
2002-08-07 22:05 ` Urban Widmark
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=3D515A41.938808C0@zip.com.au \
--to=akpm@zip.com.au \
--cc=linux-fsdevel@vger.kernel.org \
--cc=urban@teststation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.