From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8132 invoked by alias); 13 Oct 2011 21:59:55 -0000 Received: (qmail 8123 invoked by uid 22791); 13 Oct 2011 21:59:54 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 13 Oct 2011 21:59:36 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9DLxWrW029505 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 13 Oct 2011 17:59:33 -0400 Received: from host1.jankratochvil.net (ovpn-116-16.ams2.redhat.com [10.36.116.16]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p9DLxTW8013194 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 13 Oct 2011 17:59:32 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p9DLxS30014267; Thu, 13 Oct 2011 23:59:28 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p9DLxSn1014266; Thu, 13 Oct 2011 23:59:28 +0200 Date: Thu, 13 Oct 2011 21:59:00 -0000 From: Jan Kratochvil To: "Joseph S. Myers" Cc: Phil Muldoon , gdb@sourceware.org Subject: Re: GIT and CVS Message-ID: <20111013215927.GA13931@host1.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-10/txt/msg00086.txt.bz2 On Thu, 13 Oct 2011 23:50:33 +0200, Joseph S. Myers wrote: > Even with local disk, git is much more I/O intensive. I timed looking at > logs from a glibc checkout on local disk: > > $ time git log > /dev/null > > real 0m18.324s > user 0m0.560s > sys 0m0.304s $ time git log >/dev/null real 0m0.374s user 0m0.330s sys 0m0.041s You cannot count the first operation, before ./.git gets cached. The first read is deficiency of kernel filesystem, pre-read and/or no SSD on your system. Regards, Jan