Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Thunar progress bar when copying files... BUGGY?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Fri Sep 01, 2017 8:03 pm    Post subject: Thunar progress bar when copying files... BUGGY? Reply with quote

I think this is a bug because Thunar-1.6.10 isn't computing time properly.

I think Thunar is computing time like this:

next chunk:
Get Current Time
Write a chunk
get current time
compute bytes/second
compute time remaining.
goto do next chunk

Reasonable enough, but WRONG. Why?

What if I changed the above to this:

next chunk:
>>> sync;
Get Current Time
Write a chunk
get current time
compute bytes/second
compute time remaining.
goto do next chunk

So basically it seems very optimistic. Right now I'm copying 50GB to a USB2 HDD (20MB/sec) and it's constantly reporting 300MB/sec and 1 minute remaining despite it already taken a half hour, and it just passed half way (32GB copied). It claimed 3 minutes at the get go and kept going down. I manually estimated upwards an hour.

Anyone seeing this behavior? I think the MB/sec progress bar needs to be computed over a longer interval that includes fsync time?
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

PostPosted: Tue Sep 05, 2017 1:40 pm    Post subject: Reply with quote

Yeah it is buggy. I think there is some kind of caching process going on, maybe the kernel disk cache? Anyway, for the first few moments while cache is filling it -seems- like it is reading the cache speed and then never actually figures out what the actual speed really is. Total guess on my part. But that's what it feels like.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
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