PDA

View Full Version : maxmem/ramdisk need some explainings



Misko
06-20-2007, 01:51 AM
I did some investigations about megabytes consumption with super_pi_mod directory and super_pi_mod.exe in task manager, I need these for optimal settings for "ramdisk" and maxmem settings:

super_pi_mod.exe (1M run) in my case it is about 11.xxxM so maxmem could be set like 50+12 (aka idle task with unnecessary things shut down (some room left few MB) + spi.exe)

http://xs216.xs.to/xs216/07253/Spi1M.jpg

for 32M iterations I got this one:

http://img406.imageshack.us/img406/3167/spi32mup3.jpg

Ok so I need to set maxmem with different value for 32M and diferent for 1M. Lets say for 32M idle task use 50+300 for spi (spi+some room left because this consumption isn't same all the time and for all runs)) so maxmem could be set to 350 or higher value. For 1m maxmem could be set to lets say 65.

Directory:

http://img207.imageshack.us/img207/6131/zauz1mzr7.jpg

http://img440.imageshack.us/img440/387/zauz32fu9.jpg

First picture is in case of 1M, and second one in case of 32M, we see that ia.dat, ib.dat, it.dat, iv.dat, iw.dat, ix. dat and iy.dat consumpt much more in case of 32M iterations so maxmem must be at least 70MB in case of 32M or bigger.

My question is from which part ramdisk use memory from cuted part aka if I set maxmem 600 ramdisk will use lets say 300 from this 600 or from other part (what is left from 2x1GB when maxmem applied)?

luihed
06-20-2007, 07:15 AM
Im fairly lost in this subject as well so take my answer lightly as Im not 100%.... I think ramdisk uses whatever is left from the rams - maxmem, so in your case with maxmem=600, ramdisk will use part of the 1400mb unused from 2x1g rams......Ive used eram = 742mb and maxmem= 511 without trouble.....

If you use maxmem= 350 for 32M run, your copy wazza will be pretty small, as in less than 100mb... Ive been told low available real memory before the run is good but when I tested it the first few loops were very slow.... my time is better though by about 1sec @ 3600mhz.....:D Now even copywazza is confusing me cos my available real memory is only 10% of what everybody gets...:confused:

http://www3.telus.net/luis99/14.xx.JPG

Gautam
06-20-2007, 07:22 AM
luihed, I was actually going to ask you about that lol. That super low available real memory is very strange. You're correct about how ERAM works. And it often seems like the slower the initial loops, the faster the final time.

I personally stick with 390 MB ERAM (Don't think it matters) 512MB MAXMEM (I think ~480 is optimal for 32M) and a 5.4GB copy waza across my hard drive. ;)

I think only the likes of fredyama, kyosen, NewBeetle and OMEGA would have a really good handle on how this stuff works. So far almost all of my pi tweaking has been based on information provided by Team Japan...

luihed
06-20-2007, 07:33 AM
Ive had avail. real memory alot lower than that, in the 1xxxxxx but it wont even finish the first loop..... I was going to PM you about wazza cos Im finding my size is getting really small, the run above is probably less than 400mb:confused: .... if I set it bigger my available run will be smaller and spi wont run..... Im still playing around cos as you know Im faily new to this but all my runs now have small avail. mem, dont know if its a good thing or not:confused: Im a lil OT so ill post one more and stop.... maybe you can PM me Gautam for your opinion....

http://www3.telus.net/luis99/13.xx.JPG

Gautam
06-20-2007, 07:36 AM
No, not 400, its showing lower than 40 :p: actually just thinking about it it doesn't make any sense...just look at the pi window, it claims its allocating more memory than is available. :lol: Very strange indeed, dunno what could be doing that, but your times are definitely very fast...so I guess if it ain't broke don't fix it? :shrug:

Misko
06-20-2007, 09:17 AM
And it often seems like the slower the initial loops, the faster the final time.


Ive noticed the same thing, example I run 32M, then just tighten more ram, initial loop is slower compared on the previous run.



Im fairly lost in this subject as well so take my answer lightly as Im not 100%.... I think ramdisk uses whatever is left from the rams - maxmem, so in your case with maxmem=600, ramdisk will use part of the 1400mb unused from 2x1g rams......Ive used eram = 742mb and maxmem= 511 without trouble.....


Ok 10x for info. I thought so but I wasn't 100% sure

koda
06-20-2007, 09:52 AM
No, not 400, its showing lower than 40 :p: actually just thinking about it it doesn't make any sense...just look at the pi window, it claims its allocating more memory than is available. :lol: Very strange indeed, dunno what could be doing that, but your times are definitely very fast...so I guess if it ain't broke don't fix it? :shrug:

Effect of a bad copywaza !

The "memory garbage collector" wasn't finished ... Luihed, you just have to wait a couple of sec. before clicking on OK button to launch computations ;)

Eram use the extra maxmem memory ... if you don't set a maxmem value, it will be very hard to use Eram.

andre X_X
07-01-2007, 02:38 AM
i think bigger the system cache would be better times.
have you guys try to copy wazza NOT across HDD or Partition, but doing it in C:/Superpifolder??

Stapler
07-01-2007, 09:24 AM
If you wanna know why copy waza works, just open up task manager and go to performance before you start the copy waza. Luihead's low available memory is simply because he starts super pi immediately after the copy waza. If you watch the copy waza in task manager before strarting, you can see the available memory going up after it ends. The ideal time to run super pi is when the sum of system cache and available memory far exceeds your maxmem.

andre X_X
07-01-2007, 11:08 AM
i always wait 3s and 1-2 times 16k calculation before run a pi32m.
the result is good :D