Advanced Usage: Undocumented Features |
prime.ini=your_filename
local.ini=your_filename
worktodo.ini=your_filename
prime.log=your_filename
prime.spl=your_filename
results.txt=your_filename
WorkingDir=your_directory_name
FactorOverride=n
AMPM=nwhere n is 1 for AM/PM formatting and n is 2 for 24-hour formatting.
PercentPrecision=n
0 - use the system clock.The above values will only have an affect if a high resolution system clock is not available. You can force prime95 to bypass the high resolution clock by adding 10 to one of the values above. In prime.ini, enter
1 - use RDTSC but do not output clock counts.
2 - use RDTSC and output clock counts.
RdtscTiming=n
TimingOutput=nWhere n=1 for seconds with 3 digits of precision, n=2 for milliseconds with 1 digit of precision, n=3 for milliseconds with 2 digits of precision, n=4 for milliseconds with 3 digit of precision.
TimeStamp=0
CumulativeTiming=1
BootDelay=n
CpuSupportsRDTSC=0 or 1This shouldn't be necessary though as the program uses the CPUID instruction to see if the CPU supports these features.
CpuSupportsCMOV=0 or 1
CpuSupportsPrefetch=0 or 1
CpuSupportsSSE=0 or 1
CpuSupportsSSE2=0 or 1
CpuL2CacheSize=128 or 256 or 512
CpuL2CacheLineSize=32 or 64 or 128
CpuL2SetAssociative=4 or 8
CpuOverride=1Where n is 3=Cyrix, 4=486, 5=Pentium, 6=Pro, 7=K6, 8=Celeron, 9=P-II, 10=P-III, 11=K7, 12=P4 and s is the speed in MHz.
CpuType=n
CpuSpeed=s
SequentialWorkToDo=0One added benefit is time estimates in Test/Status will be more accurate because we'll know no factors will be found and the LL test must be run.
MaxExponents=n
ContinueECM=n
Stage1GCD=0
LockUserInfo=1
PingAtStartup=1
InterimFiles=n
InterimResidues=n
SkipTrialFactoring=1
Pfactor=exponent,how_far_factored,has_been_LL_tested_onceFor example, Pfactor=10000157,64,0
WellBehavedWork=1This only works for worktodo.ini files that contain only Factor= lines. Only turn this on if you have BIG worktodo.ini files and each Factor= operation does not take much time. You must stop prime95 before manually editing the worktodo.ini file.
64511,0,400,99999999,3389BC878321980AWhere the first value is the exponent, the second value is the FFT size where zero means use the default FFT size. The third value is the number of iterations to run. The fourth value is the shift count (if the shift count is greater than the exponent a random shift count is used). The final value is the expected 64-bit residue. The dialog box values between 9994 and 9999 force slightly different code to run. 9999 and 9998 run straightforward squaring code, 9998 differs by gathering some standard deviation data. 9997 does squarings also but exercises the general purpose add/sub/mul routines too. 9996 does operations typical during ECM - the final residue won't match but the convolution error data can be useful. 9994 and 9995 probably blow up.
AdvancedFactor=start_exponent,end_exponent,b1,b2
AdvFacFileName=filename
MinTortureFFT=nWhere n and m are in "K". The default for n and m is 8 and 1024 which will run tests on FFT sizes rom 8K to 1024K. Set n to 8 and m to 16 and you will run only small FFT sizes. These FFTs will fit in the L2 cache and may be more stressful to the CPU.
MaxTortureFFT=m
TortureTime=nThe default value is 15 minutes.
TortureMem=nThe default value is the larger of your daytime and nighttime memory settings. If this is set to 8MB or less, then the torture test does FFTs in-place. This may be more stressful but could memory errors that only occur at a specific physical address.
NearFFTLimitPct=valueThe default value is 0.5 (if the exponent you are testing is within 0.5% of the maximum exponent that can be tested using the current FFT length, then the extra error checking is performed). A value of 0.0 will turn off this extra error checking.
ExitOnX=1
ServiceName=your service nameYou may need to turn off the "Start at Bootup" and exit, change the local.ini file, restart prime95 and turn the "Start at Bootup" option on to make this change effective.
DisplayName=your service display name
SoftCrossovers=nThe first setting controls which exponents are examined. The default value is 0.2. This means that an exponent that is 0.2% above or below an FFT crossover point are tested for the best FFT size to use. A value of 0.0 will turn off this soft FFT crossovers feature. The second setting defaults to 0.000. This controls how aggressive or conservative the program is in selecting the best FFT size. The program normally uses the smaller FFT size if the average roundoff error is below a value in 0.241 to 0.243 range. If you set SoftCrossoverAdjust to say 0.003 then the program will use the smaller FFT size if the average roundoff error is below a value in 0.244 to 0.246 range. This will generate more iterations that generate roundoff error above 0.40 warnings and a time loss returning to the previous save file. It also increases the chance that a deadly roundoff error above 0.6 will occur. On the plus side, using the smaller FFT size each iteration will be a bit quicker. I wouldn't set this adjustment to more than 0.006. If you set SoftCrossoverAdjust to say -0.002, then the program will be more conservative and use the larger FFT size more often.
SoftCrossoverAdjust=n
GmpEcmHook=1in prime.ini. Then select ECM bound #2 between 1 and bound #1. Results.txt will contain data that can be fed to GMP-ECM for stage 2.
PauseWhileRunning=prog1,prog2,prog3,etcNote that prime95 will pause if the program name matches any part of the running program's file name. That is "foobar" will match "c:\foobar.exe", "C:\FOOBAR\name.exe", and even "C:\myfoobarprog.exe". By default, prime95 will check the list of running programs every 64 iterations, but not more frequently than every 10 seconds.
PauseCheckInterval=nwhere n is the number of seconds between checking which programs are running.
UnreserveDays=nwhere n is the number of days. You should increase this value if you are loading up worktodo.ini with a large amount of work and do not want any of the work to be unreserved.
AlternateModemDetection=1
Throttle=nwhere n is the number of milliseconds to sleep after each iteration.
OnlyRunStage2WithMaxMemory=1
MaxLogFileSize=n
UseFullURL=nwhere n is 0 for use relative URLs, 1 for use full URLs, 2 for try full URL and if an error is returned try a relative URL. The default setting is 2. Note that a full URL is always sent when using a proxy server.
SendPortNumber=0in the primenet.ini file.
OtherGetInfo=stringwhere string is any text up to 256 bytes.
FullBench=1to have the benchmarking code time all of the large FFT sizes.