Andrew may know a better way but I would just use a poor man's profiler:
Look at whether the server is spending its time in user space or in
system calls (and if so, which system call.) If spiv's guess is right
and it's doing too much blocking crypto work, it will be in userspace.
Then we could use strace or gdb attachment to narrow it down.
Andrew may know a better way but I would just use a poor man's profiler:
Look at whether the server is spending its time in user space or in
system calls (and if so, which system call.) If spiv's guess is right
and it's doing too much blocking crypto work, it will be in userspace.
Then we could use strace or gdb attachment to narrow it down.