Re: [Exim] Performance question

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tony Finch
Fecha:  
A: brutman
Cc: exim-users
Asunto: Re: [Exim] Performance question
Michael Brutman <brutman@???> wrote:
>
>Kernel profiling is telling me that it spends a lot of time creating
>processes - 60% of the CPU time is spent in kernel mode. I understand from
>reading the documentation and the archives that exim uses a delivery
>process for each delivery, and I suspect that it what is causing this.


I'm surprised that CPU is your limiter. Seymour Cray is supposed to have
said that a supercomputer is a device for turning a compute-bound process
into an IO-bound one, so perhaps you should just get bigger processors :-)

Alternatively, you might try using one big CPU instead of two smaller
ones to avoid SMP locking issues.

How many concurrent processes are you seeing? Perhaps you can reduce
context-switch thrashing by adjusting Exim's load management options.
I've done this by arranging for mail to be queued in high load situations,
and limited the number of queue runners (which is the same as the number
of concurrent deliveries of deferred mail).

Exim re-execs itself quite frequently in order to manage privilege
(especially for local deliveries), and because run-time linking slows
things down you will be better off with a statically-linked Exim.

Tony.
--
f.a.n.finch <dot@???> http://dotat.at/
SHETLAND ISLES: SOUTHEAST TO SOUTH 5 OR 6. CLOUDY, SHOWERS OR LONGER PERIODS
OF RAIN. GOOD FALLING MODERATE IN SHOWERS OR RAIN. ROUGH.