Bugzilla – Bug 133824
fc-list is too slow
Last modified: 2005-11-17 12:46:34 UTC
# time fc-list FZHeiTi file index fc-list(21085): unaligned access to 0x600000000007442b, ip=0x200000000009fa81 fc-list(21085): unaligned access to 0x6000000000027e35, ip=0x200000000009fa81 fc-list(21085): unaligned access to 0x600000000006f9b5, ip=0x200000000009fa81 fc-list(21085): unaligned access to 0x600000000008f347, ip=0x200000000009fa81 fc-list(21085): unaligned access to 0x600000000066764b, ip=0x200000000009fa81 fc-list(21085): unaligned access to 0x6000000000667425, ip=0x200000000009fa81 fc-list(21085): unaligned access to 0x6000000000666e75, ip=0x200000000009fa81 fc-list(21085): unaligned access to 0x60000000006652ad, ip=0x200000000009fa81 /usr/X11R6/lib/X11/fonts/truetype/FZHeiTi.ttf: :index=0 real 0m34.704s user 0m29.628s sys 0m0.540s
In 10.0 it took less than half a second.
Coolo wants to debug all fontconfig 2.3.9x related bugs and regressions. I still strongly vote to go back to 2.3.2 for 10.1.
noted. The above command takes 0.016s here. I'd go for WORKSFORME
Try installing more fonts.
That thing can't deal with a page size bigger than 8k. What a stupid design.
Coolo, your "fix" is completely broken, you don't understand the bug.
I do understand it.
You are right, I have now found my thinko. But there is still a bug when writing multiple architectures in the same cache. Also, having multiple caches in one file means that the other caches may become stale when one architecture is added or updated, since the mtime is updated. This can be a problem even with caches in system directories when multiple page size are supported on the same architecture.