aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorGreg Banks <gnb@sgi.com>2007-03-06 04:42:23 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-06 12:30:26 -0500
commit42a7fc4a6598221f1a547a76cdd45a8ab4d90e93 (patch)
treeb785321af2e530e25e79924e8c11ef9dc8463244 /Documentation
parentcda1fd4abd773216a888487af0170d0cc3d50454 (diff)
[PATCH] knfsd: provide sunrpc pool_mode module option
Provide a module param "pool_mode" for sunrpc.ko which allows a sysadmin to choose the mode for mapping NFS thread service 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". The pool mode can be changed after boot/modprobe using /sys, if the NFS and lockd services have been shut down. A useful side effect of this change is to fix a small memory leak when unloading the module. Signed-off-by: Greg Banks <gnb@melbourne.sgi.com> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/kernel-parameters.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 03eb5ed503f7..6e92ba61f7c0 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1685,6 +1685,22 @@ and is between 256 and 4096 characters. It is defined in the file
1685 stifb= [HW] 1685 stifb= [HW]
1686 Format: bpp:<bpp1>[:<bpp2>[:<bpp3>...]] 1686 Format: bpp:<bpp1>[:<bpp2>[:<bpp3>...]]
1687 1687
1688 sunrpc.pool_mode=
1689 [NFS]
1690 Control how the NFS server code allocates CPUs to
1691 service thread pools. Depending on how many NICs
1692 you have and where their interrupts are bound, this
1693 option will affect which CPUs will do NFS serving.
1694 Note: this parameter cannot be changed while the
1695 NFS server is running.
1696
1697 auto the server chooses an appropriate mode
1698 automatically using heuristics
1699 global a single global pool contains all CPUs
1700 percpu one pool for each CPU
1701 pernode one pool for each NUMA node (equivalent
1702 to global on non-NUMA machines)
1703
1688 swiotlb= [IA-64] Number of I/O TLB slabs 1704 swiotlb= [IA-64] Number of I/O TLB slabs
1689 1705
1690 switches= [HW,M68k] 1706 switches= [HW,M68k]