![]() |
|
|
#12 |
|
Jan 2012
32 Posts |
Let me go other way,
What will happen if i don't provide controls for memory size,and let the code itself use whatever it uses during the torture test? |
|
|
|
|
|
#13 |
|
(loop (#_fork))
Feb 2006
Cambridge, England
191716 Posts |
There isn't a single thing called the torture test; there are three.
You should use the 'blend' test. If your machine doesn't pass 'blend', try 'small'. If it does pass 'small' then the problem is probably with the memory; if it doesn't pass 'blend' or 'small' then the CPU is probably the problem. (I'm not quite sure when you would ever want to run the 'large' test) Last fiddled with by fivemack on 2012-01-06 at 10:37 |
|
|
|
|
|
#14 |
|
(loop (#_fork))
Feb 2006
Cambridge, England
3×2,141 Posts |
No. The 'Pass1' and 'Pass2' numbers displayed by the torture test are a display of some details of the inner working of the Fourier transforms; they're specifications rather than results, and have nothing to do with double checking.
|
|
|
|
|
|
#15 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
Quote:
However, your listed steps are only partially correct. (For one thing, I've added ^s in bold where they need to be in the quote.) There is no triple check, unless the first two do not match. If they do match (about 95% of the time they do) then a triple check is run. However, the bit shift we are referring to is not changing the seed value S0. I can go into more details (or rather find another post that explains it well) but it should not impact whatever you're trying to do. fivemack is correct about Pass1 and Pass2, I don't think anyone can say it better. Regardless, as cheesehead mentioned, none of this is relevant to the Torture Testing mode. What exactly are you trying to do? Just write your own program that stresses the CPU? |
|
|
|
|
|
|
#16 |
|
Dec 2010
Monticello
5×359 Posts |
If Paramveer wants to write his own test, I suggest he simply get a copy of the Prime95 code (its linked somewhere) and modify it to suit, or build mprime (for Linux) and run it by script.
But to be really helpful, we do need to know what he/she wants to accomplish....whether it's his education, showing that a certain computer (possibly not a PC) works correctly under stress, or simply finding out how some machine behaves or misbehaves when starved for CPU cycles....or, god forbid, actually helping find M48!!! |
|
|
|
|
|
#17 |
|
Jan 2012
32 Posts |
thanks all for your suggestion,i went back to study more on this so that i can explain my doubts in better way.
Regarding Torture test. 1)is Double checking done in torture test? 2)if it is done,then help file along with the source code says that:it initialize the S0 with a value obtained by left shifting 4 by random amount of bits.if it is the case then how it will detect the prime correctly?Refer below eg for clarification. Eg: -> put S0=8 {obtained by left shifting 4 by one bit} -> Perform 1 iteration of LLTest (iter=E-2){3-2} -> we get 62 (8^2-2)(s^2-2) -> Now take mod with 7 (2^e-1)(2^3-1=7) -> s becomes 6 (6=62 MOD 7) -> this will give 7 as composite ,but 7 is prime(Contradiction). |
|
|
|
|
|
#18 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
722110 Posts |
Double Checking is solely a term used for GIMPS (i.e. not stress testing). Double Checking is exactly the same mathematics as a first time test. It is still a Lucas Lehmer test, which is what the torture test uses.
I can't answer the last question. (I might be able to find a post explaining it.) Edit: Here. For your case, you have to carry the test through to the end, where you (should) get 0. Edit2: It seems the standard r*r-2 does not apply with a bit shift. (LaurV gets 56 where OP and I get 62.) Last fiddled with by Dubslow on 2012-01-13 at 07:18 |
|
|
|
|
|
#19 | |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22×3×641 Posts |
No.
It doesn't have to be done, because in the torture test, prime95 already knows what the correct answers should be -- it has them hard-coded into a table. The torture test compares the residue computed by your system to the hard-coded correct value stored in the table. Quote:
(IIRC, you have to keep track that each squaring (each iteration) doubles the total left-shift, and at the end the value has to be right-shifted by that number of places (mod p), not the original left-shift number. However, caution: I'm not certain I've explained this correctly.) But this applies only to actual L-L and DC runs, not to torture tests. In torture tests, there is no random-amount shifting done. Last fiddled with by cheesehead on 2012-01-13 at 08:29 |
|
|
|
|
|
|
#20 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
shift of 2 -> 16 , 16^2-2 = 254, 254/2-> 127 prime shift of 3 -> 64 , 64^2-2 = 4094, 4094/2-> 2047 odd conclusion: they always end in a mersenne number. |
|
|
|
|
|
|
#21 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
Quote:
|
|
|
|
|
|
|
#22 | |
|
"Forget I exist"
Jul 2009
Dumbassville
838410 Posts |
Quote:
Code:
(11:09)>lucaslehmer2(p)=s=Mod(8,2^p-1);for(x=1,p-3,s=s^2-2;print(s));if(s==0,1,0) %35 = (p)->s=Mod(8,2^p-1);for(x=1,p-3,s=s^2-2;print(s));if(s==0,1,0) (11:09)>lucaslehmer2(13) Mod(62, 8191) Mod(3842, 8191) Mod(780, 8191) Mod(2264, 8191) Mod(6319, 8191) Mod(6825, 8191) Mod(6597, 8191) Mod(1624, 8191) Mod(8063, 8191) Mod(0, 8191) |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is it possible to disable benchmarking while torture tests are running? | ZFR | Software | 4 | 2018-02-02 20:18 |
| Will the torture test, test ALL available memory? | swinster | Software | 2 | 2007-12-01 17:54 |
| How to use Prime95 For benchmarking and torture testing only | Cyclamen Persicum | Software | 2 | 2004-04-03 14:52 |
| torture test help | teotic_hk | Hardware | 8 | 2004-03-22 20:23 |
| Torture test not torture enough? | cmokruhl | Software | 3 | 2003-01-08 00:14 |