From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Teigland Date: Wed, 20 Dec 2006 09:53:53 -0600 Subject: [Cluster-devel] DLM thoughts - multi threaded recvd In-Reply-To: <45895059.9030506@redhat.com> References: <45895059.9030506@redhat.com> Message-ID: <20061220155353.GA8787@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, Dec 20, 2006 at 03:01:45PM +0000, Patrick Caulfield wrote: > One of the things that Andrew Morton commented on when taking the DLM > was that that there is a single dlm_recvd process (and sendd too) > processing incoming requests and it could become a bottleneck on large > systems. Yes, dlm_recvd does quite a bit of work per message, I could see a backlog as a real possibility. Whether there are very dire effects of that I'm not sure. > > So, I've been thinking how to make this scale a little better and have > come up with several things. > > 1. How do we decide how many threads to start? I think we just pick a default number that will work well for most use cases, probably something like 2, and then allow it to be configured. Or, create one or two threads per lockspace.