[pnfs] [PATCH] increase number of RPC slots

William A. (Andy) Adamson andros at citi.umich.edu
Fri Oct 12 14:54:24 EDT 2007


On 10/12/07, Talpey, Thomas <Thomas.Talpey at netapp.com> wrote:
>
> I still think it's high! In any case, why not just use
>         sysctl -w sunrpc.tcp_slot_table_entries=64
> ?


because that does not change the sessions code.....

-->Andy

Tom.
>
> At 12:41 PM 10/12/2007, William A. (Andy) Adamson wrote:
> >Hi Tom
> >
> >
> >this is a change to <http://2.6.18.3>2.6.18.3 version only - and it is in
> place of code that sync's the # of session slots to the number of rpc_slots.
> currently, the # of session slots is bound at compile time to the default #
> of rpc_slots.
> >
> >we are freezing features on <http://2.6.18.3>2.6.18.3, and using this
> version for performance tesing/demonstrations until the
> linux-pnfs-2.6.-latest kernel is ready.
> >
> >-->Andy
> >
> >On 10/12/07, Talpey, Thomas <<mailto:Thomas.Talpey at netapp.com>
> Thomas.Talpey at netapp.com> wrote:
> >This number seems very high as a global default. Can you give
> >some more background on this change?
> >
> >Tom.
> >
> >At 11:31 AM 10/12/2007, Marc Eshel wrote:
> >>From: Marc Eshel <<mailto:eshel at almaden.ibm.com> eshel at almaden.ibm.com>
> >>
> >>
> >>---
> >>
> >> include/linux/sunrpc/xprt.h |    2 +-
> >> 1 files changed, 1 insertions(+), 1 deletions(-)
> >>
> >>diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h
> >>index ae36773..5fc0141 100644
> >>--- a/include/linux/sunrpc/xprt.h
> >>+++ b/include/linux/sunrpc/xprt.h
> >>@@ -22,7 +22,7 @@ extern unsigned int xprt_udp_slot_table_
> >> extern unsigned int xprt_tcp_slot_table_entries;
> >>
> >> #define RPC_MIN_SLOT_TABLE    (2U)
> >>-#define RPC_DEF_SLOT_TABLE    (16U)
> >>+#define RPC_DEF_SLOT_TABLE    (64U)
> >> #define RPC_MAX_SLOT_TABLE    (128U)
> >>
> >> /*
> >>_______________________________________________
> >>pNFS mailing list
> >><mailto:pNFS at linux-nfs.org>pNFS at linux-nfs.org
> >>http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/pnfs/attachments/20071012/86164193/attachment.htm 


More information about the pNFS mailing list