FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Desktop

 
 
LinkBack Thread Tools
 
Old 07-17-2008, 05:12 AM
Gian Paolo Mureddu
 
Default Patch: timed progressbar for plymouth-plugin-spinfinity

Bastien Nocera escribió:

Using 'timebar:2' modifies the percentage calculation to use an
exponential function - this makes the bar run faster at first, then slow
as it approaches 100%. This makes startup seem even faster. Seriously!



Awesome. Humans are so gullible.



True, though I can think of ONE situation where faster boot times are
desirable: laptop users. For the minute or so it takes my laptop to boot
and initiate my session (no automatic session start, though), if the
battery is at full 100% charge, it will eat 5% of the charge during that
minute... Just do some math here and at that rate, should anything
happen during boot (like the scan of the largest partition on the
drive), there's only 20 or so minutes of power.


--
Fedora-desktop-list mailing list
Fedora-desktop-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-desktop-list
 
Old 07-17-2008, 07:55 AM
Gian Paolo Mureddu
 
Default Patch: timed progressbar for plymouth-plugin-spinfinity

Bastien Nocera escribió:

On Thu, 2008-07-17 at 00:12 -0500, Gian Paolo Mureddu wrote:


Bastien Nocera escribió:


Using 'timebar:2' modifies the percentage calculation to use an
exponential function - this makes the bar run faster at first, then slow
as it approaches 100%. This makes startup seem even faster. Seriously!



Awesome. Humans are so gullible.


True, though I can think of ONE situation where faster boot times are
desirable: laptop users. For the minute or so it takes my laptop to boot
and initiate my session (no automatic session start, though), if the
battery is at full 100% charge, it will eat 5% of the charge during that
minute... Just do some math here and at that rate, should anything
happen during boot (like the scan of the largest partition on the
drive), there's only 20 or so minutes of power.



I didn't say _actual_ faster boots were not desirable, just that a
perceived faster boot was a good thing. FWIW, if you can only get 20
minutes of battery from your laptop, it's time to buy a new battery...


Well is not like I can only get 20 minutes of power out of it, is that
during boot the system seems to be on an "all-on" state that draws
immense amounts of power. Before all the power-saving features kick in,
power drainage is very heavy. Once they're all in place I have at least
2 hours worth of battery juice. I was pointing out the immense amount of
power boot up requires, at least as of F8 (I can't install F9 yet on
this one due to graphics problems I experienced with a previous attempt)


--
Fedora-desktop-list mailing list
Fedora-desktop-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-desktop-list
 
Old 07-17-2008, 05:43 PM
Will Woods
 
Default Patch: timed progressbar for plymouth-plugin-spinfinity

Hi,

This proof-of-concept patch adds a simple progress bar to plymouth's
"Spinfinity" plugin.

The progress bar uses an estimate of boot time - defaulting to 45
seconds if unknown - and runs from 0% to 100% over that interval.

Furthermore, the patch measures how long it takes to boot and writes
that value to /etc/boottime at plugin shutdown. (This is kind of a nice
side-effect - we get actual *measured* boot speed data, rather than just
"feels snappier!")

There's an associated script, update-boottime, that crams /etc/boottime
into your initrd, so this splash plugin can use *that* to more closely
approximate the time required to boot.

This is similar to the OS X "WaitingForLoginWindow" process. It's an
effective placebo - startup *seems* faster with the progress bar, even
though it's exactly the same.

You can enable it by adding 'timebar:1' to the boot commandline. This
will make it run in linear-time mode - the progress bar moves linearly
from 0% to 100%.

Using 'timebar:2' modifies the percentage calculation to use an
exponential function - this makes the bar run faster at first, then slow
as it approaches 100%. This makes startup seem even faster. Seriously!

The bar (and its implementation) are kind of ugly right now, but again -
this is just a proof-of-concept.

I think people get impatient with spinners after ~15s or so, so I think
it's probably worth the effort to add something like this.

Don't underestimate the *perceived* difference in startup speed - or at
least the feeling that it's actually Doing Something during those ~40-50
seconds it takes system(s) to start. Try it yourself. See if you think
it makes a difference.

If people ask, I'll generate some binary packages of the 'timebar'
plugin for people to test out, but I wanted to give you all a look at
the code (and a chance to discuss the concept) first.

-w
--
Fedora-desktop-list mailing list
Fedora-desktop-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-desktop-list
 
Old 07-17-2008, 10:26 PM
Bastien Nocera
 
Default Patch: timed progressbar for plymouth-plugin-spinfinity

On Thu, 2008-07-17 at 13:43 -0400, Will Woods wrote:
> Hi,
>
> This proof-of-concept patch adds a simple progress bar to plymouth's
> "Spinfinity" plugin.
>
> The progress bar uses an estimate of boot time - defaulting to 45
> seconds if unknown - and runs from 0% to 100% over that interval.
>
> Furthermore, the patch measures how long it takes to boot and writes
> that value to /etc/boottime at plugin shutdown.

Better be somewhere under /var. It's not a config option after all.

<snip>
> Using 'timebar:2' modifies the percentage calculation to use an
> exponential function - this makes the bar run faster at first, then slow
> as it approaches 100%. This makes startup seem even faster. Seriously!

Awesome. Humans are so gullible.


--
Fedora-desktop-list mailing list
Fedora-desktop-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-desktop-list
 
Old 07-18-2008, 06:26 AM
Bastien Nocera
 
Default Patch: timed progressbar for plymouth-plugin-spinfinity

On Thu, 2008-07-17 at 00:12 -0500, Gian Paolo Mureddu wrote:
> Bastien Nocera escribió:
> >> Using 'timebar:2' modifies the percentage calculation to use an
> >> exponential function - this makes the bar run faster at first, then slow
> >> as it approaches 100%. This makes startup seem even faster. Seriously!
> >>
> >
> > Awesome. Humans are so gullible.
> >
>
> True, though I can think of ONE situation where faster boot times are
> desirable: laptop users. For the minute or so it takes my laptop to boot
> and initiate my session (no automatic session start, though), if the
> battery is at full 100% charge, it will eat 5% of the charge during that
> minute... Just do some math here and at that rate, should anything
> happen during boot (like the scan of the largest partition on the
> drive), there's only 20 or so minutes of power.

I didn't say _actual_ faster boots were not desirable, just that a
perceived faster boot was a good thing. FWIW, if you can only get 20
minutes of battery from your laptop, it's time to buy a new battery...

--
Fedora-desktop-list mailing list
Fedora-desktop-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-desktop-list
 
Old 07-18-2008, 12:12 PM
David Zeuthen
 
Default Patch: timed progressbar for plymouth-plugin-spinfinity

On Thu, 2008-07-17 at 23:26 +0100, Bastien Nocera wrote:
> Better be somewhere under /var. It's not a config option after all.

Actually /var/lib/plymouth or something. However

- /var might be read-only so you need to gracefully handle errors
- /var might be mounted pretty late in the boot process

So maybe /etc isn't such a bad place after all; IIRC it's guaranteed to
be on the root file system anyway.

David


--
Fedora-desktop-list mailing list
Fedora-desktop-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-desktop-list
 
Old 07-18-2008, 12:47 PM
Bill Nottingham
 
Default Patch: timed progressbar for plymouth-plugin-spinfinity

David Zeuthen (davidz@redhat.com) said:
> On Thu, 2008-07-17 at 23:26 +0100, Bastien Nocera wrote:
> > Better be somewhere under /var. It's not a config option after all.
>
> Actually /var/lib/plymouth or something. However
>
> - /var might be read-only so you need to gracefully handle errors
> - /var might be mounted pretty late in the boot process
>
> So maybe /etc isn't such a bad place after all; IIRC it's guaranteed to
> be on the root file system anyway.

If /var's read-only, /etc is almost certainly read-only as well. Outside
of that, once you get to the end of the plymouth run, /var will be mounted.

Bill

--
Fedora-desktop-list mailing list
Fedora-desktop-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-desktop-list
 

Thread Tools




All times are GMT. The time now is 09:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org