From: Greg Banks <gnb@sgi.com>
To: Neil Brown <neilb@suse.de>
Cc: Linux NFS Mailing List <nfs@lists.sourceforge.net>
Subject: Re: [PATCH] provide sunrpc pool_mode module option
Date: Thu, 22 Feb 2007 14:16:30 +1100 [thread overview]
Message-ID: <20070222031630.GD27743@sgi.com> (raw)
In-Reply-To: <17884.65022.790059.307696@notabene.brown>
On Thu, Feb 22, 2007 at 01:20:46PM +1100, Neil Brown wrote:
> On Thursday February 22, gnb@sgi.com wrote:
> >
> > Provide a module option "pool_mode" for sunrpc.ko which allows a
> > sysadmin to choose the mode for mapping svc_pools to CPUs. Values are:
> >
> > auto choose a mapping mode heuristically
> > global (default, same as the pre-2.6.19 code) a single global pool
> > percpu one pool per CPU
> > pernode one pool per NUMA node
> >
> > Note that since 2.6.19 the hardcoded behaviour has been "auto",
> > this patch makes the default "global".
>
> -ENODOC .... Documentation/kernel-parameters.txt should have this
> documented as sunrpc.pool_mode
My bad, I'll fix it.
> It bugs me slightly that you can only set this once. If you want to
> try a different option you have to reboot unless sunrpc is a module in
> which case you can rmmod and insmod.
Indeed.
> What would you think of making 'initialised' a count of active
> services that gets decremented from svc_destroy? Then you could just
> stop all nfsd (and lockd) threads, write a new value to
> /sys/module/sunrpc/parameters/pool_mode
> and restart the threads.
Sounds useful, I'll look into it. V2 patch coming soon.
Greg.
--
Greg (not Dave) Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
prev parent reply other threads:[~2007-02-22 3:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-21 14:58 [PATCH] provide sunrpc pool_mode module option Greg Banks
2007-02-22 2:20 ` Neil Brown
2007-02-22 3:16 ` Greg Banks [this message]
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=20070222031630.GD27743@sgi.com \
--to=gnb@sgi.com \
--cc=neilb@suse.de \
--cc=nfs@lists.sourceforge.net \
/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