Quantcast
Channel: GlassFish Related Items on Java.net
Viewing all articles
Browse latest Browse all 1091

glassfish 3 acceptor threads tuning

$
0
0

i was reading a blog post on glassfish tuning and came accross the paragraph:

"One example is acceptor threads, which should be set to a number equal the number of CPU cores in your server. So, if you have 2 CPUs with 4 cores each, the value should be 8."

so on my cent os linux box i have googled some commands and got this:

1) # grep "physical id" /proc/cpuinfo | sort -u | wc -l
to get the no of physical processors/cpu and got value of 1

2) # grep "cpu cores" /proc/cpuinfo |sort -u |cut -d":" -f2
to get the number of physical cores per cpu and got value of 4

does this mean i should set the value of acceptor threads to be : 1 x 4 = 4 ?

thanks


Viewing all articles
Browse latest Browse all 1091

Trending Articles