Suggestion: progress percentage
Moderators: Hacker, petermad, Stefan2, white
Suggestion: progress percentage
I was copying large folder. It contained both large files and many small ones. And I noticed the following: progress shows 99% 1749 / 7404 files 1560.3 M / 1567.9 M (see screenshot (alt)).
I think progress bar would be more smooth if you showed average percentage value calculated by size and by number of files:
percentage by files size = 1560.3 / 1567.9 = 99.5%
percentage by files count = 1749 / 7404 = 23.6%
display percentage = (99.5 + 23.6) / 2 = 61.6%
What do you think about this?
I think progress bar would be more smooth if you showed average percentage value calculated by size and by number of files:
percentage by files size = 1560.3 / 1567.9 = 99.5%
percentage by files count = 1749 / 7404 = 23.6%
display percentage = (99.5 + 23.6) / 2 = 61.6%
What do you think about this?
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The percentage is currently strictly by size, not by number of files. I would have to know the overhead per file to handle also the file count. But that's unreliable because of fragmentation and how the files are distributed on the disk.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2MVV
Choosing the right value is EXACTLY the problem. Imagine copying a 10GB movie and many 10kByte text files. 128 or 256 bytes wouldn't do anything in this case.
2Valentino
Sorry but this would also be very misleading. Imagine copying a 10GB movie and one 10kByte file. With your calculation, TC would take a few minutes to go to 75% (50%+99.999999%)/2, and then jump to 100% in a fraction of a second. Not really better than going by size.
Choosing the right value is EXACTLY the problem. Imagine copying a 10GB movie and many 10kByte text files. 128 or 256 bytes wouldn't do anything in this case.
2Valentino
Sorry but this would also be very misleading. Imagine copying a 10GB movie and one 10kByte file. With your calculation, TC would take a few minutes to go to 75% (50%+99.999999%)/2, and then jump to 100% in a fraction of a second. Not really better than going by size.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Well, the weight is obviously depending on the size of the files and the overhead per file, which is mainly determined by the disk seek speed. It's faster with SSDs than harddisks. The optimum would of course be to measure it somehow.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The problem isn't the size of the data which is written, but the seek time of the harddisk. Therefore adding a fixed size value is the wrong approach.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hello, Christian.
Should this thread not be moved to the "Suggested Features" section. No bug reported, but a change is requested.
Kind regards,
Karl
Should this thread not be moved to the "Suggested Features" section. No bug reported, but a change is requested.
Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song