mhogomchungu / zuluCrypt

zuluCrypt is a front end to cryptsetup and tcplay and it allows easy management of encrypted block devices
https://mhogomchungu.github.io/zuluCrypt
Other
504 stars 60 forks source link

[Feature Request] Adding ETA information to the progress window #135

Closed git70 closed 4 years ago

git70 commented 4 years ago

screen

When writing random data to a file or device, it would be nice to see the estimated end time. Particularly useful for large volumes.

mhogomchungu commented 4 years ago

The explanation of why the functionality is now there is here[1]. Its been years since i last investigated it so perhaps its time to revisit the functionality.

The problem i saw was that a burst of fast writes will happen reducing estimated time remaining by a lot followed by prolonged stalling increasing estimated time remaining. The ETA was fluctuating too much for my liking.

[1] https://github.com/mhogomchungu/zuluCrypt/blob/d9939ec0ffba743453f8c50c00eeedc9151b05f5/zuluCrypt-gui/erasedevice.cpp#L172

git70 commented 4 years ago

It seemed to me that continuous writing block by block has a constant speed :( I don't know if it makes sense, but you can check how it is solved in Timeshift, FreeFileSync and VeraCrypt. They also have fluctuations, but it's better than no information...

mhogomchungu commented 4 years ago

Done and the binary git package has the functionality. Screenshot_20190928_091356

Screenshot_20190928_091331

Screenshot_20190928_134313

git70 commented 4 years ago

Looks wonderful :) I will wait with the update until you look at error 132