|
2 | 2 | .AUTHOR
|
3 | 3 | sp00n
|
4 | 4 | .VERSION
|
5 |
| - 0.9.1.1 |
| 5 | + 0.9.1.2 |
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.1' |
| 20 | +$version = '0.9.1.2' |
21 | 21 | $startDate = Get-Date
|
22 | 22 | $startDateTime = Get-Date -format yyyy-MM-dd_HH-mm-ss
|
23 | 23 | $logFilePath = 'logs'
|
@@ -811,7 +811,7 @@ function Get-PerformanceCounterLocalName {
|
811 | 811 | .DESCRIPTION
|
812 | 812 | This is used to get the Performance Counter IDs, which will be used to get the localized names
|
813 | 813 | .PARAMETER englishCounterNames
|
814 |
| - [Array] An arraay with the english names of the counters |
| 814 | + [Array] An array with the english names of the counters |
815 | 815 | .OUTPUTS
|
816 | 816 | [HashTable] A hashtable with Name:ID pairs of the counters
|
817 | 817 | #>
|
@@ -1632,7 +1632,9 @@ function Get-TortureWeakValue {
|
1632 | 1632 |
|
1633 | 1633 | - Only CPU_AVX512F, CPU_FMA3, CPU_AVX & CPU_SSE2 is used for the calculation
|
1634 | 1634 | - If one of these is set to disabled, add the number to the total value
|
1635 |
| - - AVX512 is never available on Ryzen |
| 1635 | + - AVX512 is never available on Ryzen <= 5000 |
| 1636 | + - AVX512 seems to be available beginning with Ryzen 7000 |
| 1637 | + - TODO: Need a way to detect if AVX512 is available or not |
1636 | 1638 |
|
1637 | 1639 | All enabled (except AVX512):
|
1638 | 1640 | 1048576 --> CPU_AVX512F
|
@@ -2280,11 +2282,11 @@ function Initialize-Prime95 {
|
2280 | 2282 | # Prime 30.7 and above:
|
2281 | 2283 | if ($isPrime95_30_7) {
|
2282 | 2284 | # If this is not set, Prime95 will create #numCores worker threads in 30.7+
|
2283 |
| - Add-Content $configFile1 ('NumThreads=' + $settings.General.numberOfThreads) |
| 2285 | + Add-Content $configFile1 ('NumThreads=' + $settings.General.numberOfThreads) # This has been renamed from CpuNumHyperthreads |
2284 | 2286 | Add-Content $configFile1 ('WorkerThreads=' + $settings.General.numberOfThreads)
|
2285 | 2287 |
|
2286 | 2288 | # If we're using TortureHyperthreading in prime.txt, this needs to stay at 1, even if we're using 2 threads
|
2287 |
| - # TortureHyperthreading introduces inconsistencies with the log format for two threads though, so we won't use it |
| 2289 | + # TortureHyperthreading introduces inconsistencies with the log format for two threads, so we won't use it |
2288 | 2290 | # Add-Content $configFile1 ('NumThreads=1')
|
2289 | 2291 | # Add-Content $configFile1 ('WorkerThreads=1')
|
2290 | 2292 | }
|
@@ -2315,7 +2317,8 @@ function Initialize-Prime95 {
|
2315 | 2317 | # TortureHyperthreading=0/1
|
2316 | 2318 | # Goes into the prime.txt ($configFile2)
|
2317 | 2319 | # 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 |
| 2320 | + # However, TortureHyperthreading introduces inconsistencies with the log format for two threads, so we won't use it |
| 2321 | + # Instead, we're using the "old" mechanic of running two worker threads (as in 30.6 and before) |
2319 | 2322 | if ($isPrime95_30_7) {
|
2320 | 2323 | # Add-Content $configFile2 ('TortureHyperthreading=' + ($settings.General.numberOfThreads - 1)) # Number of Threads = 2 -> Setting = 1 / Number of Threads = 1 -> Setting = 0
|
2321 | 2324 | Add-Content $configFile2 ('TortureHyperthreading=0')
|
@@ -2356,7 +2359,7 @@ function Initialize-Prime95 {
|
2356 | 2359 | #Add-Content $configFile2 ('WGUID_version=2') # The algorithm used to generate the Windows GUID. Not important
|
2357 | 2360 | #Add-Content $configFile2 ('WorkPreference=0') # This seems to be a PrimeNet only setting
|
2358 | 2361 |
|
2359 |
| - #Add-Content $configFile2 ('[PrimeNet]') |
| 2362 | + #Add-Content $configFile2 ('[PrimeNet]') # Settings for uploading Prime results, not required |
2360 | 2363 | #Add-Content $configFile2 ('Debug=0')
|
2361 | 2364 | }
|
2362 | 2365 |
|
|
0 commit comments