[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [Issue 1240] Changed - svn_subst_translate_stream() should read bigger chunks

From: Tim Kemp <subversion_at_kempy.co.uk>
Date: 2003-04-11 13:42:17 CEST

Just to add some numbers to this (I'm not sure if this is the right
place, but, oh well)
On checking out the subversion tree over a 1Mbit cable line,

Name, Visits, % of root time, Time (secs), Avg Time, Child as % of
S+C Time

-svn_subst_copy_and_translate, 978, 9.4%, 63.729745, 0.065163, 100.0%,
0, 0, 0
    -svn_subst_translate_stream, 730, 5.3%, 62.820510, 0.086055, 91.3%,
0, 0, 0
      +translate_write, 9620166, 2.5%, 30.180774, 0.000003, 84.6%, 0, 0,
0
      -svn_stream_read, 9957327, 2.2%, 26.104806, 0.000003, 81.9%, 0, 0,
0
        -read_handler_apr, 9957327, 1.5%, 21.383350, 0.000002, 78.8%, 0,
0, 0
          -apr_file_read_full, 9957327, 1.2%, 16.847580, 0.000002,
72.8%, 0, 0, 0
            -apr_file_read, 9957327, 0.8%, 12.271248, 0.000001, 35.9%,
0, 0, 0
               apr_thread_mutex_unlock, 9957327, 0.2%, 2.216958,
0.000000, 0.0%, 0, 0, 0
               apr_thread_mutex_lock, 9957327, 0.1%, 2.151563, 0.000000,
0.0%, 0, 0, 0
               read_with_timeout, 3544, 0.0%, 0.041370, 0.000012, 0.0%,
0, 0, 0

Hmmmm, 10% of checkout time is spent in svn_subst_copy_and_translate.
With 10 million calls all the way down to apr_file_read and
apr_file_write.

System is Win XP, Athlon 1800, 512 Mb RAM, Fast IDE HD, Subversion R5605

Hope this helps

Tim

> -----Original Message-----
> From: Michael Wood [mailto:mwood@its.uct.ac.za]
> Sent: 11 April 2003 11:54
> To: dev@subversion.tigris.org
> Cc: issues@subversion.tigris.org
> Subject: Re: [Issue 1240] Changed -
> svn_subst_translate_stream() should read bigger chunks
>
>
> On Thu, Apr 10, 2003 at 04:35:46PM -0000,
> issues@subversion.tigris.org wrote:
> > http://subversion.tigris.org/issues/show_bug.cgi?id=1240
> >
> [snip]
> > + ------- Additional Comments From kfogel@tigris.org
> 2003-04-10 09:35
> > + PDT ------- Mike Pilato points out that the problem may
> not be the
> > + one-byte reads, since that I/O is presumably buffered.
> So the first
> > + thing is to do
> ^^^^^^^^^^
>
> Is it though? Haven't checked. This assumption just jumped out at me
> :)
>
> --
> Michael Wood <mwood@its.uct.ac.za>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 11 13:43:07 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.