Ah ok, when codinghorror said “Linux tuning” I assumed he meant Linux kernel tuning . I agree there is plenty of tuning of other components and my aim was to replicate all of this tuning. (Though in fact, ansible-discourse
does some kernel tuning too.)
ansible-discourse
should also be doing all of these things. Tuning is done for Ruby/Unicorn (environment variables, jemalloc, workers etc), Redis (kernel tuning), PostgreSQL (shared_buffers, work_mem etc) and NGINX (workers, ratelimiting, spdy etc).
I’ve defaulted to Ruby 2.2 as I was under the impression everything was fine [1]
[2]
. Perhaps I’ll drop back to Ruby 2.0.