WebDav performance

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
sergeyus
Junior Member
Junior Member
Posts: 4
Joined: 2012-09-16, 15:53 UTC

WebDav performance

Post by *sergeyus »

I've noticed that TC's webdav download transfer rate much slower than ones in X-plore and File Manager HD on the same servers. I've got asymmetric upload/download speed and it seems that TC's trying to stick close to the upload speed for all downloads. It's quite disappointing, since TC is much more convenient to use.
Seems, previous versions of the plugin were faster, but I'm not absolutely sure.
Is there anything to be suggested or fixed?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I didn't get any similar reports, so can you give me more information, please? What speed differences do you actually see, e.g. when downloading a file of at least 5 MBytes?
Author of Total Commander
https://www.ghisler.com
sergeyus
Junior Member
Junior Member
Posts: 4
Joined: 2012-09-16, 15:53 UTC

Post by *sergeyus »

For a 7Mb file it took 50s for TC and about 5s-6s for File Manager HD and X-plore to download. So, approximately, download speed for TC around 1Mbps, and for others - 10Mbps.
My download/upload speeds are 15Mbps/1.5Mbps.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

That's what I get too with GMX WebDAV. Unfortunately I have no idea why it is so slow - I'm using a normal Apache HttpClient object for downloads, nothing special. I tried downloading without writing to the disk, and it's not faster.

Edit: It seems that the Apache HttpClient class is to blame: I tried the alternative HttpURLConnection, and it's 10 times faster! I will try to use that for downloads.

Edit 2: Apache HttpClient class isn't really the culprit (well, just partially): It's due to debug logging! Turning that off makes HttpClient as fast as HttpURLConnection. I will release an update soon with debug logging off.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Please try the following beta version:
https://plugins.ghisler.com/aplg/tcandroidwebdav206b1.apk

It has the debug logging disabled.
Author of Total Commander
https://www.ghisler.com
sergeyus
Junior Member
Junior Member
Posts: 4
Joined: 2012-09-16, 15:53 UTC

Post by *sergeyus »

Yes! Now it's OK. Thank you very much. Thousands of kudos :)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks a lot for reporting it, I wouldn't have noticed because I'm using it only for small files...
Author of Total Commander
https://www.ghisler.com
Post Reply