On Oct 30, 2010, at 6:25 AM, John Mitchell wrote:

> I noticed in the FOSS4G benchmark, or "WMS Shootout" tests that
> Mapnik/paleoserver did quite well.

Yes, really just Mapnik however. The server should not have too much 
consequence on rendering speeds for tests like those in the FOSS4G 2010 
benchmarks, if written well. This is because the datasets were large and disk 
io and rendering take up most time.

The main reason I wrote Paleoserver was as a mechanism to test different 
rendering approaches within Mapnik (shared map object vs one map per thread), 
and to test how mapnik scaled under variable size thread pools. Paleoserver 
made it easy to test these things, and consequently helped me understand where 
to make improvements in Mapnik core that could benefit all servers written on 
top of Mapnik.

The added benefit is that I though it would also be faster than the ogcserver, 
but I've learned that is not the case (see below).

>  In the below email you mentioned
> that you were also going to test Mapnik/WMS implementation from
> Geofabrik (mod_mapnik_wms), but I did not notice any mention of
> results from mod_mapnik_wms.

Yes, that was my intention. But I ran out of time to do proper tests of 
mod_mapnik_wms in time for the FOSS4G event.

However, following the event I did quickly run mod_mapnik_wms and ogcserver 
through the shapefile and postgis "non-reprojected" tests.

For shapefiles mod_mapnik_wms results were exactly the same as paleoserver 
under high load, but slightly faster under low to moderate load. I can't report 
anything re: postgis because I ran into a connection synchronization problem 
between mod_mapnik_wms and mapnik (trunk). I need to find time to dig into that 
problem and am not sure when I will have that time.

I also tested the ogcserver using mod_wsgi, and the results were nearly 
equivalent to mod_mapnik_wms/paleoserver, which again points to the fact that 
the speeds we are seeing are overwhelmingly related to Mapnik core, not the 
server implementation.

I think we would need to do benchmarks with much smaller datasets to tease out 
significant differences in the servers.

> Also how would the not reprojected vector rendering performance of WMS
> Mapnik/paleoserver compare to the the protocol that openstreetmap.org
> uses?

Good question. You mean WMS vs Tiles rendered on the fly and not cached? I 
don't know, and its hard to say how you could test that correctly, because most 
tiled implementations are rendering metatiles. But, I'll certainly keep it in 
mind for the future.

> 
> Thanks,
> 
> John
> 
> On 7/30/10, Dane Springmeyer <d...@dbsgeo.com> wrote:
>> Just a reminder that I've stepped up to put mapnik through the paces in the
>> FOSS4G benchmark, or "WMS Shootout".
>> 
>> http://wiki.osgeo.org/wiki/Benchmarking_2010
>> 
>> This is a friendly competition, and in past years has resulted in many new
>> fixes and code innovations for the MapServer and GeoServer teams that have
>> competed. They also seemed to create a good vibe of collaboration, which I
>> admired.
>> 
>> I figured it would benefit the Mapnik project to go through the same process
>> and learn from the comparison. My work on projection code optimization came
>> from my first week testing
>> (https://lists.berlios.de/pipermail/mapnik-devel/2010-July/001199.html).
>> Basically I knew that the WMS load tests that will be placed on mapnik will
>> be numerous and I wanted to see whether requests/sec increased significantly
>> if the server was run with more potential threads. I found that it didn't,
>> until I removed and fixed up some of the thread safety code around proj4.
>> 
>> Anyway, if you are interested in helping test, supporting on any other
>> level, or have questions, just get in touch.
>> 
>> In the coming weeks the actual benchmarking server will finish being set
>> fully up with the same data and styles to be run against each software teams
>> builds. The WMS spec was chosen as a reasonable way to load a server with
>> random bounding box requests to test raw rendering speed under different
>> styling scenarios. I plan to test both the newly released WMS implementation
>> from Geofabrik (mod_mapnik_wms)[1] and a yet-un-released boost::asio-based
>> server I have been working on (aka. paleoserver). For those that are
>> interested all the styles and scripts I create along the way will be
>> available in the osgeo svn [3].
>> 
>> Cheers,
>> 
>> Dane
>> 
>> 
>> [1] http://wiki.openstreetmap.org/wiki/Mod_mapnik_wms
>> [2] http://github.com/springmeyer/paleoserver
>> [3] http://svn.osgeo.org/osgeo/foss4g/benchmarking
>> _______________________________________________
>> Mapnik-users mailing list
>> Mapnik-users@lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/mapnik-users
>> 
> 
> 
> -- 
> John J. Mitchell

_______________________________________________
Mapnik-users mailing list
Mapnik-users@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to