[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: router daemons

> What I need to consider when one wants to configure the number of router
> daemons to run simultaneously? One, two...?

   Usually *one*.
If you accumulate lots of queue which takes long time; there
are at least two possible reasons:

	- you absolutely run out of horse-power (router process(es) are
	  running all the time at 30-50% cpu share)

	  At a N-CPU system you could run up to N parallel routers,
	  or perhaps a few short, if you have *lots* of processors..

	  At a quad cpu system: 2-3 routers, no reason to have more
	  than 4 routers; leave something for the scheduler and
	  transport programs.)

	- your router script is doing some DNS lookups which don't
	  resolve immediately, rather they time out (cpu share 1-2%)

	  for this second case running more parallel routers can help,
	  although fixing the script so that router does not do DNS
	  lookups could be more productive.

> --
> Alfredo Sanjuan <alfre@ibd.es>
> Director TI - IBD S.L. <http://www.ibd.es/>

/Matti Aarnio <mea@nic.funet.fi>