This content has been marked as final.
Show 2 replies
-
1. Re: Where thread pool tuning per CPU in 7.1.1?
traian20 Jun 20, 2012 3:10 AM (in response to maksymg)You can still use the per-cpu attribute in 7.1.1, so you can define the pool like this:
<blocking-bounded-queue-thread-pool name="ajpPool">
<core-threads count="10" per-cpu="10"/> <queue-length count="20" per-cpu="20"/> <max-threads count="100"/> </blocking-bounded-queue-thread-pool> -
2. Re: Where thread pool tuning per CPU in 7.1.1?
maksymg Jun 22, 2012 3:18 PM (in response to traian20)It applies properly but fires a warning:
WARN [org.jboss.as.threads] JBAS012400: The 'per-cpu' attribute is no longer supported. The value [X] of the 'count' attribute is being combined with the value [Y] of the 'per-cpu' attribute and the current processor count [2] to derive a new value of [Z] for 'count'.
I have also found no way to assign 'per-cpu' via CLI. So it can only be done manually by editing XML.
Can someone explain why this convient feature is sunset?