From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 27 15:43:59 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 13711B22 for ; Thu, 27 Dec 2012 15:43:59 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by mx1.freebsd.org (Postfix) with ESMTP id C2A158FC0A for ; Thu, 27 Dec 2012 15:43:58 +0000 (UTC) Received: by mail-ob0-f172.google.com with SMTP id za17so8953034obc.31 for ; Thu, 27 Dec 2012 07:43:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Aj5YdrHU9e3+s09rFi9qWAFrdnl1hGn/yoKkvzdIWbY=; b=bMEsFPsoJ3Ml3g6lxqLJBs0n8iqX1q9yi0VjsWgMic2gyqxC9lqZ9hA/BYe2fulVwf sVVIWocyWf7Wmzli5XgmhkVPbozRs+AHLNh0g6d6zSIIhW80Xb+afxIlJfRKE6Pn6Mp0 a4zLqKvtt/PdNBpg+1qHIlZlZs0EJgdE6kgzrYA+ZSS3oaFnlCIR6PjAd9TL03TCmsg6 pQG5i8P602JLkBAKD4U2W/4cr1ctXEixifvMyasBip/oDEn9gSEX0ynka81I+McynjQh 7hez3fKsyQPJWwyNklV/TETJt2ylMXul0kKGdcGP806wAuCe63YAKIS4JeIQiqrQE5qI /tqA== MIME-Version: 1.0 Received: by 10.60.0.165 with SMTP id 5mr13927987oef.128.1356623032183; Thu, 27 Dec 2012 07:43:52 -0800 (PST) Received: by 10.76.143.33 with HTTP; Thu, 27 Dec 2012 07:43:52 -0800 (PST) In-Reply-To: <20121227152804.3fab55e8@gumby.homeunix.com> References: <20121227152804.3fab55e8@gumby.homeunix.com> Date: Thu, 27 Dec 2012 07:43:52 -0800 Message-ID: Subject: Re: cvs deprecated From: Garrett Cooper To: RW Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2012 15:43:59 -0000 On Thu, Dec 27, 2012 at 7:28 AM, RW wrote: > On Thu, 27 Dec 2012 02:33:00 -0800 > Garrett Cooper wrote: > >> On Thu, Dec 27, 2012 at 2:30 AM, Chris Rees wrote: >> > > >> > I recall a cluster administrator advising use of svn protocol >> > rather than http. Something to do with overheads. >> >> Yes, you're right. http opens a connection per-file, which is >> horrendous with server load and is very slow as HTTP isn't optimized >> for this purpose > > Presumably that's a limitation of the library or subversion because it's > not true of HTTP per se. Portsnap, for example, uses persistent > connections with pipelining. An example of what I mean [1]: ======================= A checkout/update over svn:// is approx 4-12 times faster than over http(s):// . The factor depends on number of files/folders and file size . Apache is much slower on many small files because each file is a full http-request-response cycle. In Tortoise you can easily see the speed dropping: Checkout a large java projects If you transfer a huge .jar, transfer is going up, on getting source java files and creating package structure, it will drop. Also important is that svn checkout is slower on client than svn export and also eclipse(java) is much slower than tortoise/CMD. share|improve this answer ======================= Qualitatively we (my group) have seen a huge performance increase in our svnsyncs from freebsd.org using svn:// instead of http:// . We haven't measured how much the difference is quantatively though because a qualitative answer was sufficient for helping reinforce a business case for unfiltering that port with corporate. HTH, -Garrett 1. http://stackoverflow.com/questions/372569/subversion-protocol-performance