UDOO – Debian – nginx – performance tuning

This is an update to my previous post: Optimizing Raspberry Pi performance

Unlike Raspberry Pi – UDOO board has quad core CPU. We can verify that by running:

grep ^processor /proc/cpuinfo | wc -l

So i’ve adjusted the /etc/nginx/nginx.conf accordingly:

# One worker per CPU-core.
worker_processes  4;

events {
    worker_connections  8096;
    multi_accept        on;
    use                 epoll;
}