Comparative Bench Informations

Datas

http://tinyows.org/tracdocs/bench_data/

PostGIS

  • PostgreSQL 8.4.4
  • PostGIS SVN (2.x trunk)
  • GEOS 3.2.0
  • Proj4 4.6.1
  • LibXML 2.7.7

GeoServer

Versions

  • SUN Java 6 (1.6.0_24-b07)
  • Apache/Tomcat 7.0.19
  • GeoServer 2.1.1

tomcat7/server.xml

Uncomment:

<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>

and

<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />

Comment out

<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />

tomcat7/bin/catalina.sh

Add JAVA_OPTS:

JAVA_OPTS="-Djava.awt.headless=true -Xms144m -Xmx1024M -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:MaxPermSize=256m -XX:+UseParallelGC"

GeoServer settings

Logging Profile

PRODUCTION_LOGGING.properties

Number of decimals

5

TinyOWS

Versions

  • TinyOWS 0.9.0
  • libxml2 2.7.7

Configure

./configure   --with-fastcgi

FastCGI configuration

  FastCgiServer /usr/lib/cgi-bin/tinyows.fcgi -processes 40
  FastCgiConfig -initial-env LD_LIBRARY_PATH=/usr/local/lib:/usr/pgsql/lib:/usr/lib:/lib -appConnTimeout 60 -idle-timeout 60 -init-start-delay 1 -minProcesses 3 -maxClassProcesses 30 -startDelay 10

Configuration file

<tinyows
  online_resource="http://YOUR_IP_ADRESS/cgi-bin/tinyows.fcgi"
  schema_dir="/usr/local/tinyows/schema/"
  check_schema="1"
  log="/tmp/tinyows.log">

  <pg 
    host="127.0.0.1" 
    user="postgres" 
    password="xxxxx" 
    dbname="tinyows_test" 
    port="5432" />
<!-- END configuration -->

<!-- Don't need to change anything below this point -->
  <metadata
    name="TinyOWS-OGC-CITE"
    title="TinyOWS - OGC CITE Test">
    <contact
      name="TinyOWS Team"
      site="http://www.tinyows.org"
      email="tinyows-dev@lists.maptools.org" />
  </metadata>

  <layer name="TinyOWSBench" title="TinyOWS Bench"
            prefix="tows" server="http://tinyows.org/"
            retrievable="1">
          <layer name="europe" title="OSM administrative boundaries" />
          <layer name="france" title="IGN Geofla sub administrative area" />
  </layer>

</tinyows>