[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs pserver performance

From: Larry Jones
Subject: Re: cvs pserver performance
Date: Fri, 26 Jan 2001 15:26:46 -0500 (EST)

Russ Tremain writes:
> I have, but I think these occur when the client doesn't close down the
> connection to the server properly.  Sometimes I have pserver process
> that hangs around for a couple of days, and I (or someone else)
> kills these off by hand with kill -9.  This will leave the server
> directory around.  A normal kill seems to clean up after itself.

Interesting.  The server is supposed to use the SO_KEEPALIVE socket
option to detect broken connections; I wonder why it's not working.  And
note that kill -9 should be the last resort for dealing with hung
processes, not the first resort.

> Overall, however, the results are fairly astonishing using
> tmpfs for both cvs /tmp and locks - a 1400% improvement over
> a simple UFS approach. 

I'm not surprised -- you're creating and deleting lots of directories
and small files, so you're doing a lot of directory manipulation which
requires synchronous I/O on a UFS file system and thus is very slow.

-Larry Jones

Hey Doc, for 10 bucks I'll make sure you see those kids in the
waiting room again real soon! -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]