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

Re: Bytes Transferred Vs Actual File Size

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 23 Oct 2010 11:53:00 +0200

On 23.10.2010 11:49, Benjamin Schwehn wrote:
> On 23/10/2010 09:22, Stefan Küng wrote:
>> Yes, Subversion also transfers diffs for binary files. When transferring
>
> You're right, thanks for clearing this up
>
> On 23/10/2010 09:44, Alexander Iljin wrote:
>> SK> http://subversion.tigris.org/issues/show_bug.cgi?id=3260
>>
>> Now THAT's a real answer. Thank you, Stefan.
>
> Is it? Are you saying that the progress info basically never worked? I
> never noticed before :)
>
> Also, from a glancing look at the subversion source code, it looks like
> commit only uses a single RA session. But I might very well overlook
> something.

It uses two sessions for svn://, but only one for http(s).

> I've noticed that the tortoisesvn source actually acknowledges this problem:
>
> SVN.cpp:2913
>
> // because of http://subversion.tigris.org/issues/show_bug.cgi?id=3260
> // the progress information can be horribly wrong.
> // We cut the delta here to 8kb because SVN does not send/receive packets
> // bigger than this, and we can therefore reduce the error that way a
> little bit
> if (delta> 8192LL)
> {
> delta = delta % 8192LL;
> }
>
> Is it at all possible that perhaps now SVN does send/recieve> 8kb
> packages, or at least gives notfication for larger sizes?

I've never seen larger sizes. Also remember that using larger sizes
would decrease the performance on most systems because larger packets
would have to get split up into such sizes by the OS. Sure you can tweak
the OS to use larger sizes, but most users never do that.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2674843
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-23 11:53:20 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

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