Re: Efficiency of initial clone from server

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jon Smirl
Date: Monday, February 12, 2007 - 7:31 am

On 2/12/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

I don't think CPU is a problem at kernel.org, but disk IO defnitely
is. The initial clones cause several minutes (sometimes 10 min or more
when there kernel.org is loaded) worth of disk IO. They also totally
thrash the kernel.org cache. The alternative of using a clone to
trigger a repack would go through this once, and then use sendfile (is
gitd that smart?) to send the packs. Sendfile uses the smallest cache
required.

Why doesn't clone copy the existing packs down first with sendfile,
then build a small pack for what is left and avoid the initial step of
making a giant pack. Isn't clone going to break when the repo exceeds
2GB?




-- 
Jon Smirl
jonsmirl@gmail.com
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Efficiency of initial clone from server, Jon Smirl, (Sun Feb 11, 12:53 pm)
Re: Efficiency of initial clone from server, Shawn O. Pearce, (Sun Feb 11, 3:53 pm)
Re: Efficiency of initial clone from server, Jon Smirl, (Sun Feb 11, 4:25 pm)
Re: Efficiency of initial clone from server, Jon Smirl, (Sun Feb 11, 4:29 pm)
Re: Efficiency of initial clone from server, Jon Smirl, (Sun Feb 11, 4:51 pm)
Re: Efficiency of initial clone from server, Nicolas Pitre, (Sun Feb 11, 6:38 pm)
Re: Efficiency of initial clone from server, Jon Smirl, (Sun Feb 11, 7:15 pm)
Re: Efficiency of initial clone from server, Nicolas Pitre, (Sun Feb 11, 8:55 pm)
Re: Efficiency of initial clone from server, Junio C Hamano, (Sun Feb 11, 9:16 pm)
Re: Efficiency of initial clone from server, Jon Smirl, (Sun Feb 11, 9:29 pm)
Re: Efficiency of initial clone from server, Junio C Hamano, (Sun Feb 11, 9:33 pm)
Re: Efficiency of initial clone from server, Shawn O. Pearce, (Sun Feb 11, 9:49 pm)
Re: Efficiency of initial clone from server, Jon Smirl, (Sun Feb 11, 9:53 pm)
Re: Efficiency of initial clone from server, Jon Smirl, (Sun Feb 11, 10:01 pm)
Re: Efficiency of initial clone from server, Shawn O. Pearce, (Sun Feb 11, 10:11 pm)
Re: Efficiency of initial clone from server, Jon Smirl, (Sun Feb 11, 10:17 pm)
Re: Efficiency of initial clone from server, Junio C Hamano, (Sun Feb 11, 10:30 pm)
Re: Efficiency of initial clone from server, Jon Smirl, (Sun Feb 11, 10:55 pm)
Re: Efficiency of initial clone from server, Junio C Hamano, (Sun Feb 11, 11:08 pm)
Re: Efficiency of initial clone from server, Johannes Schindelin, (Mon Feb 12, 4:45 am)
Re: Efficiency of initial clone from server, Jon Smirl, (Mon Feb 12, 7:31 am)
Re: Efficiency of initial clone from server, Nicolas Pitre, (Mon Feb 12, 8:20 am)
Re: Efficiency of initial clone from server, Jon Smirl, (Mon Feb 12, 8:24 am)
Re: Efficiency of initial clone from server, Jon Smirl, (Mon Feb 12, 9:40 am)
Re: Efficiency of initial clone from server, Nicolas Pitre, (Mon Feb 12, 9:42 am)
Re: Efficiency of initial clone from server, Shawn O. Pearce, (Mon Feb 12, 10:04 am)
Re: Efficiency of initial clone from server, Shawn O. Pearce, (Mon Feb 12, 10:06 am)
Re: Efficiency of initial clone from server, Theodore Tso, (Mon Feb 12, 12:35 pm)
Re: Efficiency of initial clone from server, Junio C Hamano, (Mon Feb 12, 1:53 pm)
Re: Efficiency of initial clone from server, Nicolas Pitre, (Mon Feb 12, 2:33 pm)
Re: Efficiency of initial clone from server, Andreas Ericsson, (Tue Feb 13, 8:03 am)