title: Gunicorn with gevent workers and threads
body: <p>I have a server with 4 cores.</p>
  
  <p>When setting up Gunicorn with workers and threads can I assign the same number of workers and threads to the cpu's since they will be doing different things?</p>
  
  <p>for example</p>
  
  <pre><code>from gevent import monkey
  monkey.patch_all()
  import multiprocessing
  
  workers = multiprocessing.cpu_count() * 2 + 1
  bind = "127.0.0.1:5000"
  worker_class = 'gevent'
  worker_connections = 1000
  threads = multiprocessing.cpu_count() * 2 + 1
  </code></pre>
  
  <p>Or should I instead do this</p>
  
  <pre><code>from gevent import monkey
  monkey.patch_all()
  import multiprocessing
  
  workers = 2 * 2 + 1
  bind = "127.0.0.1:5000"
  worker_class = 'gevent'
  worker_connections = 1000
  threads = 2 * 2 + 1
  </code></pre>