1 |
On Tue, Feb 10, 2009 at 01:51:34PM -0800, Donnie Berkholz wrote: |
2 |
> - Robin has commented that he doesn't know what kind of server-side |
3 |
> resources are required. I've talked to a number of git admins |
4 |
> (kernel.org, fedora, freedesktop.org, gnome), and they have all said the |
5 |
> hardware requirements for git are negligible. They don't have any |
6 |
> resource on their servers that's being used up. It's gitweb that is |
7 |
> somewhat resource-intensive. |
8 |
A specific comment on this (I know I've been away lately, I'm busy |
9 |
getting back to things now that I've moved house). Git devours RAM. |
10 |
During pull actions, if the pull triggers a build of a custom pack on |
11 |
the server, it can snowball to kill the box with IO load due to swap and |
12 |
later OOM. |
13 |
|
14 |
The git-upload-pack that runs on the server side when you do a 'git |
15 |
clone ...' at the moment for the gentoo-x86.git repo exceeds 1GB of RAM |
16 |
after 10 minutes of running. The box only has 2GB of RAM, so it hits |
17 |
swap quickly, and things go downhill very fast from there. |
18 |
|
19 |
-- |
20 |
Robin Hugh Johnson |
21 |
Gentoo Linux Developer & Infra Guy |
22 |
E-Mail : robbat2@g.o |
23 |
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 |