|
2 | 2 | .AUTHOR
|
3 | 3 | sp00n
|
4 | 4 | .VERSION
|
5 |
| - 0.9.1.0 |
| 5 | + 0.9.1.1 |
6 | 6 | .DESCRIPTION
|
7 | 7 | Sets the affinity of the selected stress test program process to only one core and cycles through
|
8 | 8 | all the cores to test the stability of a Curve Optimizer setting
|
|
17 | 17 | #>
|
18 | 18 |
|
19 | 19 | # Global variables
|
20 |
| -$version = '0.9.1.0' |
| 20 | +$version = '0.9.1.1' |
21 | 21 | $startDate = Get-Date
|
22 | 22 | $startDateTime = Get-Date -format yyyy-MM-dd_HH-mm-ss
|
23 | 23 | $logFilePath = 'logs'
|
@@ -2280,12 +2280,13 @@ function Initialize-Prime95 {
|
2280 | 2280 | # Prime 30.7 and above:
|
2281 | 2281 | if ($isPrime95_30_7) {
|
2282 | 2282 | # 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) |
2285 | 2285 |
|
2286 | 2286 | # 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') |
2289 | 2290 | }
|
2290 | 2291 |
|
2291 | 2292 |
|
@@ -2314,8 +2315,10 @@ function Initialize-Prime95 {
|
2314 | 2315 | # TortureHyperthreading=0/1
|
2315 | 2316 | # Goes into the prime.txt ($configFile2)
|
2316 | 2317 | # 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 |
2317 | 2319 | 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') |
2319 | 2322 | }
|
2320 | 2323 |
|
2321 | 2324 |
|
|
0 commit comments