Speed limit bug in BTM?
Moderators: Hacker, petermad, Stefan2, white
Speed limit bug in BTM?
I noticed strange behavior of speed limit feature in BTM (queue window) when copying files from local network. At the bottom of the window there is Speed limit checkbox and kB/s text field. E.g. I set speed limit to 2000 kB/s and check the checkbox. I noticed, that sometimes after few minutes (3-10) the real copy speed increases to fully possible speed around 8000 kB/s, which you can see in the upper part of the window. And it keeps to use full speed until I uncheck&check the speed limit checkbox again.
So this is some kind of bug. It can be quite annoying to person from which you are copying fullspeed if you are on 100mbps network because it will load his machine quite much.
So this is some kind of bug. It can be quite annoying to person from which you are copying fullspeed if you are on 100mbps network because it will load his machine quite much.
- ghisler(Author)
- Site Admin
- Posts: 50505
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hmm, works fine here - what exactly do you copy? Does this happen with a single huge file, or many small files, or even some directories? How do you add them to the BTM?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
It works fine here as well!
I recently had to download from work over a Bulletproof FTP server a 8Mb file on a very unreliable and old wireless service which was usually cut off if you used full bandwidth.
So, I set up BTM to limit the transfer down to crazily (s)low 0.8kB/s as the connection had to be used for other tasks also.
It took more than a day to complete the transaction, which thanks to TC, was successful. I'm 99% sure that if TC had to reject for some reason the transfer limit as you have experienced the connection would have been lost. So, I'm pretty sure it was always constant to 0.8kB/s max. for over 24h.
I recently had to download from work over a Bulletproof FTP server a 8Mb file on a very unreliable and old wireless service which was usually cut off if you used full bandwidth.
So, I set up BTM to limit the transfer down to crazily (s)low 0.8kB/s as the connection had to be used for other tasks also.
It took more than a day to complete the transaction, which thanks to TC, was successful. I'm 99% sure that if TC had to reject for some reason the transfer limit as you have experienced the connection would have been lost. So, I'm pretty sure it was always constant to 0.8kB/s max. for over 24h.
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
OK, I will describe it in more detail.
So we have usual windows 100mbps local network here. I wanted to copy some movies from my colleague. He was sharing it using normal windows sharing. So it were all files around 700MB with some directories, you know how divx movies look like.
Then I simply browsed with TC to local network neighborhood and to my colleague share, pressed F5 and then F2. Of course I did it several times to make a queue. Then I set speed limit. As I said after several minutes, regardless speed limit it will proceed full speed. Also with speed limit my cpu usage seems quite a lot consumed.
I wonder if there can be some relation with new copy method feature. I was using big files copy mode.
I was using 6.01 version.
Today I will test it again with 6.02 and also different copy mode and tell you later.
So we have usual windows 100mbps local network here. I wanted to copy some movies from my colleague. He was sharing it using normal windows sharing. So it were all files around 700MB with some directories, you know how divx movies look like.
Then I simply browsed with TC to local network neighborhood and to my colleague share, pressed F5 and then F2. Of course I did it several times to make a queue. Then I set speed limit. As I said after several minutes, regardless speed limit it will proceed full speed. Also with speed limit my cpu usage seems quite a lot consumed.
I wonder if there can be some relation with new copy method feature. I was using big files copy mode.
I was using 6.01 version.
Today I will test it again with 6.02 and also different copy mode and tell you later.
I did some test and I found the problem!
I was testing 6.01, 6.02, both copy modes, happens in all. My machine is Windows 2000.
The problem in queue is, that when it finishes one file and jumps to next, it will ignore speed limit! Simply it will go full speed when starts to process next file in queue. And all this applies only when copying from Windows XP!!! When copying from Windows 2000 everything works fine! As I said my local machine is Windows 2000 and I tested against remote machines with Windows 2000 and Windows XP. I did not do test with XP as local machine though.

I was testing 6.01, 6.02, both copy modes, happens in all. My machine is Windows 2000.
The problem in queue is, that when it finishes one file and jumps to next, it will ignore speed limit! Simply it will go full speed when starts to process next file in queue. And all this applies only when copying from Windows XP!!! When copying from Windows 2000 everything works fine! As I said my local machine is Windows 2000 and I tested against remote machines with Windows 2000 and Windows XP. I did not do test with XP as local machine though.



- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
Oh! Ok, my case has some major differences so I guess we are not really accessing the very same part of TC's code! 
I used BTM over an FTP server while in your case it was done locally over a LAN I presume where you used BTM as a copying method and not for downloading as I did. In addition, I had only a single file in my queue. Furthermore, I was running Win2k Server.
Christian, can you confirm the resetting of the limiter when jumping to the next available file in the queue?

I used BTM over an FTP server while in your case it was done locally over a LAN I presume where you used BTM as a copying method and not for downloading as I did. In addition, I had only a single file in my queue. Furthermore, I was running Win2k Server.
Christian, can you confirm the resetting of the limiter when jumping to the next available file in the queue?
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
- ghisler(Author)
- Site Admin
- Posts: 50505
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, the limiter should NOT be reset when copying multiple files! But there are a lot of copy methods, so I may have missed one method where the speed limiter is lost.
2mbelicek
Could you give me step by step instructions how you copy the files, e.g. select the files, press F5 etc. Also let me know your copy mode settings, please.
2mbelicek
Could you give me step by step instructions how you copy the files, e.g. select the files, press F5 etc. Also let me know your copy mode settings, please.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hi Mr. Ghisler,
I don't want to write duplicit information here. I think I have described it comprehensively in my previous two posts, where I describe step by step what I did, including keypress and copy methods. You can ask me particular things though on icq# 68826148. I would be glad to offer more information if you tell me what is not clear to you.
I don't want to write duplicit information here. I think I have described it comprehensively in my previous two posts, where I describe step by step what I did, including keypress and copy methods. You can ask me particular things though on icq# 68826148. I would be glad to offer more information if you tell me what is not clear to you.