Re: oprofile on svn import
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 14, 2006, 19:38 UTC
- Message-ID
- <e6poil$e8l$1@sea.gmane.org>
- In-Reply-To
- <9e4733910606141225n11b406fte6229ea9993825dd@mail.gmail.com>
Jon Smirl wrote:
Show 10 quoted lines
> Stats after 18 hours into git-svnimport. Process is now stuck in the > kernel 64% of the time. All of the kernel time is in page management. > Perl svnimport process is 290MB now. > > My top candidates for causing the problem are the fork in the perl > code or the execing of a million tiny git processes. > > The key low level git functions could be made into a library to avoid > the need to exec them continuously. The svn functions are libraries > and they hardly show up.
There is ongoing effort to translate git functions into builtins. Still you would need to translate git-svnimport Perl code into C, or somehow access git library from Perl.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git