git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Kill the useless progress meter in merge-recursive

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Apr 20, 2007, 15:14 UTC
Message-ID
<alpine.LFD.0.98.0704200811470.9964@woody.linux-foundation.org>
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
Previous: Martin WaitzNext: Daniel Barkalow
Message 4 of 5 in “Kill the useless progress meter in merge-recursive”
  1. Kill the useless progress meter in merge-recursiveShawn O. Pearce, Apr 20, 2007
  2. Junio C HamanoApr 20, 2007
  3. Martin WaitzApr 20, 2007
  4. Linus TorvaldsApr 20, 2007
  5. Daniel BarkalowApr 20, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.