[lkml]   [2011]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: REGRESSION: Performance regressions from switching anon_vma->lock to mutex

> 7.44% exim [kernel.kallsyms] [k] format_decode
> |
> --- format_decod

This is a glibc issue. exim calls libdb and libdb asks sysconf for the
number of CPUs to tune
its locking, and glibc reads /proc/stat. And /proc/stat is incredible slow.

I would blame glibc, but in this case it's really the kernel to blame
for not providing proper

This was my motivation for the sysconf() syscall I submitted some time ago.

Anyways a quick workaround is to use this LD_PRELOAD:
But it's not 100% equivalent.


 \ /
  Last update: 2011-06-15 22:59    [W:0.076 / U:1.088 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site