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

Re: irc usage..

From
Linus Torvalds <torvalds@osdl.org>
Date
May 22, 2006, 17:27 UTC
Message-ID
<Pine.LNX.4.64.0605221013020.3697@g5.osdl.org>
In-Reply-To
<46a038f90605220554y569c11b9p24027772bd2ee79a@mail.gmail.com>
On Tue, 23 May 2006, Martin Langhoff wrote:
Show 5 quoted lines
> 
> And there are two patches that I suspect may fix the leak. After
> applying them, the cvsimport process grows up to ~13MB and then tapers
> off, at least as far as my patience has gotten me. It's late on this
> side of the globe so I'll look at the results tomorrow morning.

Ok, initial results are promising. git-cvsimport appears to be still slowly growing, but it's at 40M (ie pretty tiny, considering that cvsps grew to 800+MB on this archive) and growth seems to actually be slowing.

My conversion is only up to September 2002, but if it doesn't suddenly hit some huge growth spurt, I wouldn't expect it to run out of memory. The CVS server process itself is tiny, and doesn't seem to grow at all.

As to packing, it doing something like
	while :
	do
		sleep 30
		#
		# repack roughly every 25600 objects
		#
		n=$(ls .git/objects/00 2> /dev/null | wc -l)
		if [ $n -gt 100 ]; then
			git repack -a
			#
			# Stupid sleep to make sure that nobody is still
			# using any unpacked objects after the pack got
			# generated
			#
			sleep 10
			git prune-packed
		fi
	done

or similar (the above is totally untested - I've just done it by hand a few times) should work. It's perfectly ok to repack the archive even while the cvsimport script is adding more data and changing it.

		Linus
Previous: Martin LanghoffNext: Jakub Narebski
Message 17 of 82 in “irc usage..”
  1. Linus TorvaldsMay 20, 2006
  2. Junio C HamanoMay 20, 2006
  3. Jakub NarebskiMay 20, 2006
  4. Yann DirsonMay 20, 2006
  5. Donnie BerkholzMay 20, 2006
  6. Linus TorvaldsMay 20, 2006
  7. Donnie BerkholzMay 20, 2006
  8. Linus TorvaldsMay 21, 2006
  9. Linus TorvaldsMay 22, 2006
  10. Donnie BerkholzMay 22, 2006
  11. Linus TorvaldsMay 22, 2006
  12. Martin LanghoffMay 22, 2006
  13. Donnie BerkholzMay 22, 2006
  14. Martin LanghoffMay 22, 2006
  15. Linus TorvaldsMay 22, 2006
  16. Martin LanghoffMay 22, 2006
  17. Linus TorvaldsMay 22, 2006
  18. Jakub NarebskiMay 22, 2006
  19. Linus TorvaldsMay 22, 2006
  20. Matthias LederhoferMay 22, 2006
  21. Junio C HamanoMay 22, 2006
  22. Jakub NarebskiMay 23, 2006
  23. Martin LanghoffMay 22, 2006
  24. Donnie BerkholzMay 22, 2006
  25. Linus TorvaldsMay 22, 2006
  26. Donnie BerkholzMay 22, 2006
  27. Linus TorvaldsMay 22, 2006
  28. Donnie BerkholzMay 22, 2006
  29. Donnie BerkholzMay 29, 2006
  30. Martin LanghoffMay 29, 2006
  31. Donnie BerkholzMay 29, 2006
  32. Martin LanghoffMay 30, 2006
  33. Donnie BerkholzMay 30, 2006
  34. Martin LanghoffMay 30, 2006
  35. Linus TorvaldsMay 30, 2006
  36. Martin LanghoffMay 30, 2006
  37. Linus TorvaldsMay 30, 2006
  38. Martin LanghoffMay 31, 2006
  39. Donnie BerkholzMay 31, 2006
  40. Martin LanghoffMay 31, 2006
  41. Alec WarnerMay 31, 2006
  42. Martin LanghoffMay 31, 2006
  43. Alec WarnerJun 1, 2006
  44. Martin LanghoffJun 1, 2006
  45. Alec WarnerJun 5, 2006
  46. Martin LanghoffJun 5, 2006
  47. Alec WarnerJun 5, 2006
  48. Martin LanghoffJun 5, 2006
  49. SeanJun 5, 2006
  50. Martin LanghoffMay 22, 2006
  51. Linus TorvaldsMay 22, 2006
  52. Linus TorvaldsMay 22, 2006
  53. Matthias UrlichsMay 22, 2006
  54. Linus TorvaldsMay 22, 2006
  55. Martin LanghoffMay 22, 2006
  56. Martin LanghoffMay 22, 2006
  57. Linus TorvaldsMay 22, 2006
  58. Junio C HamanoMay 22, 2006
  59. Martin LanghoffMay 22, 2006
  60. Jeff KingMay 23, 2006
  61. Jeff KingMay 23, 2006
  62. 1/2 cvsimport: use git-update-index --index-infoJeff King, May 23, 2006
  63. 2/2 cvsimport: cleanup commit functionJeff King, May 23, 2006
  64. 1/2 cvsimport: use git-update-index --index-infoJeff King, May 23, 2006
  65. Martin LanghoffMay 23, 2006
  66. Junio C HamanoMay 23, 2006
  67. Martin LanghoffMay 23, 2006
  68. Linus TorvaldsMay 23, 2006
  69. Linus TorvaldsMay 23, 2006
  70. Junio C HamanoMay 23, 2006
  71. Martin LanghoffMay 23, 2006
  72. Jeff KingMay 23, 2006
  73. Martin LanghoffMay 23, 2006
  74. Morten WelinderMay 23, 2006
  75. Jeff KingMay 23, 2006
  76. Junio C HamanoMay 23, 2006
  77. Jeff KingMay 24, 2006
  78. Donnie BerkholzMay 22, 2006
  79. Thomas GlanzmannMay 21, 2006
  80. Donnie BerkholzMay 21, 2006
  81. Linus TorvaldsMay 22, 2006
  82. Jeff KingMay 23, 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.