mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Hardware (https://www.mersenneforum.org/forumdisplay.php?f=9)
-   -   How to max performace.. (https://www.mersenneforum.org/showthread.php?t=10075)

xago666 2008-03-11 13:14

How to max performace..
 
Hey I'm just wondering if anybody could give me some tips (other than overclocking) to make prime95 run faster. some info:

-AMD Athlon 64 FX-62 2.8GHz (overclocked to 2.94 GHz), I can overclock it more just need a better heatsink.
-CPU temp hovers between 50-60 celcius
-MSI K9N Platinum mobo (nForce 570 SLI)
-4 Gigs of RAM (although it only shows 2.50Gb in my computer properties(explanation?)
-DRAM freq 420 MHz
-L1 cache - 64 bytes, L2 cache 1024 bytes
-Max bandwidth PC2-6400 (400 MHz)
-Ive got 1842 MB dedicated to prime95 (the max it would allow)
-Affinity is on (run on any CPU)

I'm rather a noob here, any info would be great about anything, i love learning stuff about computers. Ask if u need any more info

peace,

Mini-Geek 2008-03-11 16:13

[quote=xago666;128487]-4 Gigs of RAM (although it only shows 2.50Gb in my computer properties(explanation?)[/quote]
Are you running a 32-bit or 64-bit OS? 32-bit has a memory limitation, which IIRC is around what you're describing.
As for it running faster, check that you're running on both cores (open Task Manager and check that it says CPU Usage: 100%, if not ask how to run dual) and close any needless things that run in the background. Use an anti-virus program that uses few resources.
Um yeah that's basically all I got. :smile: Prime95 is very efficient on its own and there's not much you need to do.

mdettweiler 2008-03-11 16:16

Well, a couple starters:

-If you've got a multicore/multi-CPU system, set each instance of Prime95 to have affinity on one CPU (i.e. one instance on CPU 0, the other on CPU 1, etc. for as many cores/CPU's as you have)
-Clean out your case frequently (maybe once every three to six months), concentrating on keeping the CPU fan/heatsink assembly free of dust. I use an old canister vacuum for this, though an upright will work too if you can attach a hose. This helps performance by helping the CPU run as cool as possible, thus preventing it from automatically clocking down as a safeguard.

That's all I've got to suggest, maybe others have got more. :smile:

xago666 2008-03-11 16:17

I'm using Windows XP, pretty sure its 32-bit, any way to remove the RAM limitation other than get a 64-bit?

Also, it turns out im only using about 50% of my CPU according to the task manager sooo how can i change that?

thanks

mdettweiler 2008-03-11 16:22

[quote=Mini-Geek;128514]Are you running a 32-bit or 64-bit OS? 32-bit has a memory limitation, which IIRC is around what you're describing.
As for it running faster, check that you're running on both cores (open Task Manager and check that it says CPU Usage: 100%, if not ask how to run dual) and close any needless things that run in the background. Use an anti-virus program that uses few resources.
Um yeah that's basically all I got. :smile: Prime95 is very efficient on its own and there's not much you need to do.[/quote]
If you have a 64-bit OS, you probably won't see any speed increase in LL testing and P-1 as compared to a 32-bit OS, but I think you'll see a twofold increase in trial factoring speeds.

If you're looking for an antivirus program that uses few resources, as Mini-Geek suggested, you might want to check out [url=http://www.avast.com]Avast[/url]--it's gotten top ratings from all the antivirus rating places, is extremely light on resources, and best of all, it's 100% free. :grin:

And although this won't speed anything up, you may want to consider upgrading to Prime95 25.5--though it's still technically in beta, it has few bugs left, and those that are left are hardly critical. But it has all sorts of new features, such as being able to run multithreaded (i.e. you can utilize multiple cores without having to run multiple instances of Prime95), and since GIMPS will probably be switching to PrimeNet v5 soon, you'll want to have the latest client that will work with it. :smile:

mdettweiler 2008-03-11 16:24

[quote=xago666;128517]I'm using Windows XP, pretty sure its 32-bit, any way to remove the RAM limitation other than get a 64-bit?

Also, it turns out im only using about 50% of my CPU according to the task manager sooo how can i change that?

thanks[/quote]
Okay, you either need to run two instances of Prime95 (give the second one a different computer ID, maybe add a 1 at the end), or upgrade to Prime95 25.5, which has multithreading built in.

Mini-Geek 2008-03-11 16:33

[quote=xago666;128517]I'm using Windows XP, pretty sure its 32-bit, any way to remove the RAM limitation other than get a 64-bit?

Also, it turns out im only using about 50% of my CPU according to the task manager sooo how can i change that?

thanks[/quote]
Not that I know of. It's a fundamental limitation with how 32-bit works.
Here's more info on it:
[URL]http://www.brianmadden.com/content/article/The-4GB-Windows-Memory-Limit-What-does-it-really-mean-[/URL]
[URL]http://en.wikipedia.org/wiki/Windows_XP_Professional_x64_Edition[/URL]
Apparently, it's 4 GB, but XP splits that between the Kernel and applications, giving you 2.5 GB of usable RAM.
[quote=Anonymous;128518]And although this won't speed anything up, you may want to consider upgrading to Prime95 25.5--though it's still technically in beta, it has few bugs left, and those that are left are hardly critical. But it has all sorts of new features, such as being able to run multithreaded (i.e. you can utilize multiple cores without having to run multiple instances of Prime95), and since GIMPS will probably be switching to PrimeNet v5 soon, you'll want to have the latest client that will work with it. :smile:[/quote]
I'm pretty sure George has stated that there will be a v4-to-v5 bridge so that v24.x will still work once the switch to v5/v25 has been made, and that the status page change isn't a sign of a very soon v5 transition.

If you want to run your two cores with v24, you have two options: use the -An switch, or use separate folders. To use separate folders, copy Prime95's folder - call it Prime95-2 or something - and run the second copy just like you'd run the first. The -An switch lets you run it from one folder and make separate sets of the config files that Prime95 uses so it's practically two copies. To do it, make two shortcuts to Prime95 and add -A0 to the end of one and -A1 to the end of the other (so the Target looks, e.g. like "C:\Program Files\Prime95\PRIME95.EXE" -A0). Either way, make them have different computer names, as Anonymous suggested.

mdettweiler 2008-03-11 16:44

[quote=Mini-Geek;128520]I'm pretty sure George has stated that there will be a v4-to-v5 bridge so that v24.x will still work once the switch to v5/v25 has been made, and that the status page change isn't a sign of a very soon v5 transition.[/quote]
Yeah, I figured that v24.x would still work after the v5 switchover--but, the way I see it, there's still not much reason not to switch to v25.x. :smile:

xago666 2008-03-11 16:46

Well looks likw 25.5 did the trick i'm running at 100% CPU but i lost all the work i was doing on my previous exponent in 24.14

Mini-Geek 2008-03-11 17:02

[quote=xago666;128525]Well looks likw 25.5 did the trick i'm running at 100% CPU but i lost all the work i was doing on my previous exponent in 24.14[/quote]
How much work was that? Is it in the same folder or a different folder? If same folder, go to the worktodo.ini file and copy the line that starts with Test=, then close Prime95, go to the worktodo.txt file and paste it on the line above your other Test= line, then reopen Prime95 and it should work. If a different folder, do the same thing but copy both of the files that start with a letter then have some of the last numbers of the exponent you were testing.
I'm sure the final Prime95 v25.x will have automatic conversion of v24 options, if it doesn't already.

xago666 2008-03-11 17:04

Nah, it was no big deal i just finished stage 2. sorry 1 more question, what should i set the following to:

-# of worker threads
-priority
-cpu affinity
-# of CPUs to use

thanks guys

Mini-Geek 2008-03-11 17:17

[quote=xago666;128528]Nah, it was no big deal i just finished stage 2. sorry 1 more question, what should i set the following to:

-# of worker threads
-priority
-cpu affinity
-# of CPUs to use

thanks guys[/quote]
2 (you have two cores, and want to run two separate numbers on them)
1 is fine (lowest priority, so it doesn't interfere with your work)
select "All worker threads" and choose "Smart assignment"
1 (each thread uses one core)

xago666 2008-03-11 17:22

alright thanks for your help guys, i love how all my other programs run soooo slow now :big grin: :goodposting:

mdettweiler 2008-03-11 18:11

[quote=xago666;128531]alright thanks for your help guys, i love how all my other programs run soooo slow now :big grin: :goodposting:[/quote]
Hmm...your other programs shouldn't be running slow at all. However, if you have allocated a lot of RAM to Prime95, there won't be much left for other programs (hence the slowdown) during P-1 stage 2. However, rest assured, that only happens during P-1 stage 2.

pegaso56 2008-03-13 11:43

Hmm, with such a machine I suggest to change O.S. GNU/linux user friendly distro like openSUSE, UBUNTU, LinuxMINT, install mprime 25.6 , run it, and if you like XP very much, you can install a virtual machine and run XP on it.It ś not a trivial task for an absolute noob, but it is good chance to try another O.S.

mdettweiler 2008-03-13 16:44

[quote=pegaso56;128730]Hmm, with such a machine I suggest to change O.S. GNU/linux user friendly distro like openSUSE, UBUNTU, LinuxMINT, install mprime 25.6 , run it, and if you like XP very much, you can install a virtual machine and run XP on it.It ś not a trivial task for an absolute noob, but it is good chance to try another O.S.[/quote]
Yes, I agree--Linux generally has less overhead, so it doesn't steal as much power to keep itself running. Thus, it is highly recommended for any dedicated crunching machine, or for a non-dedicated machine that you'd just like to get the maximum performance out of. :smile:

I use Ubuntu (Linux) personally on my primary machine in a dual-boot configuration with XP, and I've found it to be extremely easy to use, very low overhead, not to mention that it's got some good-looking eye candy in the form of Compiz, which is included with Ubuntu 7.10 (and its visual effects are, IMO, even better than Vista's, and yet it uses hardly any resources to do it--it runs great on my relatively wimpy graphics, which Vista's Aero wouldn't even run on), if you're into that kinda stuff. :smile: Anyway, long story short, highly recommended.

Batalov 2008-04-04 01:47

"Adjacent Cache Line Prefetch = ON"
 
Set "Adjacent Cache Line Prefetch" or "ACL Prefetch" to ON, if you have it in your BIOS. (The factory setting was OFF.) This single BIOS setting made my dual-quad Xeon run 10% faster (if you run a lot of threads, of course). It's an obscure parameter; OFF is better if it was used as a server (i.e. a lot of different tasks); but in my case I got this as a workstation (and it runs some P95 in the background).

[IMG]http://valid.x86-secret.com/cache/banner/339888.png[/IMG]


All times are UTC. The time now is 22:48.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.