Reducing fontconfig system calls

☂Josh Chiα (谢任中) joshchia at
Sun Nov 16 01:07:17 PST 2008


I'm running fontconfig in a sandbox, using ptrace, so each system call by
fontconfig has a great cost.  Some of these come from file opening, and
numerous small file reads.

Has anyone looked into reducing system calls and small file reads?  Is there
a way to configure fontconfig to minimize small reads?  Would I need to
modify the code?  If so, which areas should I be looking at?

Also, I'm not using a font cache, and I'm not sure how it works.  Does it
have any bearing on this problem?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the xorg mailing list