[opensuse-factory] fc-config taking a long time, why run/font?
fc-config takes a long time to run on my system (alot of fonts). The thing I am wondering: is it necessary to re-run it with each font installed? I count 173 packages that have fonts... @ ~ 2-3 minutes / run (2 minutes cpu/run), that's a long wait -- why not run it on a cron job == hourly if needed, but, obviously, not running if not needed? That's 6 hours of install time just for the fonts?! Ouch...why so long? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Friday 2013-11-15 07:00, Linda Walsh wrote:
fc-config takes a long time to run on my system (alot of fonts).
The thing I am wondering: is it necessary to re-run it with each font installed?
I count 173 packages that have fonts... @ ~ 2-3 minutes / run (2 minutes cpu/run), that's a long wait -- why not run it on a cron job == hourly if needed, but, obviously, not running if not needed?
Say, if you run `top` while installing/uninstalling a font package, do all desktop processes jump to 100% usage for you? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2013-11-14 23:04, Jan Engelhardt wrote:
Say, if you run `top` while installing/uninstalling a font package, do all desktop processes jump to 100% usage for you?
No just the rpm process I am waiting on. I've noticed, that if I add a font manually, then the first time I run 'gvim', it will regen the fonts -- BUT -- it will only store the cached result of the run if I am running as root -- so if I just ran as a regular user, it would run the fc-config routine each time I startup the editor -- major ick. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2013-11-14 23:04, Jan Engelhardt wrote:
On Friday 2013-11-15 07:00, Linda Walsh wrote:
fc-config takes a long time to run on my system (alot of fonts).
The thing I am wondering: is it necessary to re-run it with each font installed?
I count 173 packages that have fonts... @ ~ 2-3 minutes / run (2 minutes cpu/run), that's a long wait -- why not run it on a cron job == hourly if needed, but, obviously, not running if not needed?
Say, if you run `top` while installing/uninstalling a font package, do all desktop processes jump to 100% usage for you?
---- No just the rpm process I am waiting on.
I've noticed, that if I add a font manually, then the first time I run 'gvim', it will regen the fonts -- BUT -- it will only store the cached result of the run if I am running as root -- so if I just ran as a regular user, it would run the fc-config routine each time I startup the editor -- major ick.
---- I think I missed the response to this (had email problems last weekend)... but are you saying 6-hours to install just the fonts is reasonable for an installation when non-font packages take as little as .1-.2 seconds (i.e. sources local) It looks like the font-config process is broken if it needs to run a 2+ minute database rebuild for each single font installed. You don't think that is a tad bit unreasonable? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hello, Am Samstag, 16. November 2013 schrieb Linda Walsh:
It looks like the font-config process is broken if it needs to run a 2+ minute database rebuild for each single font installed. You don't think that is a tad bit unreasonable?
It is ;-) The solution is probably to use a posttrans script (which libzypp seems to support now) instead of a postinstall script. The texlive-* packages already use a posttrans script - it shouldn't be too hard to "steal" the script from there and do something similar for the font packages. Regards, Christian Boltz -- Nix da, es werden bitte "funktionierende Pinguine" gebaut. ;-))) [Gerald Engl in suse-linux] -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Christian Boltz
-
Jan Engelhardt
-
Linda Walsh