My performance test environment is as below:
Env: centos
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Configurations: worker_connections 4096, worker_processes auto, and upstream keepalive are configured to 128 and keepalive timeout to 30,
When I'm taking a performance test, nginx server CPU wasn't fully taken, just about 50% or less.
Flame graphs of both on-cpu and off-cpu is attached. Could you please help me to analyze performance bottlenecks?
Thank you so much!
Attachment:
nginx_on_cpu_200.svg
Description: image/svg
Attachment:
nginx_off_cpu_200.svg
Description: image/svg