Score:0

Uneven CPU usage with NGINX

sn flag

On my CentOS 7 server, the load on each core is unequally distributed, as seen in the screenshot: some nginx worker seem to take way more load than other. irqbalanceis enabled, hyperthreading disabled.

Any idea why ?

enter image description here

Score:1
cn flag

CPU 2 has at least a statsd task in addition to its nginx task. Migrating tasks to different CPUs is expensive, so not surprising that the scheduler stays like this for a while.

Load average of 7 to 8 on a 16 CPU system indicates that there are more CPUs than tasks ready to run. Remember that CPU usage does not mean what you think it does, often CPU time is actually stalled waiting for memory or I/O.

Better, but more difficult to measure, performance metrics are focused on the user experience rather than host metrics. Perhaps request response time for nginx.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.