* git-daemon enabled on kernel.org
@ 2005-10-18 19:30 H. Peter Anvin
2005-10-19 8:35 ` Erik Mouw
2005-11-07 23:11 ` Petr Baudis
0 siblings, 2 replies; 8+ messages in thread
From: H. Peter Anvin @ 2005-10-18 19:30 UTC (permalink / raw)
To: Git Mailing List
After getting gitweb behind mod_cache, the load on kernel.org has gotten
down into the tolerable range, so I have enabled git-daemon in an
attempt to fix that :)
The URL, obviously, is git://git.kernel.org/pub/scm/...
(or, to specify a specific server, git1.kernel.org or git2.kernel.org.)
I consider this experimental so far, and if it imposes an unacceptable
load I'll have to disable it. It currently runs with an inetd-imposed
limits of 10 instances per server.
-hpa
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: git-daemon enabled on kernel.org
2005-10-18 19:30 git-daemon enabled on kernel.org H. Peter Anvin
@ 2005-10-19 8:35 ` Erik Mouw
2005-10-19 8:40 ` Nico -telmich- Schottelius
` (2 more replies)
2005-11-07 23:11 ` Petr Baudis
1 sibling, 3 replies; 8+ messages in thread
From: Erik Mouw @ 2005-10-19 8:35 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: Git Mailing List
On Tue, Oct 18, 2005 at 12:30:23PM -0700, H. Peter Anvin wrote:
> After getting gitweb behind mod_cache, the load on kernel.org has gotten
> down into the tolerable range, so I have enabled git-daemon in an
> attempt to fix that :)
>
> The URL, obviously, is git://git.kernel.org/pub/scm/...
>
> (or, to specify a specific server, git1.kernel.org or git2.kernel.org.)
How do I tell git to change the default repository to pull from?
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: git-daemon enabled on kernel.org
2005-10-19 8:35 ` Erik Mouw
@ 2005-10-19 8:40 ` Nico -telmich- Schottelius
2005-10-19 16:33 ` H. Peter Anvin
2005-10-19 8:56 ` Anton Altaparmakov
2005-10-19 9:02 ` Junio C Hamano
2 siblings, 1 reply; 8+ messages in thread
From: Nico -telmich- Schottelius @ 2005-10-19 8:40 UTC (permalink / raw)
To: Erik Mouw; +Cc: Git Mailing List
[-- Attachment #1: Type: text/plain, Size: 833 bytes --]
Erik Mouw [Wed, Oct 19, 2005 at 10:35:42AM +0200]:
> On Tue, Oct 18, 2005 at 12:30:23PM -0700, H. Peter Anvin wrote:
> > After getting gitweb behind mod_cache, the load on kernel.org has gotten
> > down into the tolerable range, so I have enabled git-daemon in an
> > attempt to fix that :)
> >
> > The URL, obviously, is git://git.kernel.org/pub/scm/...
> >
> > (or, to specify a specific server, git1.kernel.org or git2.kernel.org.)
>
> How do I tell git to change the default repository to pull from?
Do you mean cg-branch-add perhaps? Afaik there is no real 'default' repository, but
the branches you specified. So adding a new branch will fix what you want.
Nico
--
Latest project: cconfig (http://nico.schotteli.us/papers/linux/cconfig/)
Open Source nutures open minds and free, creative developers.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: git-daemon enabled on kernel.org
2005-10-19 8:40 ` Nico -telmich- Schottelius
@ 2005-10-19 16:33 ` H. Peter Anvin
0 siblings, 0 replies; 8+ messages in thread
From: H. Peter Anvin @ 2005-10-19 16:33 UTC (permalink / raw)
To: Nico -telmich- Schottelius; +Cc: Erik Mouw, Git Mailing List
Nico -telmich- Schottelius wrote:
> Erik Mouw [Wed, Oct 19, 2005 at 10:35:42AM +0200]:
>
>>On Tue, Oct 18, 2005 at 12:30:23PM -0700, H. Peter Anvin wrote:
>>
>>>After getting gitweb behind mod_cache, the load on kernel.org has gotten
>>>down into the tolerable range, so I have enabled git-daemon in an
>>>attempt to fix that :)
>>>
>>>The URL, obviously, is git://git.kernel.org/pub/scm/...
>>>
>>>(or, to specify a specific server, git1.kernel.org or git2.kernel.org.)
>>
>>How do I tell git to change the default repository to pull from?
>
>
> Do you mean cg-branch-add perhaps? Afaik there is no real 'default' repository, but
> the branches you specified. So adding a new branch will fix what you want.
>
With cogito, you want "cg-branch-chg origin".
-hpa
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: git-daemon enabled on kernel.org
2005-10-19 8:35 ` Erik Mouw
2005-10-19 8:40 ` Nico -telmich- Schottelius
@ 2005-10-19 8:56 ` Anton Altaparmakov
2005-10-19 9:02 ` Junio C Hamano
2 siblings, 0 replies; 8+ messages in thread
From: Anton Altaparmakov @ 2005-10-19 8:56 UTC (permalink / raw)
To: Erik Mouw; +Cc: H. Peter Anvin, Git Mailing List
On Wed, 19 Oct 2005, Erik Mouw wrote:
> On Tue, Oct 18, 2005 at 12:30:23PM -0700, H. Peter Anvin wrote:
> > After getting gitweb behind mod_cache, the load on kernel.org has gotten
> > down into the tolerable range, so I have enabled git-daemon in an
> > attempt to fix that :)
> >
> > The URL, obviously, is git://git.kernel.org/pub/scm/...
> >
> > (or, to specify a specific server, git1.kernel.org or git2.kernel.org.)
>
> How do I tell git to change the default repository to pull from?
Easy, depending on how old your repository either edit
.git/branches/origin or .git/remotes/origin. They contain the current
default, just change it to the new one. E.g. my .git/remotes/origin for
Linux-2.6 repository is:
URL: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Pull: master:origin
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: git-daemon enabled on kernel.org
2005-10-19 8:35 ` Erik Mouw
2005-10-19 8:40 ` Nico -telmich- Schottelius
2005-10-19 8:56 ` Anton Altaparmakov
@ 2005-10-19 9:02 ` Junio C Hamano
2 siblings, 0 replies; 8+ messages in thread
From: Junio C Hamano @ 2005-10-19 9:02 UTC (permalink / raw)
To: Erik Mouw; +Cc: git
Erik Mouw <erik@harddisk-recovery.com> writes:
> How do I tell git to change the default repository to pull from?
Depends on how you are currently telling git what your "default
repository to pull from" is. If you are using git-core
(i.e. git-pull and git-fetch) for downloading, either
.git/remotes/origin or .git/branches/origin file are used in
this order; if you are using Cogito for downloading, it uses
.git/branches/origin IIRC.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: git-daemon enabled on kernel.org
2005-10-18 19:30 git-daemon enabled on kernel.org H. Peter Anvin
2005-10-19 8:35 ` Erik Mouw
@ 2005-11-07 23:11 ` Petr Baudis
2005-11-08 12:02 ` Johannes Schindelin
1 sibling, 1 reply; 8+ messages in thread
From: Petr Baudis @ 2005-11-07 23:11 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: Git Mailing List
Dear diary, on Tue, Oct 18, 2005 at 09:30:23PM CEST, I got a letter
where "H. Peter Anvin" <hpa@zytor.com> told me that...
> I consider this experimental so far, and if it imposes an unacceptable
> load I'll have to disable it. It currently runs with an inetd-imposed
> limits of 10 instances per server.
I'm curious - how well does it do wrt. the load so far? Do you have any
statistics about the number of users and how CPU-intensive is it?
Thanks,
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: git-daemon enabled on kernel.org
2005-11-07 23:11 ` Petr Baudis
@ 2005-11-08 12:02 ` Johannes Schindelin
0 siblings, 0 replies; 8+ messages in thread
From: Johannes Schindelin @ 2005-11-08 12:02 UTC (permalink / raw)
To: Petr Baudis; +Cc: H. Peter Anvin, Git Mailing List
Hi,
On Tue, 8 Nov 2005, Petr Baudis wrote:
> Dear diary, on Tue, Oct 18, 2005 at 09:30:23PM CEST, I got a letter
> where "H. Peter Anvin" <hpa@zytor.com> told me that...
> > I consider this experimental so far, and if it imposes an unacceptable
> > load I'll have to disable it. It currently runs with an inetd-imposed
> > limits of 10 instances per server.
>
> I'm curious - how well does it do wrt. the load so far? Do you have any
> statistics about the number of users and how CPU-intensive is it?
I have a simple statistics to contribute out of my head. A while ago (when
people complained about gitweb.cgi taking too much load), a simple pull
where my local repo was up-to-date took about 4 seconds. Now it takes just
1 second.
I choose to believe that this is a sign of not too much load.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-11-08 12:02 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-18 19:30 git-daemon enabled on kernel.org H. Peter Anvin
2005-10-19 8:35 ` Erik Mouw
2005-10-19 8:40 ` Nico -telmich- Schottelius
2005-10-19 16:33 ` H. Peter Anvin
2005-10-19 8:56 ` Anton Altaparmakov
2005-10-19 9:02 ` Junio C Hamano
2005-11-07 23:11 ` Petr Baudis
2005-11-08 12:02 ` Johannes Schindelin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).