[Fontconfig] performance issue questions

Keith Packard keithp at keithp.com
Mon Nov 28 02:32:19 UTC 2016

Akira TAGOH <akira at tagoh.org> writes:

> what if some processes is updating the same cache?
> what if some processes are updating caches for additions during updating
> caches for deletion? and so on. FWIW this isn't a paranoid. is examples
> actually happened in the past.

The code was designed so that the cache could be computed in parallel by
many processes, but that some process would see the 'current' state of
the system and write a correct cache file.

I remain mystified as to why this doesn't actually work; is it file
systems with coarse (1s) timestamps causing troubles? Or can someone
construct a sequence of operations which cannot be satisfied by this
process, even with arbitrarily precise timestamps?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20161128/1b5b664d/attachment.sig>

More information about the Fontconfig mailing list