In MySQL Proxy 0.8 we are added a multi-threaded network-subsystem allowing several networks events be processed in parallel. Early benchmarks show that what we have in trunk basicly works.
But the benchmarks weren't as good as we expected. That's the time where you prepare to get dirty.
While Kay went with lockstat to analyze
the proxy on solaris and found that
g_atomic_int_get() isn't using native code if built
with Sun's CC, I attacked the Linux side with
oprofile.
After rebuilding the proxy with -fno-omit-frame-pointer I got the
information I was looking for from oprofile:
$ opcontrol --vmlinux=... $ opcontrol --callgraph=5 $ opcontrol …[Read more]