From: David Dillow Subject: Re: [PATCH] srp: convert SRP_RQ_SHIFT into a module parameter Date: Wed, 30 May 2012 01:24:25 -0400 Message-ID: <1338355465.2361.26.camel@obelisk.thedillows.org> References: <4FB39D78.9020300@itwm.fraunhofer.de> <1337177200.2985.71.camel@dabdike.int.hansenpartnership.com> <4FB3B9DE.1050903@itwm.fraunhofer.de> <4FB3C75F.3070903@cs.wisc.edu> <4FB3CDC5.9040608@itwm.fraunhofer.de> <1337187813.21009.14.camel@frustration.ornl.gov> <4FBA6412.7040505@itwm.fraunhofer.de> <1338355352.2361.24.camel@obelisk.thedillows.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1338355352.2361.24.camel-1q1vX8mYZiGLUyTwlgNVppKKF0rrzTr+@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Bernd Schubert Cc: Mike Christie , James Bottomley , "linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-rdma@vger.kernel.org On Wed, 2012-05-30 at 01:22 -0400, David Dillow wrote: > On Mon, 2012-05-21 at 17:49 +0200, Bernd Schubert wrote: > > David, below is a first version to convert SRP_RQ_SHIFT into a new > > module option "srp_rq_size". I already tested it, but I also need to > > re-read it myself. > > > > Author: Bernd Schubert > > Date: Mon May 21 10:25:01 2012 +0200 > > > > infiniband/srp: convert SRP_RQ_SHIFT into a module parameter > > > > When SRP_RQ_SHIFT is a fix parameter the optimal value is unclear. > > The current value of 6 might be too small for several storage systems > > and larger values might take too much memory for other systems. > > So make it a parameter and let the admin decide. > > This shouldn't be a module parameter; if at all possible, all new > parameters should be specified on a per-target basis, with reasonable > defaults. srp_rq_size isn't the right ... name. "queue_depth" or "max_cmd" or "can_queue" would be better. -- Dave Dillow National Center for Computational Science Oak Ridge National Laboratory (865) 241-6602 office -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html