From 445e9b88ad25f25c872660cb2b80a59fb1467a64 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sat, 16 Apr 2011 03:58:28 +0200 Subject: [PATCH] UCT fast_alloc: Make default --- README | 8 +++----- uct/uct.c | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README b/README index 0201917..91261f4 100644 --- a/README +++ b/README @@ -52,14 +52,12 @@ By default, Pachi will run on a single CPU core, taking up to 3GiB of memory, not pondering, etc. You can adjust these parameters by passing it extra command-line options: - ./zzgo -t _1200 threads=8,max_tree_size=500,fast_alloc,pondering + ./zzgo -t _1200 threads=8,max_tree_size=500,pondering This will make Pachi play with time settings 20:00 S.D. (unless it gets told otherwise over GTP), with 8 threads, taking up to 500MiB -of memory (+ several tens MiB as a constant overhead). 'fast_alloc' -is just a good idea to do in case of memory-sensitive runs (will become -default soon). 'pondering' will make Pachi keep thinking during the -opponent's turn. +of memory (+ several tens MiB as a constant overhead) and thinking +during the opponent's turn as well. For now, there is no comprehensive documentation of options, but you can get a pretty good idea by looking at the uct_state_init() function diff --git a/uct/uct.c b/uct/uct.c index 2f16fe1..d2fc935 100644 --- a/uct/uct.c +++ b/uct/uct.c @@ -543,6 +543,7 @@ uct_state_init(char *arg, struct board *b) u->playout_amaf_nakade = false; u->amaf_prior = false; u->max_tree_size = 3072ULL * 1048576; + u->fast_alloc = true; u->pruning_threshold = 0; u->threads = 1; -- 2.11.4.GIT