From: David Teigland Date: Tue, 20 Mar 2007 09:31:38 -0500 Subject: [Cluster-devel] [GFS2] Speed up lock_dlm's locking (move sprintf) In-Reply-To: <1174237455.32601.140.camel@quoit.chygwyn.com> References: <1174237455.32601.140.camel@quoit.chygwyn.com> Message-ID: <20070320143137.GB20026@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 Sun, Mar 18, 2007 at 05:04:15PM +0000, Steven Whitehouse wrote: > Hi, > > The following patch speeds up lock_dlm's locking by moving the sprintf > out from the lock acquisition path and into the lock creation path. This > reduces the amount of CPU time used in acquiring locks by a fair amount, and adds 26 bytes to each lock. Ack, fine with me. (I've wanted to quit using string names but I've been lazy and still have a number of printf's on the names in the dlm) Dave