Enabling GOMAXPROCS for jujud

Andrew Deane andrew.deane at canonical.com
Tue Oct 29 09:33:23 UTC 2013


>From my experience we will need to pay attention to the logical flow of the
application. Its not a simple case of enabling all CPUs. We will need to
run many tests repeatedly to ensure there are no races or potential
deadlocks. Unbuffered channels are a particular cause of deadlock.

That said, enabling max procs really is worth all the testing. At my old
gig, throughput rocketed. I found it best not to take all the available
CPUs and play nicely with any other processes on the machine. I think
2/3rds available CPU was the spot, but that was for a particular workload
on a particular machine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20131029/7a289f3e/attachment.html>


More information about the Juju-dev mailing list