Fork me on GitHub

i'm using a pipeline and i'm trying to figure out the ideal parallelization factor. It's a 6 core box, 2 threads per core = 12 threads. Java sees threads, not cores. I'd like to have one dedicated thing for the web server, and one dedicated thing for postgres. So does that mean that the parallelization factor should be 4, or 10? do cores matter or do threads?