git-daemon enabled on kernel.org

7 messages, 6 authors, 2016-06-15 · open the first message on its own page

git-daemon enabled on kernel.org

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2016-06-15 22:42:09

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

Re: git-daemon enabled on kernel.org

From: Erik Mouw <hidden>
Date: 2016-06-15 22:42:09

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

Re: git-daemon enabled on kernel.org

From: Nico -telmich- Schottelius <hidden>
Date: 2016-06-15 22:42:09

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:
quoted
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.

Re: git-daemon enabled on kernel.org

From: Anton Altaparmakov <hidden>
Date: 2016-06-15 22:42:09

On Wed, 19 Oct 2005, Erik Mouw wrote:
On Tue, Oct 18, 2005 at 12:30:23PM -0700, H. Peter Anvin wrote:
quoted
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/

Re: git-daemon enabled on kernel.org

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2016-06-15 22:42:09

Nico -telmich- Schottelius wrote:
Erik Mouw [Wed, Oct 19, 2005 at 10:35:42AM +0200]:
quoted
On Tue, Oct 18, 2005 at 12:30:23PM -0700, H. Peter Anvin wrote:
quoted
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

Re: git-daemon enabled on kernel.org

From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:11

Dear diary, on Tue, Oct 18, 2005 at 09:30:23PM CEST, I got a letter
where "H. Peter Anvin" [off-list ref] 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.

Re: git-daemon enabled on kernel.org

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:11

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" [off-list ref] told me that...
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help