OpenStreetMap-embleem OpenStreetMap

The world smallest mapserver?

Plasing deur SunCobalt op 25 Junie 2012 in German (Deutsch).

Just this weekend my ordered mini computer arrived after waiting two months. Basically, it is a single core ARMv7 processor with 800Mhz, 1GB RAM, 1000baseT Ethernet and a MicroSD instead of a harddisk (plus some other features). Its size is 55x55x42mm and weights 91g. The power consumtion is around 3W and less than 1W at standby. I am runing it unter Ubuntu.

Alt text

First I was struggeling a while with the software because there are not so many packages avaible for ARM as I am used to have with a straight forward x86 computer. I wanted to give Mapnik a try but without success. I ended with PostgreSQL 8.4 + PostGIS and an old version of Mapserver 5.6.x - thanks to precompiled bins at launchpad. Luckily I had some older rendering rules for this mapserver version here (thanks to the mapserver-utils project). So some hours later I made it….loaded a 30MB *.osm.bz2 file (300MB database size) into PostgreSQL and got it rendered.

Alt text

What I have learnt is that unlike my “normal” rendering computer, where IO is the bottleneck, here it is the slow single core CPU. Personally I am a bit surprised how good it works. Okay, slow but faster much faster than I have expected….somehow like an internet connection from the old days.

Alt text

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Discussion

Kommentaar van Zverik op 26 Junie 2012 om 06:18

Maybe lighttpd would be a bit faster than apache? I use it on my wi-fi router.

Kommentaar van Jean-Marc Liotier op 29 Junie 2012 om 14:34

Does your username have anything to do with your server’s physical shape being a cube ?

Meld aan om kommentaar te lewer