12 Mar '13, 1pm

Tuning Phusion Passenger’s concurrency settings

Memory. More processes implies a higher memory usage. If too much memory is used then the machine will hit swap, which slows everything down. You should only have as many processes as memory limits comfortably allow. Threads use less memory, so prefer threads when possible. You can create tens of threads in place of one process. Number of CPUs. True (hardware) concurrency cannot be higher than the number of CPUs. In theory, if all processes/threads on your system use the CPUs constantly , then: You can increase throughput up to NUMBER_OF_CPUS processes/threads. Increasing the number of processes/threads after that point will increase virtual (software) concurrency, but will not increase true (hardware) concurrency and will not increase maximum throughput. Having more processes than CPUs may decrease total throughput a little thanks to context switching overhead, but the di...

Full article: http://blog.phusion.nl/2013/03/12/tuning-phusion-passenge...

Tweets

Tuning Phusion Passenger’s concurrency settings

blog.phusion.nl 12 Mar '13, 10pm

Memory. More processes implies a higher memory usage. If too much memory is used then the machine will hit swap, which slo...

Tuning Phusion Passenger's concurrency settings

rubyflow.com 12 Mar '13, 1pm

Tuning Phusion Passenger's concurrency settings Posted by FooBarWidget on March 12, 2013 — 0 comments This article te...

Tuning Phusion Passenger’s concurrency settings

blog.phusion.nl 13 Mar '13, 3pm

Memory. More processes implies a higher memory usage. If too much memory is used then the machine will hit swap, which slo...

We're working on signing all our software packages and gems. So should you.

We're working on signing all our software packa...

phusion.nl 11 Mar '13, 3pm

Digital Signatures & Cryptography We make it easy for you to take security seriously. We strongly believe in protecting th...