Finding the The Power of CDC Computers

  • Thread starter Thread starter Borek
  • Start date Start date
  • Tags Tags
    Computers Power
AI Thread Summary
The discussion centers on a C++ program that efficiently finds integer solutions to a specific mathematical problem related to Euler's conjecture. The program utilizes a nested loop structure to calculate fifth powers of integers and checks for combinations that satisfy a particular equation. It runs in approximately two seconds on a modern Intel i7 processor, highlighting significant advancements in computing power compared to historical systems like the CDC 6600, which operated at around 3 MFLOPS. The conversation contrasts the performance of contemporary CPUs and GPUs, which can achieve GFLOPS and TFLOPS, respectively, emphasizing the dramatic improvements in computational capabilities over the past 50 years. The discussion also notes that the problem is integer-based, making traditional floating-point performance metrics less relevant.
Borek
Mentor
Messages
29,122
Reaction score
4,541
http://www.ams.org/journals/bull/1966-72-06/S0002-9904-1966-11654-3/

article.jpg


Funny thing, this:

Code:
#define p5(__i__) (__i__*__i__*__i__*__i__*__i__)

int main(int argc, _TCHAR* argv[])
{
    __int64 i, j, k, l, m;

    for (i = 1;i < 200;i++)
        for (j = 1;j < i;j++)
            for (k = 1;k < j;k++)
                for (l = 1;l < k;l++)
                    for (m = 1;m < k;m++)
                        if (p5(i) == p5(j) + p5(k) + p5(l) + p5(m))
                            printf("%I64d -> %I64d %I64d %I64d %I64d\n",i,j,k,l,m);

    return 0;
}

finds their solution in around 2 sec on my i7 (compiled to x64, no idea what code optimizations are done automatically and there are plenty of things that can be done) so it can be up to 8 times faster if split between threads. I wonder how long it took on CDC.
 
Last edited:
Physics news on Phys.org
Probably a long time. My cell phone is more powerful than the early Crays.
 
According to Wiki, the CDC 6600 maxed out at about 3 MFLOPS, with about 0.5 MFLOP sustained when running Fortran programs.

http://en.wikipedia.org/wiki/CDC_6600

Not bad for a 50-year old design with a clock speed of about 40 MHz.

By contrast, the Intel Core i7 family performs safely in GFLOP territory, with one model (the 6-core i7 980 XE) maxing out at 109 GFLOPS:

http://en.wikipedia.org/wiki/FLOPS

GPUs are now capable of operating in Tera FLOP territory, though.
 
  • Like
Likes Borek
SteamKing said:
According to Wiki, the CDC 6600 maxed out at about 3 MFLOPS

This problem doesn't call for flops, it is all integers (outside of the 32 bit territory though).
 
Borek said:
This problem doesn't call for flops, it is all integers (outside of the 32 bit territory though).

Just trying to provide a rough gauge of performance between two systems designed 50 years apart.

Like the disclaimers say, your performance may vary.
 
  • Like
Likes Borek

Similar threads

Replies
8
Views
2K
Replies
2
Views
1K
Replies
8
Views
2K
Replies
5
Views
3K
Replies
1
Views
1K
Replies
2
Views
10K
Replies
1
Views
2K
Back
Top