Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2002:
[Freeciv-Dev] Making freeciv faster
Home

[Freeciv-Dev] Making freeciv faster

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Making freeciv faster
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Tue, 29 Oct 2002 21:46:13 +0100

In the eternal quest of making freeciv faster I compiled it today with
the compiler from intel. Results are as follows:

      GCC/O2/time:user    4m7.950s
    INTEL/O3/time:user    4m0.410s
    INTEL/O2/time:user    4m0.380s
      GCC/O3/time:user    3m52.310s
 INTEL/O2_ip/time:user    3m41.450s
INTEL/O2_ipo/time:user    2m53.090s

GCC's version is "3.2"
INTEL's version is "Intel(R) C++ Compiler for 32-bit applications, Version 
6.0.1   Build 20020822Z"

Test script was:
  set randseed 42
  set seed 42
  set timeout -1
  set aifill 7
  hard
  create Caesar
  start

The "good" news are that the md5sums of all final savegames are
identical:
99ae7eb3fa7e7dc0fd9c63eaa68f61d9  GCC/O2/civgame+2001.sav.gz
99ae7eb3fa7e7dc0fd9c63eaa68f61d9  GCC/O3/civgame+2001.sav.gz
99ae7eb3fa7e7dc0fd9c63eaa68f61d9  INTEL/O2/civgame+2001.sav.gz
99ae7eb3fa7e7dc0fd9c63eaa68f61d9  INTEL/O2_ip/civgame+2001.sav.gz
99ae7eb3fa7e7dc0fd9c63eaa68f61d9  INTEL/O2_ipo/civgame+2001.sav.gz
99ae7eb3fa7e7dc0fd9c63eaa68f61d9  INTEL/O3/civgame+2001.sav.gz

See
http://www.tacc.utexas.edu/resources/user_guides/intel/c_ug_lnx.pdf
page 65 for an explanation of the -ip and -ipo options.

And the sizes:
   text    data     bss     dec     hex filename
 673594   16044  890916 1580554  181e0a GCC/O2/civserver
 720245   16044  890916 1627205  18d445 GCC/O3/civserver
 535716  134952  900580 1571248  17f9b0 INTEL/O2/civserver
 749498  141892  900612 1792002  1b5802 INTEL/O2_ip/civserver
1133882  141764  900452 2176098  213462 INTEL/O2_ipo/civserver
 535716  134952  900580 1571248  17f9b0 INTEL/O3/civserver

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Your mail could not be delivered to the following Address:
  VTCMC.VTLPR@xxxxxxxxxxxxx        ** Unassigned error message **"


[Prev in Thread] Current Thread [Next in Thread]