strace.ebpf icon indicating copy to clipboard operation
strace.ebpf copied to clipboard

Don't use stdio for log output

Open vitalyvch opened this issue 8 years ago • 0 comments

It introduce performance penalty

we should use manual buffering, file-descriptors and direct syscalls.

"Optimal" size for buffer ~16 MBytes.

Maybe ring buffering also will introduce some benefits. Maybe we should stream output through ring buffer to separate "writer" process.

vitalyvch avatar Feb 16 '17 13:02 vitalyvch