[mapserver-dev] Performance issue with MS 7.x

thomas bonfort thomas.bonfort at gmail.com
Tue Mar 1 02:09:03 PST 2016


I've opened https://github.com/mapserver/mapserver/pull/5259 with a
potential fix for this. Can you try it out on your testcase and report back
with your perf timings please?

--
thomas

On 29 February 2016 at 19:01, thomas bonfort <thomas.bonfort at gmail.com>
wrote:

> Please open an issue for this
>
> On 29 February 2016 at 18:38, Pierre Mauduit <
> pierre.mauduit at camptocamp.com> wrote:
>
>> Hi list,
>>
>>
>> On Mon, Feb 29, 2016 at 5:33 PM, thomas bonfort <thomas.bonfort at gmail.com
>> > wrote:
>>
>>> For what kind of requests (WMS, WFS, raster, vector, ...)?
>>>
>>>
>> It was a WMS getmap onto a layer which gets its data from a shapefile.
>> The performance issue comes from the fact that the
>> msGetProjectNormalized()[1] call on the projections will need to create a
>> new proj4 context with loads of costly calls to strncmp(). The getmap
>> request in 6.5 (official deb package) shows that 6billions CPU cycles are
>> needed, against more than 30 billions in 7.0.
>>
>> I can provide more details if needed, regards,
>>
>> [1]
>> https://github.com/mapserver/mapserver/blob/branch-7-0/mapproject.c#L1106-L1107
>>
>> -- Pierre
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20160301/a688a948/attachment.html>


More information about the mapserver-dev mailing list