Re: Some tips on profiling

2010-10-27 Thread Ramkumar Ramachandra
Hi Stefan, Stefan Fuhrmann writes: > Hm. Works here (LINUX ggc 4.3.3 and Win32 MS VisualStudio 2010). I'll check this -- must be some issue at my end; saw Daniel's response too. Thanks. > That would be awesome! Any weekend would do ;) :) -- Ram

Re: Some tips on profiling

2010-10-24 Thread Daniel Shahaf
Stefan Fuhrmann wrote on Sun, Oct 24, 2010 at 20:55:04 +0200: > On 04.10.2010 16:58, Ramkumar Ramachandra wrote: >> Hi Stefan, > Sorry for the late reply. This has been the first weekend > that I didn't spend in office for some time. >> Stefan Fuhrmann writes: I enabled it, but there's still s

Re: Some tips on profiling

2010-10-24 Thread Stefan Fuhrmann
On 04.10.2010 16:58, Ramkumar Ramachandra wrote: Hi Stefan, Sorry for the late reply. This has been the first weekend that I didn't spend in office for some time. Stefan Fuhrmann writes: I enabled it, but there's still some issue: subversion/svnadmin/main.c:1892: undefined reference to `svn_f

Re: Some tips on profiling

2010-10-04 Thread Ramkumar Ramachandra
Hi Stefan, Stefan Fuhrmann writes: > >I enabled it, but there's still some issue: > >subversion/svnadmin/main.c:1892: undefined reference to > >`svn_fs_get_cache_config' > > > It builds here. Did you run autogen.sh before ./configure? Yep, I did. I tried it several times again; same issue. Is th

Re: Some tips on profiling

2010-10-03 Thread Stefan Fuhrmann
On 01.10.2010 15:56, Ramkumar Ramachandra wrote: Hi Stefan, Stefan Fuhrmann writes: You obviously don't have APR threads enabled. Thanks for finding this. Fixed in r1003430. I enabled it, but there's still some issue: subversion/svnadmin/main.c:1892: undefined reference to `svn_fs_get_cache

Re: Some tips on profiling

2010-10-01 Thread Ramkumar Ramachandra
Hi Stefan, Stefan Fuhrmann writes: > You obviously don't have APR threads enabled. > Thanks for finding this. Fixed in r1003430. I enabled it, but there's still some issue: subversion/svnadmin/main.c:1892: undefined reference to `svn_fs_get_cache_config' > The server caches almost everything. S

Re: Some tips on profiling

2010-10-01 Thread Stefan Fuhrmann
On 30.09.2010 04:28, Ramkumar Ramachandra wrote: Hi Stefan, Stefan Fuhrmann writes: My measurements seem to support what Philip wrote: The expensive part is run on the server. Even with my optimized server, the svnrdump CPU usage is less than the time taken by the server. Some numbers (hot fi

Re: Some tips on profiling

2010-09-29 Thread Daniel Näslund
On Thu, Sep 30, 2010 at 07:58:45AM +0530, Ramkumar Ramachandra wrote: > Stefan Fuhrmann writes: > > At least the results are much more useful when there is > > a tool like Kcachegrind that allows easy navigation though > > the huge amount of information that was gathered. > > Yep! The visualizer

Re: Some tips on profiling

2010-09-29 Thread Ramkumar Ramachandra
Hi Stefan, Stefan Fuhrmann writes: > My measurements seem to support what Philip wrote: > The expensive part is run on the server. Even with my > optimized server, the svnrdump CPU usage is less than > the time taken by the server. Some numbers (hot file > cache): > > svnadmin dump > 1.7 trun

Re: Some tips on profiling

2010-09-29 Thread Stefan Fuhrmann
On 29.09.2010 10:45, Ramkumar Ramachandra wrote: Hi Philip, Philip Martin writes: The performance of svnrdump is likely to be dominated by IO from the repository, network or disk depending on the RA layer. strace is a useful tool to see opens/reads/writes. You can see what order the calls o

Re: Some tips on profiling

2010-09-29 Thread Ramkumar Ramachandra
Hi Philip, Philip Martin writes: > The performance of svnrdump is likely to be dominated by IO from the > repository, network or disk depending on the RA layer. strace is a > useful tool to see opens/reads/writes. You can see what order the > calls occur, how many there are, how big they are and

Re: Some tips on profiling

2010-09-28 Thread Philip Martin
Stefan Fuhrmann writes: > On 27.09.2010 21:44, Ramkumar Ramachandra wrote: >> Could you tell me which tools you use to profile the various >> applications in trunk? I'm looking to profile svnrdump to fix some >> perf issues, but OProfile doesn't seem to work for me. > > Under Linux, I'm using Va

Re: Some tips on profiling

2010-09-28 Thread Ramkumar Ramachandra
Hi Stefan, Stefan Fuhrmann writes: > Under Linux, I'm using Valgrind / Callgrind and visualize in KCachegrind. > That gives me a good idea of what code gets executed too often, how > often a jump (loop or condition) has been taken etc. It will not show the > non-user and non-CPU runtime, e.g. wait

Re: Some tips on profiling

2010-09-27 Thread Stefan Fuhrmann
On 27.09.2010 21:44, Ramkumar Ramachandra wrote: Hi Stefan, Could you tell me which tools you use to profile the various applications in trunk? I'm looking to profile svnrdump to fix some perf issues, but OProfile doesn't seem to work for me. Thanks. -- Ram Hi Ram, Under Linux, I'm using

Some tips on profiling

2010-09-27 Thread Ramkumar Ramachandra
Hi Stefan, Could you tell me which tools you use to profile the various applications in trunk? I'm looking to profile svnrdump to fix some perf issues, but OProfile doesn't seem to work for me. Thanks. -- Ram