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

Re: svn to git, N-squared?

From
Linus Torvalds <torvalds@osdl.org>
Date
Jun 12, 2006, 15:45 UTC
Message-ID
<Pine.LNX.4.64.0606120843340.5498@g5.osdl.org>
In-Reply-To
<9e4733910606120832xaf74e77pad7f70df864541fc@mail.gmail.com>
On Mon, 12 Jun 2006, Jon Smirl wrote:
> 
> I've stablized like this. 1GB RAM with 2.8Ghz P4 hyperthread. Is there
> anyway to tell what it is doing in the kernel for so much time?
oprofile will tell you.

I don't see why it would spend a lot of time in the kernel, unless it's the SVN part that does a ton of reads or something. git should have almost no kernel footprint apart from the individual objects creation/reading, so once it's repacked, I generally see very little system time.

What does top say? (Ie can you see _which_ process spends time in the kernel?)

		Linus
Previous: Jon SmirlNext: Jon Smirl
Message 3 of 14 in “Re: svn to git, N-squared?”
  1. linux@horizon.comJun 12, 2006
  2. Jon SmirlJun 12, 2006
  3. Linus TorvaldsJun 12, 2006
  4. Jon SmirlJun 12, 2006
  5. Linus TorvaldsJun 12, 2006
  6. Jon SmirlJun 12, 2006
  7. Jon SmirlJun 12, 2006
  8. Linus TorvaldsJun 12, 2006
  9. Linus TorvaldsJun 12, 2006
  10. Jon SmirlJun 12, 2006
  11. Linus TorvaldsJun 12, 2006
  12. Jon SmirlJun 12, 2006
  13. Jon SmirlJun 12, 2006
  14. Jon SmirlJun 12, 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.