git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Junio C Hamano <junkio@cox.net>
Cc: "Shawn O. Pearce" <spearce@spearce.org>, git@vger.kernel.org
Subject: Re: [PATCH] Kill the useless progress meter in merge-recursive
Date: Fri, 20 Apr 2007 08:14:20 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.0.98.0704200811470.9964@woody.linux-foundation.org> (raw)
In-Reply-To: <7vd51z317c.fsf@assigned-by-dhcp.cox.net>



On Fri, 20 Apr 2007, Junio C Hamano wrote:
> 
> I would propose removing the progress meter for "Checking out
> files" in unpack-trees, for the same reason.

Have you tried this with something like the kernel on a 128MB machine, or 
over NFS? Or, indeed, if you just do

	echo 5 > /proc/sys/vm/dirty_background_ratio
	echo 2 > /proc/sys/vm/dirty_ratio

or similar, to tell the kernel to not allow a lot of dirty files.

No, I've not tried it either, but you may think that checking files out is 
fast just because you're actually just writing to memory, and the 
background writeout will do the real work. That isn't always true. 
Checking files out can be very expensive indeed.

		Linus

  parent reply	other threads:[~2007-04-20 15:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-20  6:37 [PATCH] Kill the useless progress meter in merge-recursive Shawn O. Pearce
2007-04-20  8:21 ` Junio C Hamano
2007-04-20  9:00   ` Martin Waitz
2007-04-20 15:14   ` Linus Torvalds [this message]
2007-04-20 18:00   ` Daniel Barkalow

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=alpine.LFD.0.98.0704200811470.9964@woody.linux-foundation.org \
    --to=torvalds@linux-foundation.org \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=spearce@spearce.org \
    /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 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).