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

Re: [PATCH] cvsimport: introduce -L<imit> option to workaround memory leaks

From
Linus Torvalds <torvalds@osdl.org>
Date
May 23, 2006, 16:25 UTC
Message-ID
<Pine.LNX.4.64.0605230919190.5623@g5.osdl.org>
In-Reply-To
<Pine.LNX.4.64.0605230848060.5623@g5.osdl.org>
On Tue, 23 May 2006, Linus Torvalds wrote:
> 
> So an unpacked git archive on ext3 (but not ext2, I believe: ext2 should 
> use the page cache for directories) ends up being very buffer-cache 
> intensive. And the buffer cache is basically deprecated..

A few notes: I'm not 100% sure things really fit in the 2GB (*), so it really may be IO limited, and the low CPU use is just because that machine also happens to have a dang fast next-gen Intel CPU that hasn't even been released yet.

Also, I do realize that hashed directories should actually decrease the buffer cache pressure too, just because we wouldn't need to read all of the directory for a lookup.

		Linus

(*) cvsps itself grows to 1.6GB of the 2GB and while that memory should be largely idle, the problem may simply be that we don't swap it out eagerly enough. Allowing filesystem metadata to swap out processes is something we've tuned against, because it tends to result in horrible interactive behaviour after a nightly "updatedb" run. So it's entirely possible that this is all normal..

Previous: Linus TorvaldsNext: Martin Langhoff
Message 6 of 10 in “cvsimport: introduce -L<imit> option to workaround memory leaks”
  1. cvsimport: introduce -L<imit> option to workaround memory leaksMartin Langhoff, May 22, 2006
  2. Linus TorvaldsMay 23, 2006
  3. Martin Langhoff (CatalystIT)May 23, 2006
  4. Theodore TsoMay 23, 2006
  5. Linus TorvaldsMay 23, 2006
  6. Linus TorvaldsMay 23, 2006
  7. Martin LanghoffMay 26, 2006
  8. Linus TorvaldsMay 26, 2006
  9. Jakub NarebskiMay 26, 2006
  10. Martin LanghoffMay 26, 2006

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.