Reducing fontconfig system calls

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


Hi,

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?

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20081116/6f7a2330/attachment.html>


More information about the xorg mailing list