[PATCH 1/2] Do not use 100 % of CPU time when updating installation progress

Vratislav Podzimek vpodzime at redhat.com
Fri Sep 7 10:01:46 UTC 2012


On Tue, 2012-09-04 at 09:56 -0400, Chris Lumens wrote:
> > We shouldn't use GLib.idle_add for non-oneshot functions because it
> > causes 100% CPU use. Let's use GLib.timeout_add_seconds instead.
> 
> I am concerned that one second is going to miss fast mkfs operations,
> like perhaps for /boot or biosboot, and that might look weird.
Okay, 250ms seems to be good for both CPU usage and displaying all
operations. Please note, that the second patch of this set is the more
important one.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list