mersenneforum.org Maximized Setup and Other Questions
 Register FAQ Search Today's Posts Mark Forums Read

 2013-03-09, 11:56 #1 mbn451   Mar 2013 C16 Posts Maximized Setup and Other Questions Hey so I am fairly new to the site and crunching, and I have a few basic, newbie questions. 1.) Say I had 2-3k to spend trying to find a world record prime, what would be the best way to spend it? Would it be better to just build a really strong single machine, or to try building a cluster that I could add to if/when I wanted to spend more resources towards the effort? 2.) If building a cluster is the best option, what is a good starting point? I am a biologist by profession, so my computer skills are only hobbyist level-but I really want to learn more! 3.) I am currently running Prime95 on a desktop with an Intel core i5 750, and it seems to be underperforming. Interestingly each worker seems to be slower than the next, with worker 1 being 60% done and worker 4 being only 40% done with a first time LL. The exponents are slightly higher on each core, but I don't see a similar trend with my quad core iMac that is blazing away at LL. 4.) Which factoring method (P-1 or TF) would yield the most work units per day? Would they theoretically be the same? 5.) Any suggested way to "clean up" a computer so that it runs faster? I have of course gone into task manager and ended processes that seem non-essential (a slightly harder task than it sounds considering confusing process names) but is there anything else I can do? If anybody has any insights I would be happy to hear them, thanks!
 2013-03-09, 19:47 #2 Dubslow Basketry That Evening!     "Bunslow the Bold" Jun 2011 40
2013-03-09, 20:30   #3
Mr. P-1

Jun 2003

49116 Posts

Quote:
 Originally Posted by mbn451 Hey so I am fairly new to the site and crunching, and I have a few basic, newbie questions. 1.) Say I had 2-3k to spend trying to find a world record prime, what would be the best way to spend it? Would it be better to just build a really strong single machine, or to try building a cluster that I could add to if/when I wanted to spend more resources towards the effort?
If by "cluster" you mean a bunch of nodes with high-speed communications between them, then the latter is not necessary. A farm of independent processors would do just as well.

To get the best bang for your buck, you need to focus your expenditure on the processors and the memory, bearing in mind also the cost of electricity over the lifetime of the hardware. The motherboard is important to the extent that it doesn't introduce bottlenecks in memory access, but otherwise you can do without the bells and whistles a high-end MoBo will give you.

Quote:
 2.) If building a cluster is the best option, what is a good starting point? I am a biologist by profession, so my computer skills are only hobbyist level-but I really want to learn more!
My budget for my last build, just over a month ago, was £500, and I wanted to play around with overclocking, so a core i5 3570K system was the obvious choice for me. If you're not intending to overclock, you could dispense with the K suffix and the fancy cooler and get basically the same system for under £400. On your budget* you could buy five or more of these. The corresponding i7 gives an extra 100MHz and hyperthreading, which isn't a lot of benefit to GIMPS, so didn't justify the extra cost.

*It used to be the case that you could buy about as much hardware for $1 in the US as £1 in the UK. I don't know if this still applies. Quote:  3.) I am currently running Prime95 on a desktop with an Intel core i5 750, and it seems to be underperforming. Interestingly each worker seems to be slower than the next, with worker 1 being 60% done and worker 4 being only 40% done with a first time LL. The exponents are slightly higher on each core, but I don't see a similar trend with my quad core iMac that is blazing away at LL. Check your FFT lenghs. If they are the same, then running time ought to be proportional to the exponent. If the higher exponent uses a larger FFT then this will take significantly more time. Quote:  4.) Which factoring method (P-1 or TF) would yield the most work units per day? Would they theoretically be the same? Time to complete a work-unit depends upon the exponent and the amount of Prior TF. The amount of credit you get for completing one ought to be roughly proportional to the time you spend on it (unless George has rejigged the TF credit recently. GPUs have rendered CPUs obsolete for this type of work.) GIMPS has a shortage of dedicated P-1 capacity. IIRC you need at least 300MB of RAM. 1GB per core doing stage 2 is ample. (Bear in mind that you cannot find record-breaking primes by doing factoring work.) Quote:  5.) Any suggested way to "clean up" a computer so that it runs faster? I have of course gone into task manager and ended processes that seem non-essential (a slightly harder task than it sounds considering confusing process names) but is there anything else I can do? Install Linux. 2013-03-09, 20:34 #4 Mr. P-1 Jun 2003 7×167 Posts Quote:  Originally Posted by Dubslow An i5-3550K is definitely up there in terms of performance for a good price, but there might be other processors that are cheaper with a better price/performance (but keep in mind that each processor usually needs its own motherboard/case/etc, so there is a certain amount of fixed overhead per processor...) Consider also the cost of electricity over the lifetime of the equipment. This tips the balance in favor of fewer, faster machines. 2013-03-09, 20:45 #5 Dubslow Basketry That Evening! "Bunslow the Bold" Jun 2011 40<A<43 -89<O<-88 3×29×83 Posts Quote:  Originally Posted by Mr. P-1 Consider also the cost of electricity over the lifetime of the equipment. This tips the balance in favor of fewer, faster machines. No, usually it tips the balance in favor of copious but slower machines -- lots of little ARM processors would be most efficient (but can't run Prime95). Power consumption scales exponentially with speed -- the lower down the curve you are, typically the better. (That said, an AMD consumes a lot more power per performance than an Intel, at the moment anyways, hence the 3550 3570 recommendation we both made.) 2013-03-09, 20:56 #6 Mr. P-1 Jun 2003 7·167 Posts Quote:  Originally Posted by Dubslow No, usually it tips the balance in favor of copious but slower machines -- lots of little ARM processors would be most efficient (but can't run Prime95). Power consumption scales exponentially with speed -- the lower down the curve you are, typically the better. (That said, an AMD consumes a lot more power per performance than an Intel, at the moment anyways, hence the 3550 3570 recommendation we both made.) I was assuming that we were only talking about machines which can run Prime95/mprime. My thinking was that in addition to the power consumed by the processor, there would also be an essentially fixed overhead (per machine) associated with the remaining components. More machines = more overhead. 2013-03-09, 21:18 #7 Dubslow Basketry That Evening! "Bunslow the Bold" Jun 2011 40<A<43 -89<O<-88 722110 Posts Quote:  Originally Posted by Mr. P-1 I was assuming that we were only talking about machines which can run Prime95/mprime. My thinking was that in addition to the power consumed by the processor, there would also be an essentially fixed overhead (per machine) associated with the remaining components. More machines = more overhead. For a compute-only cluster, the overhead of a mobo and HDD/SDD is a few tens of watts at most -- often less, and so doesn't play too much of a role. Even if we limit ourselves to x86, you'd be better off with a whole bunch of 15 W processors (30W box total) -- but they cost similar, so that's only better from a power-only perspective, not from a capital/performance perspective. Either way though, we both know what we're talking about since we both recommended the same proc Last fiddled with by Dubslow on 2013-03-09 at 21:19 Reason: add ()  2013-03-09, 22:22 #8 swl551 Aug 2012 New Hampshire 23×101 Posts I totally agree i5 is more cost effective (cost, heat, power, performance) and scaling out, not up is the better choice. Buying 2 mid-range i5 pcs can cost less than a tricked-out* i7. Total power consumption would be a bit more, but overall productivity would be about double a single i7. * is referring to the "ultra-gaming" type setup with mobos costing >$300 etc. Both my i5s run on mobo < \$80.00 and they kick my i7 to the ground. Last fiddled with by swl551 on 2013-03-09 at 22:24
 2013-03-09, 22:49 #9 lycorn     Sep 2002 Oeiras, Portugal 1,451 Posts A very important point, as far as performance goes, is avoiding memory bottlenecks. This is particularly important when using AVX capable CPUs running a 64-bit client. A constrained memory access may ruin the CPU performance, when running several tests in parallel. As an example, I´ve recently tested a PC with an i5-3450, and the per iteration time, for the same FFT size on a LL test, was 0.012s with one worker running and 0.024s with 4 workers running. The mobo was nothing to write home about, nor was the memory. Therefore, I recommend investing in memory bandwidth!
2013-03-10, 03:51   #10
Uncwilly
6809 > 6502

"""""""""""""""""""
Aug 2003
101×103 Posts

19×499 Posts

Quote:
 Originally Posted by Dubslow For a compute-only cluster, the overhead of a mobo and HDD/SDD is a few tens of watts at most -- often less, and so doesn't play too much of a role.
If you network boot them (or use a USB drive to boot it) you don't have to buy a HDD or run it. Multiple by number of machines...

 2013-03-30, 02:53 #11 mbn451   Mar 2013 22·3 Posts Thanks for all the feedback! Looking at the Benchmarks page, why is a 3570k recommended over a 2500k? It seems as if the 2500k has better times on FFT lengths, and is currently the same price as the 3570k on Newegg. What am I missing here?

 Similar Threads Thread Thread Starter Forum Replies Last Post tcharron Software 19 2013-02-14 20:38 bcp19 GPU Computing 4 2011-10-15 14:09 RussJones Information & Answers 4 2011-01-04 14:08 mdettweiler No Prime Left Behind 15 2009-09-08 09:42 sz0wxc PrimeNet 3 2004-06-01 16:49

All times are UTC. The time now is 04:43.

Wed Apr 14 04:43:10 UTC 2021 up 5 days, 23:24, 0 users, load averages: 2.57, 2.57, 2.49