Re: [exim] 4.87 -> 4.88 readconf performance

Top Page
Delete this message
Reply to this message
Author: Do not reply
Date:  
To: exim-users
Subject: Re: [exim] 4.87 -> 4.88 readconf performance
On 3/9/2017 10:46 AM, Jeremy Harris wrote:

> On 09/03/17 16:20, lists-exim@??? wrote:
>> Unfortunately this is stuck running this on HPUX 11.2 at the moment.
>> I don't have much installed aside from GCC/GDB but if you can make
>> some suggestions I'll be happy to do some research as time permits.
>>
>> I also plan to take this config and test it on Linux 4.87 vs 4.88 as
>> well. The message originator runs on HPUX and distributes the email to 3
>> MX hosts in the DMZ all running EXIM 4.80 on Debian.
>
> Linux has a suite of tools called "perf". I'd expect HPUX to have
> something similar; Solaris certainly did when I worked with that.
>
> Learning what to look for is the worst thing with these sorts of
> tools, I find; they have too many options. I'd like a time-by-function
> list, as a start.


GCC can also do profiling.

Build with: CFLAGS="-g -pg", LDFLAGS="-g -pg".

Then run with: gprof -Isrc exim-4.88 gmon.out > gprof-exim.txt
(where "src" is a list of search directories in which to find source
files; exim-4.88 is the executable; gmon.out is a product of the build
-- dynamic call graph and profile)

Hope this helps.
--
R.Berber