![]() |
![]() |
#1 |
P90 years forever!
Aug 2002
Yeehaw, FL
2×4,079 Posts |
![]()
V23.7 contains a torture test bug fix. Some users were reporting "Out of memory" errors and excessive virtual memory usage.
|
![]() |
![]() |
![]() |
#2 |
∂2ω=0
Sep 2002
República de California
101101111010112 Posts |
![]()
Just out of curiosity, what was the bug and how did you fix it? I've run into VM issues occasionally when doing big sets of self-tests with Mlucas - my planned fix is to allocate (say) twice as much memory as a given LL test needs, then re-use the same memory space until the self-test exponent gets so large that it needs more than that, at which point I'll realloc to twice the space. That will reduce the program's dependence on the OS's VM management capabilities during self-tests.
|
![]() |
![]() |
![]() |
#3 |
P90 years forever!
Aug 2002
Yeehaw, FL
1FDE16 Posts |
![]()
That's exactly what I did. In 23.6, if doing a 300MB torture test, I'd malloc the FFT areas one at a time, free them when done, malloc again for the next exponent. In 23.7 I allocate one 300MB buffer up front that isn't freed until the torture test ends and wrote a routine to carve each FFT area out of this big buffer.
|
![]() |
![]() |
![]() |
#4 |
Aug 2002
2×7×13×47 Posts |
![]()
I thought something was up...
I set Prime95 to use 1841MB for a torture test... Out of 2048 that was the max... Talk about some disk thrashing! ![]() |
![]() |
![]() |
![]() |
#5 |
∂2ω=0
Sep 2002
República de California
5×2,351 Posts |
![]()
Yes, re-using the same single memory space for the entire self-test suite ahs the advantage that it would reduce or eliminate the influence of cache coloring effects on timings. Since Mlucas' maximum FFT length (8M) needs just 64MB of memory, preallocating that much for the entire self-test (or when running regular LL tests) wouldn't be a problem.
|
![]() |
![]() |
![]() |
#6 |
Aug 2002
2×3×29 Posts |
![]()
The "Blend" option of the torture test takes too much memory by default.
I have 2GBs of RAM and it takes 1951MB by default causing windows to swap everything into the swap file back and forth instead of actually stressing the CPU. Also what exactly does 'run FFTs in-place' mean? |
![]() |
![]() |
![]() |
#7 |
Aug 2002
216A16 Posts |
![]()
Under Linux I can allocate 2017MB out of 2048!
![]() (Not a good idea, BTW!) PS - Using 23.5, there are no newer Linux versions... ![]() |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Would there be any interest in another subproject? | fivemack | Aliquot Sequences | 20 | 2013-01-29 11:10 |
Bootable USB/CD for Sequences - Any Interest? | EdH | Aliquot Sequences | 0 | 2010-02-20 15:33 |
Interest/participation seems to be up again! | petrw1 | PrimeNet | 1 | 2007-11-27 17:27 |
this of interest to anyone? | ixfd64 | Hardware | 5 | 2005-11-14 01:44 |
Any interest in some low n ECM factoring? | ltd | Prime Sierpinski Project | 19 | 2005-08-12 06:24 |