This is still running with hashfull since move 43. But this time it has not blunders. It's in the study.
info depth 60 seldepth 77 multipv 1 score cp 21 nodes 5483066230 nps 453612 hashfull 1000 tbhits 0 time 12087562 pv g1f3 d7d5 d2d4 g8f6 c2c4 e7e6 b1c3 f8b4 d1a4 b8c6 e2e3 e8g8 a4c2 b7b6 c1d2 c6e7 a2a3 b4d6 c3b5 d5c4 f1c4 c8b7 c4e2 a7a6 b5d6 c7d6 e1g1 a8c8 c2b3 f6e4 f1c1 c8c1 a1c1 e4d2 f3d2 b6b5 e2f1 d8d7 b3b4 f7f5 b4b3 h7h6 g2g3 f8c8 c1c8 d7c8
I should stop the test and increase my zram size and I will automatically have more hash for stockfish.
I assume: The longer it takes for the hash to reach full the better should be the results.
I asked AI to build this for my needs. Now this is what I use to determine me hash size.
I'm just showing it like a preview of what I use on linux. Use at your own risk, there is no.
File name: ram_cap.sh
#!/bin/bash
# Stockfish RAM-cap launcher with 20% reserve
# Launches Stockfish in a new terminal, keeping GUI control intact
# ----------------------------
# Detect Stockfish path
# ----------------------------
STOCKFISH_BIN=$(which stockfish 2>/dev/null)
if [ -z "$STOCKFISH_BIN" ]; then
echo " Stockfish not found in PATH. Please install it."
exit 1
fi
# ----------------------------
# Calculate RAM + ZRAM
# ----------------------------
MEM_TOTAL=$(free -m | awk '/^Mem:/{print $2}')
ZRAM_TOTAL=$(swapon --show=NAME,SIZE --bytes | awk '/zram/{sum+=$2} END{print sum/1024/1024}')
[ -z "$ZRAM_TOTAL" ] && ZRAM_TOTAL=0
RAM_AVAILABLE=$(echo "$MEM_TOTAL + $ZRAM_TOTAL" | bc)
RESERVE_PERCENT=20
HASH_MAX=$(echo "$RAM_AVAILABLE * (100 - $RESERVE_PERCENT) / 100" | bc)
HASH_MAX=${HASH_MAX%.*} # convert to integer
echo " Available RAM+ZRAM=${RAM_AVAILABLE} MB, Reserved ${RESERVE_PERCENT}%, Using Hash=${HASH_MAX} MB"
echo " $(date '+%a %d %b %Y %r %Z') — Launching Stockfish..."
# ----------------------------
# Detect a terminal to use
# ----------------------------
if command -v gnome-terminal >/dev/null 2>&1; then
TERMINAL_CMD="gnome-terminal -- bash -c "$STOCKFISH_BIN""
elif command -v konsole >/dev/null 2>&1; then
TERMINAL_CMD="konsole --hold -e "$STOCKFISH_BIN""
elif command -v xfce4-terminal >/dev/null 2>&1; then
TERMINAL_CMD="xfce4-terminal --hold -e "$STOCKFISH_BIN""
else
# fallback to xterm
TERMINAL_CMD="xterm -hold -e "$STOCKFISH_BIN""
fi
# ----------------------------
# Launch Stockfish in a new terminal
# ----------------------------
eval "$TERMINAL_CMD" &
echo " Stockfish launched in new terminal. GUI can now connect."
This is still running with hashfull since move 43. But this time it has not blunders. It's in the study.
info depth 60 seldepth 77 multipv 1 score cp 21 nodes 5483066230 nps 453612 hashfull 1000 tbhits 0 time 12087562 pv g1f3 d7d5 d2d4 g8f6 c2c4 e7e6 b1c3 f8b4 d1a4 b8c6 e2e3 e8g8 a4c2 b7b6 c1d2 c6e7 a2a3 b4d6 c3b5 d5c4 f1c4 c8b7 c4e2 a7a6 b5d6 c7d6 e1g1 a8c8 c2b3 f6e4 f1c1 c8c1 a1c1 e4d2 f3d2 b6b5 e2f1 d8d7 b3b4 f7f5 b4b3 h7h6 g2g3 f8c8 c1c8 d7c8
I should stop the test and increase my zram size and I will automatically have more hash for stockfish.
I assume: The longer it takes for the hash to reach full the better should be the results.
I asked AI to build this for my needs. Now this is what I use to determine me hash size.
I'm just showing it like a preview of what I use on linux. Use at your own risk, there is no.
File name: ram_cap.sh
#!/bin/bash
# Stockfish RAM-cap launcher with 20% reserve
# Launches Stockfish in a new terminal, keeping GUI control intact
# ----------------------------
# Detect Stockfish path
# ----------------------------
STOCKFISH_BIN=$(which stockfish 2>/dev/null)
if [ -z "$STOCKFISH_BIN" ]; then
echo " Stockfish not found in PATH. Please install it."
exit 1
fi
# ----------------------------
# Calculate RAM + ZRAM
# ----------------------------
MEM_TOTAL=$(free -m | awk '/^Mem:/{print $2}')
ZRAM_TOTAL=$(swapon --show=NAME,SIZE --bytes | awk '/zram/{sum+=$2} END{print sum/1024/1024}')
[ -z "$ZRAM_TOTAL" ] && ZRAM_TOTAL=0
RAM_AVAILABLE=$(echo "$MEM_TOTAL + $ZRAM_TOTAL" | bc)
RESERVE_PERCENT=20
HASH_MAX=$(echo "$RAM_AVAILABLE * (100 - $RESERVE_PERCENT) / 100" | bc)
HASH_MAX=${HASH_MAX%.*} # convert to integer
echo " Available RAM+ZRAM=${RAM_AVAILABLE} MB, Reserved ${RESERVE_PERCENT}%, Using Hash=${HASH_MAX} MB"
echo " $(date '+%a %d %b %Y %r %Z') — Launching Stockfish..."
# ----------------------------
# Detect a terminal to use
# ----------------------------
if command -v gnome-terminal >/dev/null 2>&1; then
TERMINAL_CMD="gnome-terminal -- bash -c \"$STOCKFISH_BIN\""
elif command -v konsole >/dev/null 2>&1; then
TERMINAL_CMD="konsole --hold -e \"$STOCKFISH_BIN\""
elif command -v xfce4-terminal >/dev/null 2>&1; then
TERMINAL_CMD="xfce4-terminal --hold -e \"$STOCKFISH_BIN\""
else
# fallback to xterm
TERMINAL_CMD="xterm -hold -e \"$STOCKFISH_BIN\""
fi
# ----------------------------
# Launch Stockfish in a new terminal
# ----------------------------
eval "$TERMINAL_CMD" &
echo " Stockfish launched in new terminal. GUI can now connect."