Skip to content

Commit

Permalink
- Added config presets for Automatic Test Mode
Browse files Browse the repository at this point in the history
- Fixed a bug where Linpack wouldn't start from a directory including a space (fixes #84)
- Fixed a bug where resuming after a crash with a "default" coresToTest order would result in an index out of bounds error (fixes #85)
- Also it didn't resume on the crashed core
- the config file's content is now put into the log file for easier debugging
- Fixed a bug where the log file for y-cruncher was actually using the naming scheme for Linpack (under unclear circumstances, but it happened at least once)
- Fixed a bug when the update check doesn't return any output at all (fixes #83)
  • Loading branch information
sp00n committed Sep 6, 2024
1 parent fd8fac0 commit a5e83e6
Show file tree
Hide file tree
Showing 6 changed files with 312 additions and 47 deletions.
27 changes: 27 additions & 0 deletions configs/Intel.AutomaticTestMode.yCruncher.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This config uses the Automatic Test Mode to automatically adjust the voltage offset values
# on an Intel processor after an error has occurred
# Author: sp00n

[General]
stressTestProgram = YCRUNCHER
runtimePerCore = auto
coreTestOrder = Default
numberOfThreads = 1


[yCruncher]
mode = 14-BDW ~ Kurumi
tests = BKT, BBP, SFT, SFTv4, SNT, SVT, FFT, FFTv4, N63, VT3


[AutomaticTestMode]
enableAutomaticAdjustment = 1
startValues = -150 # Set the voltage offset to -150mv
maxValue = 0 # Do not go above a voltage offset of 0mvv
incrementBy = 10 # Adjust the voltage offset by 10mv after an error

# Try to automatically resume after a crash / hard reboot
# For this to work properly, Auto Logon should be activated
# Otherwise the computer will just idle at the logon screen after a crash
#enableResumeAfterUnexpectedExit = 1
enableResumeAfterUnexpectedExit = 0
27 changes: 27 additions & 0 deletions configs/Ryzen.AutomaticTestMode.yCruncher.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This config uses the Automatic Test Mode to automatically adjust the Curve Optimizer values
# on Ryzen processors after an error has occurred
# Author: sp00n

[General]
stressTestProgram = YCRUNCHER
runtimePerCore = auto
coreTestOrder = Default
numberOfThreads = 1


[yCruncher]
mode = 19-ZN2 ~ Kagari
tests = BKT, BBP, SFT, SFTv4, SNT, SVT, FFT, FFTv4, N63, VT3


[AutomaticTestMode]
enableAutomaticAdjustment = 1
startValues = -25 # Set all cores to Curve Optimizer value of -25 on startup
maxValue = 0 # Do not go above Curve Optimizer value of 0
incrementBy = 1 # Adjust the Curve Optimizer value by 1 after an error

# Try to automatically resume after a crash / hard reboot
# For this to work properly, Auto Logon should be activated
# Otherwise the computer will just idle at the logon screen after a crash
#enableResumeAfterUnexpectedExit = 1
enableResumeAfterUnexpectedExit = 0
8 changes: 4 additions & 4 deletions configs/Ryzen.yCruncher.BreadPit.config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ numberOfThreads = 2
[yCruncher]
mode = 19-ZN2 ~ Kagari
tests = N63, VT3
# tests = N63 # --> Quick check N63
# tests = N63, VT3 # --> Medium check N63 + VT3
# tests = N63, VT3 # --> Full Final Check overnight N63 + VT3
# tests = BKT, BBP, SFT, SNT, SVT, FFT, N63, VT3 # --> All tests
# tests = N63 # --> Quick check N63
# tests = N63, VT3 # --> Medium check N63 + VT3
# tests = N63, VT3 # --> Full Final Check overnight N63 + VT3
# tests = BKT, BBP, SFT, SFTv4, SNT, SVT, FFT, FFTv4, N63, VT3 # --> All tests
17 changes: 13 additions & 4 deletions configs/default.config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,12 @@ memory = 2GB
# Also note that enabling this setting will require the script to be run with administrator privileges
# And lastly, enabling it will set "skipCoreOnError" to 0 and "stopOnError" to 0 as long as the limit has not been reached
#
# IMPORTANT: This currently does not work for Ryzen 9000 (Zen 5) CPUs
# IMPORTANT: This is currently untested for Ryzen 9000 (Zen 5) CPUs
# IMPORTANT: The automatically adjusted Curve Optimizer / voltage offset values are NOT permanent, so after a regular reboot they
# will not be applied anymore
# If you want to permanently set these values, you will need to set them in the BIOS, or use a startup script to
# set them on every Windows start (see the .txt files for PBO2Tuner/pbocli resp. IntelVoltageControl in the /tools
# directory for an explanation of the various settings)
#
# Default: 0
enableAutomaticAdjustment = 0
Expand All @@ -541,16 +546,20 @@ enableAutomaticAdjustment = 0
# -30 is a common minimum value for Curve Optimizer, sometimes even -50
# Note: For Intel, the values are provided in millivolts, so e.g. -130 for an undervolt of -0.130v
#
# IMPORTANT: Use a negative sign if you want negative CO values / a negative voltage offset, not providing a
# negative sign will instead apply a positive CO / voltage offset!
# IMPORTANT: Use a negative sign if you want negative CO values / a negative voltage offset, not providing a negative sign will
# instead apply a positive CO / voltage offset!
# IMPORTANT: The automatically adjusted Curve Optimizer / voltage offset values are TEMPORARY, so after a regular reboot they
# will not be applied anymore
# If you want to permanently set these values, you will need to set them in the BIOS, or use a startup script to
# set them on every Windows start (see the text files in the /tools directory for an explanation of the various settings)
#
# Example for setting Curve Optimizer values for a Ryzen 5800X with 8 cores:
# startValues = -15, -10, -15, -8, 2, -20, 0, -30
#
# Example to assign a single Curve Optimizer value to all cores:
# startValues = -20
#
# Example to assign a voltage offset of -0.120v (120mv) for Intel processors:
# Example to assign a voltage offset of -0.120v (-120mv) for Intel processors:
# startValues = -120
#
# Default: Default
Expand Down
Loading

0 comments on commit a5e83e6

Please sign in to comment.