Re: performance issue questions

Keith Packard <[email protected]>
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <[email protected]>
Akira TAGOH <[email protected]> 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?

-- 
-keith

_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAlg7lzQACgkQ2yIaaQAA
ABH78w/+NBZXURC98k2N3SjhywlZxYgECv7+B9/Afuw21oQ3Pm4z3XVwnhlWEKoo
K4G/+AuoBPprHVeVEDF6R5xVDCb36jw1If/9Bmmn2+wJUskvlzw5mMgMDSPYPHxc
24S1ypIGs5UNpvvx3I8V+JsDCTH4Q4CMOAVJt2SfPr2WKBTYMGfyLf9oRwrYxxny
wBSBxDRkZZoHPYvoHRawqNHvMihoBEIVyoGun6KcZM9axO3djZOu/rk0LEy/B1E9
4Sobp6pzxe5qnM+m+6AWmAO5RNjZ4Ik7bBNJ2GxTA89woQWE8aecNaqwN8qIln+J
dIJfJEfXSAqJqKxkl74iUclxdb+t0ECkLVj/KHyMWVS4QXOxed5E7q1q1vnU2tjn
haukj5K/TljSSBmI5eQCAazDxlZIyqm7BWPAly0Lo26EYawGA2BbsuSFl0AtG/19
+aWJXiYD5QHPV/4qs/1mLRjf7ve5JVYMCuUY0SwHmU0p2P8li8CIGXzCkM46pEy8
nmDC6oqu3CCdV1RIzsYok+7nQAI9Quj+q95qb0PwJRP/ModdU+2aAfBcZYfuFA9h
srWgcEqOR8G6TWdUUWiGMLvJggh+nNGjqSvDM3Zqygc2zu/n+iOtmi8mTudIngVB
qrS05v2UYrBzrqgTVYjRQ4osb8nmTaH6/MmCvo4Kd2/7ozSaCcQ=
=6h1I
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.