Skip to content

Commit 36da1d0

Browse files
committed
Updated to Prime 30.8b16
Removed the usage of TortureHyperthreading for Prime95, as it introduced log file inconsistencies for two threads (fixes #31)
1 parent 62b6bc5 commit 36da1d0

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

script-corecycler.ps1

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.AUTHOR
33
sp00n
44
.VERSION
5-
0.9.1.0
5+
0.9.1.1
66
.DESCRIPTION
77
Sets the affinity of the selected stress test program process to only one core and cycles through
88
all the cores to test the stability of a Curve Optimizer setting
@@ -17,7 +17,7 @@
1717
#>
1818

1919
# Global variables
20-
$version = '0.9.1.0'
20+
$version = '0.9.1.1'
2121
$startDate = Get-Date
2222
$startDateTime = Get-Date -format yyyy-MM-dd_HH-mm-ss
2323
$logFilePath = 'logs'
@@ -2280,12 +2280,13 @@ function Initialize-Prime95 {
22802280
# Prime 30.7 and above:
22812281
if ($isPrime95_30_7) {
22822282
# If this is not set, Prime95 will create #numCores worker threads in 30.7+
2283-
# Add-Content $configFile1 ('NumThreads=' + $settings.General.numberOfThreads)
2284-
# Add-Content $configFile1 ('WorkerThreads=' + $settings.General.numberOfThreads)
2283+
Add-Content $configFile1 ('NumThreads=' + $settings.General.numberOfThreads)
2284+
Add-Content $configFile1 ('WorkerThreads=' + $settings.General.numberOfThreads)
22852285

22862286
# If we're using TortureHyperthreading in prime.txt, this needs to stay at 1, even if we're using 2 threads
2287-
Add-Content $configFile1 ('NumThreads=1')
2288-
Add-Content $configFile1 ('WorkerThreads=1')
2287+
# TortureHyperthreading introduces inconsistencies with the log format for two threads though, so we won't use it
2288+
# Add-Content $configFile1 ('NumThreads=1')
2289+
# Add-Content $configFile1 ('WorkerThreads=1')
22892290
}
22902291

22912292

@@ -2314,8 +2315,10 @@ function Initialize-Prime95 {
23142315
# TortureHyperthreading=0/1
23152316
# Goes into the prime.txt ($configFile2)
23162317
# If we set this here, we need to use NumThreads=1 in local.txt
2318+
# TortureHyperthreading introduces inconsistencies with the log format for two threads though, so we won't activate it
23172319
if ($isPrime95_30_7) {
2318-
Add-Content $configFile2 ('TortureHyperthreading=' + ($settings.General.numberOfThreads - 1)) # Number of Threads = 2 -> Setting = 1 / Number of Threads = 1 -> Setting = 0
2320+
# Add-Content $configFile2 ('TortureHyperthreading=' + ($settings.General.numberOfThreads - 1)) # Number of Threads = 2 -> Setting = 1 / Number of Threads = 1 -> Setting = 0
2321+
Add-Content $configFile2 ('TortureHyperthreading=0')
23192322
}
23202323

23212324

test_programs/p95/prime95.exe

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)