Ticket #689 (new enhancement)
Discard snapshot: Progress bar indicator should reflect time remaining
|Reported by:||laser||Owned by:|
|Version:||VirtualBox 1.5.0||Keywords:||snapshot discard progress|
When discarding a snapshot using either the VirtualBox GUI or VBoxManage, a progress bar is displayed during the operation. Unfortunately, the progress bar does not accurately indicate the time remaining, but instead seems to indicate progression through logic operations.
Example: In my system, described below, with the virtual disks and virtual machines all located on an external USB hard drive, discarding a snapshot with a difference disk approximately 3Gb in size takes between 15 and 20 minutes.
When performing this operation, the progress indicator immediately jumps to 50%, with the description "Preserving changes to normal hard disk 'MyVM.vdi' (2/2)" also displayed in the GUI progress bar dialog. The progress indicator then takes about 15 minutes to reach about 75%, then quickly reaches 100%.
To a casual user, the progress bar therefore gives a very poor indication of the time remaining.
Suggestion for enhancement: VBoxManage The progress bar should reflect the ratio of time taken to time remaining. It would be useful also to accept a command line switch for verbose reporting of progress, such that at each 1% progress step is printed on a new line (e.g. "Progress=015%: Operation="Preserving changes to normal hard disk 'MyVM.vdi' (2/2)") - this would make it easier for third party tools to parse the output.
Suggestion for enhancement: VirtualBox GUI The progress bar should reflect the ratio of time taken to time remaining, but may also indicate in text above the bar the number of logic operations taken ("Preserving changes to normal hard disk 'MyVM.vdi' (2/2)"), together with the estimated remaining time ("Time remaining "4min 30sec").
The initial estimate of the total time required should consider the size of the difference disk, and subsequent estimates should compare the number of differences commited against number remaining.
Host OS: WinXP Guest OS: WinXP VirtualBox v1.5.0