Changeset 40229 in project


Ignore:
Timestamp:
06/30/21 18:48:13 (5 weeks ago)
Author:
Mario Domenech Goulart
Message:

building-chicken-for-performance: remove cruft, add links and hopefully make it more useful

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/building-chicken-for-performance

    r31126 r40229  
    11== Some Performance Hints
    22
    3 Here are some pieces of information how to build a chicken for maximum
     3Here are some pieces of information how to tweak CHICKEN for maximum
    44performance. Note that only few applications are worth
    55this hacking.
    66
    7 * add  C_COMPILER_OPTIMIZATION_OPTIONS="-O3 -fomit-frame-pointer -march=native" to make call optimizations
     7* Build CHICKEN with {{OPTIMIZE_FOR_SPEED=1}} as argument to {{make}}
    88
    9 * add NOPTABLES=1 in make call
     9* Tweak the garbage collector knows according to the profile of
     10  your application.  There are not strict rules for that.
     11  You have to try and see what works best for your case.  Check
     12  the [[/man/5/Using the compiler#runtime-options|runtime options]]
     13  section in the manual for more information on that.
    1014
    11 * determine the best nursery size for your machine and passing it to make: make NURSERY=1048576 ...
    12 
    13 * How about HACKED_APPLY=0 ?
    14 
    15 == The Famous CHICKEN Run
    16 
    17 Here the fun part starts. The following entries are ordered by increasing runtime.
    18 The only time value listed is the user time reported by make check for a freshly built chicken.
    19 
    20 *# 10.446s: Intel Core2 T7800, chicken git 2011-07-01, gcc 4.5.1, standard build, 32bit mode, race on 2011-07-01, trainer: Sven
    21 
    22 Please help by providing performance tips, results and by improving the result format above!
     15* See the [[/programming-for-performance|Programming for Performance]]
     16  page for information on how to optimize your CHICKEN programs.
Note: See TracChangeset for help on using the changeset viewer.