All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: Bruno Cesar Ribas <ribas@c3sl.ufpr.br>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH] gitweb: Use config file or file for repository owner's name.
Date: Tue, 05 Feb 2008 02:04:51 -0800 (PST)	[thread overview]
Message-ID: <m34pcn67nu.fsf@localhost.localdomain> (raw)
In-Reply-To: <20080205044121.GA13263@c3sl.ufpr.br>

Bruno Cesar Ribas <ribas@c3sl.ufpr.br> writes:

> On Wed, Jan 30, 2008 at 07:06:44PM -0800, Junio C Hamano wrote:
> > If the config reading interface is too slow (somebody has to
> > bench it on a large set of repositories), maybe we would need to
> 
> I made a simple bench as follows.
> 
> dd= 'dd if=/dev/zero of=/home/bruno/dds/$i bs=1M count=400000'

This was to provide load, and check how it works under load, isn't it?

> Machine: 4*opteron 2.8GHz
>      32GB ram
>      14*750GB RAID0 sata2 /home
>      
> Generated a 1000 projects [ too much?! git.debian.org has 668]
> For each test a 'echo 2 > /proc/sys/vm/drop_caches' was done before running
> it.
> 
> command: time gitweb.cgi > /dev/null

Didn't you mean

  time GATEWAY_INTERFACE="CGI/1.1" HTTP_ACCEPT="*/*" \
       REQUEST_METHOD="GET" QUERY_STRING="" gitweb.cgi

here (or some wrapper thereof)?

I wonder what would ApacheBench show... 

Note also that there are operating systems (MS Windows, MacOS X) where
fork is much slower than on Linux.


-- 
Jakub Narebski
Poland
ShadeHawk on #git

  reply	other threads:[~2008-02-05 10:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-30  5:28 [PATCH] gitweb: Use config file or file for repository owner's name Bruno Ribas
2008-01-30  5:28 ` [PATCH] gitweb: Update gitweb/README to include the new per-repository configuration Bruno Ribas
2008-01-30  6:16 ` [PATCH] gitweb: Use config file or file for repository owner's name Junio C Hamano
2008-01-31  2:36   ` Bruno Cesar Ribas
2008-01-31  2:48     ` Junio C Hamano
2008-01-31  3:02       ` Bruno Cesar Ribas
2008-01-31  3:06       ` Junio C Hamano
2008-01-31  3:36         ` Jakub Narebski
2008-01-31 11:12           ` Johannes Schindelin
2008-02-01  0:17             ` Jakub Narebski
2008-02-04 13:35               ` Bruno Cesar Ribas
2008-02-04 14:00                 ` Jakub Narebski
2008-02-05  4:41         ` Bruno Cesar Ribas
2008-02-05 10:04           ` Jakub Narebski [this message]
2008-02-05 14:28             ` Bruno Cesar Ribas
2008-02-07  4:12           ` Bruno Cesar Ribas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m34pcn67nu.fsf@localhost.localdomain \
    --to=jnareb@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=ribas@c3sl.ufpr.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.