mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Lounge

Reply
 
Thread Tools
Old 2004-08-12, 02:46   #1
JuanTutors
 
JuanTutors's Avatar
 
Mar 2004

48410 Posts
Thumbs up Improve performance thread

I think there are so many good tips on how to make prime95 work more efficiently on their computers that we should start this Improve performance thread.

To start it off:

Especially (but not exclusively) if you use Win doze:

Don't have things you don't need start automatically at bootup. They really slow down your computer.

We love to multitask, but don't keep that news article you read 6 hours ago open.

Try raising Prime95 priority. Maybe raise it by 1 every day until it slows down your computer. Then bring it back down. Also, try priority 8. (Randomly works for me).

Unless you have a reason not to, like overheating, etc, run Prime95 24/7/365.

REALLY GOOD ONE: Even if you turn your monitor off before bed, go to your display settings. In the screen saver tab, change your POWER OPTIONS to turn your monitor off when your computer has been idle for a reasonable amount of time. (I used to have 2 hours, now I have 15 minutes.) This is a REALLY GOOD ONE because your computer runs display-related processes even when you manually turn your monitor off. It stops these processes only when it thinks it turned the monitor off itself. I get a 5-7% improvement, i.e. way over a day every month.

If you don't mind the lack of aesthetic pleasure, use a less complicated screen saver.

If you're going away for a few days, some computers (including mine) run Prime95 faster when they are in safe mode. Do the banana dance. Then go to safe mode, put the monitor on the lowest resolution, and MAKE SURE your screensaver is off. My computer doesn't automatically turn off my monitor if it's in safe mode. I get another 2% improvement that way, making it worth it only if I leave it in safe mode for at least 11 hours.

If you're doing LL testing, it's worth doing that pre-trial factoring (at least according to probability). It's also worth doing P-1 testing. Don't skip them. even if you only do a little. Don't confuse yourself by noting that the probability of finding a factor goes down as the size of the trial factors goes up. Althought that is true, doing less trial factoring will increase the probability that, over the short term (like your first few LL tests), you will do more unnecessary LL tests. Plus, I hear finding a factor feels good, though I haven't found one yet.

I like knowing how fast Prime95 is going, down to the microsecond. You can know this by putting the line TimingOutput=4 in the last line of prime.ini. (This doesn't improve performance, but I put it in anyway.)

Sorry about the animated bullets...they were "necessary".
JuanTutors is offline   Reply With Quote
Old 2004-08-12, 06:13   #2
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

112338 Posts
Default

You may be a fanatic of distributed computing, so maybe you have many projects running: check that they do not conflict with one another for CPU and memory resources (two programs using SSE2 on a single processor Hyperthreaded machine tend to slow MORE than 50% due to constraints).

If you have a single processor PC, always choose two distributed projects that use different resources (like either CPU or RAM) and you'll see an improvement of about 10%-15% on both.

Never disable hard disks in energy saving options: that not only slows your program during disk writes, but also tends to wear your hard disk.

If your PC is dedicated to number crunching, use the lowest possible graphic resolution, and avoid where possible graphic cards embedded into the motherboard.

Check that your program memory usage lets at least 128 MB of free RAM on your machine, avoiding thrashing and swapping.

If you work using a graphic environment, choose your program folder at root level: this prevents you from clicking into deep level trees (each click comports scanning and animations...)

Luigi
ET_ is offline   Reply With Quote
Old 2004-08-12, 06:46   #3
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

19×443 Posts
Default

Raise the number of iterations between outputs to the display to at least 50000 if not 100000. This allows reduces the number of times that P95 must do the work to make the display change.

Avoid dancing bananas and other animated graphics.

Try running with NumLock turned off, you may gain a bit.

Turn off the packet writing software for your CD-RW drive, if you don't use it as a floppy.

Use a real modem not a Winmodem.

Go off line.
Uncwilly is online now   Reply With Quote
Old 2004-08-12, 06:46   #4
dave_0273
 
dave_0273's Avatar
 
Oct 2003
Australia, Brisbane

2×5×47 Posts
Default

Quote:
Originally Posted by dominicanpapi82
If you're doing LL testing, it's worth doing that pre-trial factoring (at least according to probability). It's also worth doing P-1 testing. Don't skip them.
This is a very important one. Factoring to the limits that are set up increases the thoroughput of the project.

On the otherhand, if you don't care about the thoroughput of the project and are only just trying to get your own stats up, I would still strongly suggest doing the factoring. If you don't do it, someone else will do it at a later date (like mersenne-aries) and if a factor is found at a later date, you lose your LL credit.

It may boost you for a little while, but it will catch back up with you.

Last fiddled with by dave_0273 on 2004-08-12 at 06:47
dave_0273 is offline   Reply With Quote
Old 2004-08-12, 07:14   #5
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

203418 Posts
Default

Set your homepage to a locally stored simple html file. No graphics.

Turn graphics off in your browser as a mater of routine.
Uncwilly is online now   Reply With Quote
Old 2004-08-12, 11:31   #6
marc
 
marc's Avatar
 
Jun 2004
UK

139 Posts
Default

If you use recent versions of Mozilla Firefox you can press Esc to stop the bananas dancing and you can set your home page as about:blank.
marc is offline   Reply With Quote
Old 2004-08-12, 13:57   #7
clowns789
 
clowns789's Avatar
 
Jun 2003
The Computer

22×5×19 Posts
Default

Quote:
Originally Posted by Uncwilly
Raise the number of iterations between outputs to the display to at least 50000 if not 100000. This allows reduces the number of times that P95 must do the work to make the display change.
If you update every 100,000 iterations in ECM instead of every iteration it makes it go 10 times faster.

By the way, how do you switch to safe mode?

Last fiddled with by clowns789 on 2004-08-12 at 13:59
clowns789 is offline   Reply With Quote
Old 2004-08-12, 14:12   #8
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

100000111000012 Posts
Default

Windows Safe mode can be gotten into one of 2 ways.
1) While your machine is starting, after the intial RAM check press F5 repeatedly. You may here the machine beep or make other noise if you have pressed it way too many times. Windows will enter safe mode. You will have to manually start P95.
2) While your machine is starting, after the intial RAM check press F8 repeatedly. This should take you to the boot menu. Select safe mode.
Uncwilly is online now   Reply With Quote
Old 2004-08-12, 18:47   #9
JuanTutors
 
JuanTutors's Avatar
 
Mar 2004

7448 Posts
Default

Quote:
Originally Posted by ET_
If you have a single processor PC, always choose two distributed projects that use different resources (like either CPU or RAM) and you'll see an improvement of about 10%-15% on both.
In the windows version, if you are LL testing at that moment, copy and paste the entire Prime95 folder somewhere else. In the new folder, add the line SequentialWorkToDo=0 to the last line of prime.ini. Then start Prime95 from that folder by clicking on the icon. You might be able to get the original copy to skip both trial factoring and P-1 factoring and let the second copy do both, but I don't know how.

Quote:
Originally Posted by Uncwilly
Windows Safe mode can be gotten into one of 2 ways.
1) While your machine is starting, after the intial RAM check press F5 repeatedly. ...
2) While your machine is starting, after the intial RAM check press F8 repeatedly. ...
Pressing F8 works for me, but F5 doesn't. If you try it, you can let us know if it worked in the thread http://www.mersenneforum.org/showthread.php?t=2668
JuanTutors is offline   Reply With Quote
Old 2004-08-12, 23:18   #10
asdf
 
asdf's Avatar
 
Sep 2002

748 Posts
Default

On some machines, ctrl works too.
asdf is offline   Reply With Quote
Old 2004-08-13, 02:11   #11
JuanTutors
 
JuanTutors's Avatar
 
Mar 2004

1111001002 Posts
Default

If you're using your computer to listen to music and aren't sitting right in front of it, you might be able to put Prime95s priority to 10 without making your music manager skip. This improves my iteration time 10-30%.
JuanTutors is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Our discussions here: how can we improve things? Brian-E Soap Box 105 2013-11-10 12:26
64-bit performance of v25.6 James Heinrich PrimeNet 11 2008-04-24 01:42
LLR performance on k and n robert44444uk 15k Search 1 2006-02-09 01:43
Performance battlemaxx Prime Sierpinski Project 4 2005-06-29 20:32
Deutscher Thread (german thread) TauCeti NFSNET Discussion 0 2003-12-11 22:12

All times are UTC. The time now is 19:46.

Tue Aug 11 19:46:03 UTC 2020 up 25 days, 15:32, 2 users, load averages: 1.17, 1.60, 1.76

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.