Add to git.
[dlife.git] / soup.conf
1 # DLIFE soup configuration file.
2
3 #----------------------------------------------------------------------
4 # The size of the soup (in bytes).
5 #
6 # This parameter must be a power of 2. If you change this parameter,
7 # then you will have to reinitialize the soup image. You cannot load
8 # a soup image from one version of the program into another version
9 # with a different soup size.
10
11 soup_size                   131072
12
13 #----------------------------------------------------------------------
14 # Failure probabilities.
15 #
16 # All probabilities are expressed in the form ``1 in N'' where N is
17 # an integer between 1 and about 4 billion. Larger values of N means
18 # the event is rarer. You can dramatically change the behaviour of
19 # the environment by changing these parameters - from a highly-
20 # irradiated soup similar to the early earth (and NOT supporting
21 # life) - to an almost completely stable soup free from almost any
22 # mutation.
23
24 # The probability that fetching a value from the soup will fail.
25
26 soup_fetch_failure          1000000
27
28 # The probability that the program counter will fail to increment
29 # after an instruction has been executed.
30
31 inc_pc_failure              1000000
32
33 # The overall probability that an instruction will fail to execute
34 # correctly.
35
36 insn_exec_failure           1000000
37
38 # The probability that the access control mechanisms (which govern
39 # what addresses a cell may write to) will fail. It is OK to have
40 # this probability quite large (ie. small N) so that cells may try
41 # to ``invade'' other cells.
42
43 access_control_failure      10
44
45 # The probability that a newly created cell isn't initialized correctly -
46 # ie. that the registers and stack don't start off at zero.
47
48 cell_initialization_failure 1000000
49
50 #----------------------------------------------------------------------
51 # Grim reaper configuration.
52 #
53 # These parameters control when and for how long the grim reaper
54 # comes to life and kills off sick cells. These two parameters are
55 # expressed as percentages of soup used (ie. ``80'' means the soup
56 # is 80% full).
57
58 # The grim reaper is invoked when the soup is this full.
59
60 reaper_invoke_threshold     80
61
62 # The grim reaper runs until the soup is this full (and then
63 # goes back to sleep again).
64
65 reaper_reap_threshold       79