Re: Progress bar

2017-04-23 Thread Chris Murphy
On Sun, Apr 23, 2017 at 10:53 AM, Alessio Ciregia <alcir...@gmail.com> wrote:
> On Apr 23, 2017 17:42, "Chris Murphy" <li...@colorremedies.com> wrote:
>
> The progress bar is almost useless. A bunch of research has been done
> on progress estimation, and it's actually a hard problem.
>
>
> That's ok. Generally speaking, progress bar is only a visual effect and it
> can report wrong informations. A famous progress bar was the one visible
> during the Mac os X boot process, that was based on the last boot time and
> not on any estimation.
> What I mean is that, while percentagegoes on, progress bar is full from
> start to finish, there are no progresses from 0 to 100%
> And I haven't spotted such issue on previous versions of Fedora. If I'm not
> wrong.


Ahh yeah, the disconnect between progress bar and percentage is a new
bug. The progress bar is always "done" even while the percentage is at
e.g. 5%. And also I'm seeing a change in the behavior I previously
described, the percentage progression to 100% does a pretty decent job
of ending up at 100% when it's really done.


-- 
Chris Murphy
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


Re: Progress bar

2017-04-23 Thread Alessio Ciregia
On Apr 23, 2017 17:42, "Chris Murphy" <li...@colorremedies.com> wrote:

The progress bar is almost useless. A bunch of research has been done
on progress estimation, and it's actually a hard problem.


That's ok. Generally speaking, progress bar is only a visual effect and it
can report wrong informations. A famous progress bar was the one visible
during the Mac os X boot process, that was based on the last boot time and
not on any estimation.
What I mean is that, while percentage​goes on, progress bar is full from
start to finish, there are no progresses from 0 to 100%
And I haven't spotted such issue on previous versions of Fedora. If I'm not
wrong.

Ciao
A.
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


Re: Progress bar

2017-04-23 Thread Chris Murphy
On Fri, Apr 21, 2017 at 1:20 PM, Alessio Ciregia <alcir...@gmail.com> wrote:
> During installation, the progress bar is "full", all blue I mean, during the
> installing software process. Even if the percentage of the installation is
> not 100%
>
> I'm using Fedora-Workstation-Live-x86_64-26-20170420.n.0.iso
>
> Is this expected?

The progress bar is almost useless. A bunch of research has been done
on progress estimation, and it's actually a hard problem. But a way to
make it more reliable would be having installation milestones, e.g.
maybe 10% is always the completion of partitioning, fsck, and mkfs;
and 90% is always the making of the initramfs. We have a textual
description of what's going on with the installation, and tying those
things to some percentage sounds more reliable and consistent.

If I do a default installation (ext4 on LVM on a HDD using CFQ
scheduler) the progress is fairly sane up until initramfs generation
where it hangs at 100% for a while. If I do a Btrfs installation on
SSD using noop scheduler, it goes pretty much from 0% done to 100%
done right after mkfs, and just stays there through rsync copy, and
initramfs creation, and bootloader config.

Anyway, maybe the problem is the progress bar is trying to do too much
intelligent estimation but ends up making assumptions that can be
wrong. So instead maybe make it less smart, less dynamic.


-- 
Chris Murphy
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


Progress bar

2017-04-21 Thread Alessio Ciregia
During installation, the progress bar is "full", all blue I mean, during
the installing software process. Even if the percentage of the installation
is not 100%

I'm using Fedora-Workstation-Live-x86_64-26-20170420.n.0.iso

Is this expected?


Ciao
A
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org


Re: F20 anaconda progress bar

2013-09-16 Thread Kamil Paral
- Original Message - 

 On 12/09/13 05:54, Richard Ryniker wrote:

  On my last installation (TC4) anaconda's blue progress bar stalled at
 
  approximately 40% while thousands of packages were installed.  I suspect
 
  this is Working as Designed.  There is a continuing display of package
 
  names as they are installed, as well as counts of installed packages and
 
  total number of packages to be installed, therefore a user is not likely
 
  to think the installation process is stuck just because there is no
 
  movement of the progress bar.  The little slide show below the progress
 
  bar also continues.
 

  This does, however, give an impression the installer is a bit crude:
 
  during the longest part of the installation process, there is no movement
 
  of the progress bar.
 

  If someone does see better behavior of the anaconda progress indicator,
 
  please post to say it is my experience that is wacky.
 

 I have observed the same as you. I suspect it only get s updated after each
 stage of installation is completed.

 I think there should be a progress bar for each stage, updating according to
 the number of micro-stages/files/byt es/... (as appropriate) processed. From
 memory, as the last install I did was for F19, there should be 4 bars
 labelled appropriate ly . This way, not only would be people be aware of
 what stage the installation was at, but they would have an indication of the
 progress in the current stage, and what other s tages were yet to be
 started. Obviously, i f 2 or more stage could be done in parallel, then
 those progress ba rs would be updated concurrently.

 More importantly, the progress bar ( if there is only to be one) should be
 finer grained than up dating after each major stage.

 Just my 2 pennies worth.

 Cheers,
 Gavi n


Right, anaconda doesn't have a progress bar, but a stage indicator. 
Unfortunately it is displayed as... a progress bar.

I tried to explain the differences and propose some improvements to Martin 
Sivak, a former Anaconda developer, but he wouldn't listen. He doesn't work on 
Anaconda anymore, so maybe someone else might be more open to this dialogue.

I suggest that you write into anaconda-devel mailing list [1], or/and create a 
bugzilla report with your suggestions.

Kamil

[1] https://www.redhat.com/mailman/listinfo/anaconda-devel-list
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test

F20 anaconda progress bar

2013-09-11 Thread Richard Ryniker
On my last installation (TC4) anaconda's blue progress bar stalled at
approximately 40% while thousands of packages were installed.  I suspect
this is Working as Designed.  There is a continuing display of package
names as they are installed, as well as counts of installed packages and
total number of packages to be installed, therefore a user is not likely
to think the installation process is stuck just because there is no
movement of the progress bar.  The little slide show below the progress
bar also continues.

This does, however, give an impression the installer is a bit crude:
during the longest part of the installation process, there is no movement
of the progress bar.

If someone does see better behavior of the anaconda progress indicator,
please post to say it is my experience that is wacky.
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test

Re: F20 anaconda progress bar

2013-09-11 Thread Gavin Flower

On 12/09/13 05:54, Richard Ryniker wrote:

On my last installation (TC4) anaconda's blue progress bar stalled at
approximately 40% while thousands of packages were installed.  I suspect
this is Working as Designed.  There is a continuing display of package
names as they are installed, as well as counts of installed packages and
total number of packages to be installed, therefore a user is not likely
to think the installation process is stuck just because there is no
movement of the progress bar.  The little slide show below the progress
bar also continues.

This does, however, give an impression the installer is a bit crude:
during the longest part of the installation process, there is no movement
of the progress bar.

If someone does see better behavior of the anaconda progress indicator,
please post to say it is my experience that is wacky.
I have observed the same as you.  I suspect it only gets updated after 
each stage of installation is completed.


I think there should be a progress bar for each stage, updating 
according to the number of micro-stages/files/bytes/... (as appropriate) 
processed. From memory, as the last install I did was for F19, there 
should be 4 bars labelled appropriately.  This way, not only would be 
people be aware of what stage the installation was at, but they would 
have an indication of the progress in the current stage, and what other 
stages were yet to be started.  Obviously, if 2 or more stage could be 
done in parallel, then those progress bars would be updated concurrently.


Moreimportantly, the progress bar (if there is only to be one) should be 
finer grained than up dating after each major stage.


Just my 2 pennies worth.


Cheers,
Gavin
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test