You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by "Hudalla Kai (INST/ECS4)" <Ka...@bosch-si.com> on 2017/03/06 12:48:17 UTC
Dispatch Router threads
Hi list,
I was wondering about the recommended number or worker threads to configure a
Dispatch Router instance with.
Is the default value of 4 suitable for all kinds of hardware or is this to be
considered a recommendation per CPU core?
In particular, what is the recommended setting for a machine with 4 cores and
16GB of RAM?
--
Mit freundlichen Grüßen / Best regards
Kai Hudalla
Chief Software Architect
Bosch Software Innovations GmbH
Schöneberger Ufer 89-91
10785 Berlin
GERMANY
www.bosch-si.com
Registered office: Berlin, Register court: Amtsgericht Charlottenburg,
HRB 148411 B;
Executives: Dr.-Ing. Rainer Kallenbach, Michael Hahn
Re: Dispatch Router threads
Posted by Kai <so...@gmail.com>.
Thanks Ted,
this helps a lot :-)
Kai
On Mon, Mar 6, 2017 at 2:07 PM Ted Ross <tr...@redhat.com> wrote:
>
> On 03/06/2017 07:48 AM, Hudalla Kai (INST/ECS4) wrote:
> > Hi list,
> >
> > I was wondering about the recommended number or worker threads to
> configure a
> > Dispatch Router instance with.
> > Is the default value of 4 suitable for all kinds of hardware or is this
> to be
> > considered a recommendation per CPU core?
> >
> > In particular, what is the recommended setting for a machine with 4
> cores and
> > 16GB of RAM?
> >
>
> Dispatch router has a single core thread and a configured number of IO
> threads (called worker threads in the configuration). You are likely to
> get the best performance by matching the number of threads to the number
> of available cores. In your case (a quad-core system) you should set
> the workerThreads to 3 so each thread has a dedicated cpu core.
>
> -Ted
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>
Re: Dispatch Router threads
Posted by Ted Ross <tr...@redhat.com>.
On 03/06/2017 07:48 AM, Hudalla Kai (INST/ECS4) wrote:
> Hi list,
>
> I was wondering about the recommended number or worker threads to configure a
> Dispatch Router instance with.
> Is the default value of 4 suitable for all kinds of hardware or is this to be
> considered a recommendation per CPU core?
>
> In particular, what is the recommended setting for a machine with 4 cores and
> 16GB of RAM?
>
Dispatch router has a single core thread and a configured number of IO
threads (called worker threads in the configuration). You are likely to
get the best performance by matching the number of threads to the number
of available cores. In your case (a quad-core system) you should set
the workerThreads to 3 so each thread has a dedicated cpu core.
-Ted
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org