Re: [exim] pre-compile exim configuration

Page principale
Supprimer ce message
Répondre à ce message
Auteur: David Saez Padros
Date:  
À: exim-users
CC: gdub
Sujet: Re: [exim] pre-compile exim configuration
Hi !!

>> Since exim reads and processes its
>> config file so often (please correct
>> me if I'm wrong), it could be a worth-
>> while performance enhancement. First
>> step would be to profile process startup.
>
> I very much doubt it would be worthwhile. Most configs don't contain
> many lines; as the file is frequently read, it will probably remain in a
> main memory buffer. The amount of processor time to scan the data and
> interpret it is very small. Exim is in any case disk-limited. Processor
> time is not usually a limiting factor.


what about pre-compiling regex expressions ? will this speedup
message preocessing ??

in the other hand it will be relative simple to strip comments,
empty lines and leading white spaces, join split lines and resolve
.includes so the config file will be smaller and faster to preocess.

--
Best regards ....

----------------------------------------------------------------
    David Saez Padros                http://www.ols.es
    On-Line Services 2000 S.L.       e-mail  david@???
    Pintor Vayreda 1                 telf    +34 902 50 29 75
    08184 Palau-Solita i Plegamans   movil   +34 670 35 27 53
----------------------------------------------------------------