This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Strange FTP upload speed regression

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed Printable version
View previous topic :: View next topic  
Author Message
tmcdos
Junior Member
Junior Member


Joined: 22 May 2006
Posts: 23
Location: Sofia, Bulgaria

PostPosted: Sun Oct 22, 2017 6:02 am    Post subject: Strange FTP upload speed regression Reply with quote

Hi

I observe something very strange on versions 8.x and 9.x
When I start Total Commander and try to upload some files on an FTP server the speed on average is 40 Mbit/s and sometimes even 50 Mbit/s. During the day (I keep Total Commander running all day) I often update files by FTP and there is a point in time after which my upload speed becomes 2 Mbit/s and does not change until I quit the TC and start it again. It does not matter if I reconnect to FTP after this point in time or whether it is passive vs. active FTP transfter - the only solution is to restart TC.

I am unable to determine if this happens after some fixed amount of time or it depends on the amount of uploaded files (or their cumulative size, or something else) - however, I observe this effect every single day.

I can provide an FTP account for testing but I am pretty sure the problem is in TC and not in the FTP server. And it takes some time to reveal itself - you won`t see it right from the start.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Mon Oct 23, 2017 4:37 am    Post subject: Reply with quote

You can try to set a fixed upload block size:
wcx_ftp.ini
[General]
UploadBlockSize=65536

It should be a 2^x value, e.g. 8192, 16384, 32768, 65536, 131072.

Why: TC starts with a small block size, and if the upload is fast, it gradually increases the block size.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tmcdos
Junior Member
Junior Member


Joined: 22 May 2006
Posts: 23
Location: Sofia, Bulgaria

PostPosted: Mon Oct 23, 2017 5:17 am    Post subject: Reply with quote

Well, then I have a question - when the issue reveals, I immediately start another instance of TC (the current one remains active) and connect to the same FTP server and do the same file transfer - and the speed is the maximum possible for the network. If I switch back (e.g. by Alt+Tab) to the first instance of TC and again do the same FTP transfer - the speed is consistently 250 Kbytes/sec.

By the way, I am experiencing the issue in this very moment while I am posting this message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Tue Oct 24, 2017 3:25 am    Post subject: Reply with quote

Hmm, no idea. Did you try my suggestion?
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tmcdos
Junior Member
Junior Member


Joined: 22 May 2006
Posts: 23
Location: Sofia, Bulgaria

PostPosted: Tue Oct 24, 2017 12:50 pm    Post subject: Reply with quote

I do not want to make a premature conclusion, still watching.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group