How to correctly dedicate server processes to specific CPU cores?

2018-01-12 Thread Raffael Vogler
I have 16 cores (0 to 15) and the most active processes are: - nginx - php-fpm - eth0-TxRx-0 (paired Tx and Rx queues #1) - eth0-TxRx-1 (paired Tx and Rx queues #2) eth0-TxRx-0 is already dedicated to core #5 and eth0-TxRx-1 to core #6. But on those two cores are also nginx and php-fpm

Re: 2 of 16 cores are constantly maxing out - how to balance the load?

2018-01-12 Thread Raffael Vogler
So, let’s say say you have 8 cores and 1 RX and 1 TX queue: Core 0: RX queue Core 1: TX queue Core 2 to 7: nginx processes what tool or configuration file would I have to use to dedicate cores to processes? ___ nginx mailing list nginx@nginx.org

Re: 2 of 16 cores are constantly maxing out - how to balance the load?

2018-01-12 Thread Raffael Vogler
Perhaps you should use pidstat to validate which processes are running on the two busy cores? Did that an can confirm that CPU 5 and 6 are not exclusively used by networking - but also by nginx and php-fpm. ___ nginx mailing list nginx@nginx.org

Re: 2 of 16 cores are constantly maxing out - how to balance the load?

2018-01-11 Thread Raffael Vogler
Or would it make sense (if possible at all) to assign two or three more cores to networking interrupts? ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

2 of 16 cores are constantly maxing out - how to balance the load?

2018-01-11 Thread Raffael Vogler
Hello! I have nginx with php-fpm running on a 16 core Ubuntu 16.04 instance. The server is handling more than 10 million requests per hour. https://imgur.com/a/iRZ7V As you can see on the htop screenshot cores 6 and 7 are maxed out and that's the case constantly - even after restarting nginx