Search found 11 matches
- Mar 31, 2023 4:59
- Forum: General
- Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
- Replies: 33
- Views: 7629
Re: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
So here are the results for running my program on my laptop (intel i5-11400H) and my desktop (Ryzen 9 5950X). The code was compiled with the following command: fbcNN.exe -gen gcc -Wc -march=TARGET_CPU,-Ofast -lang qb tfs52-current.bas where NN = 32 or 64, and TARGET_CPU is the cpu for the target arc...
- Mar 29, 2023 22:19
- Forum: General
- Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
- Replies: 33
- Views: 7629
Re: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
Can you tell me briefly about the flow of your program? I'm afraid I don't know much about multithread coding. (I wouldn't know what a "mutex" was if it hit me in the face!) I have not, however, attempted to parallelize anything in my code. I would be happy to share my code with anyone in...
- Mar 29, 2023 22:15
- Forum: General
- Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
- Replies: 33
- Views: 7629
Re: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
The benchmarking respective to geekbench also complicates. What if the anomaly is in geekbench, not in your programs? This is a good point to think about. As a control, I have also used a molecular modeling package (Gaussian 16), and have run all of the tests on both windows and linux. (As a chemis...
- Mar 29, 2023 22:01
- Forum: General
- Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
- Replies: 33
- Views: 7629
Re: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
Just to be clear, I'm really not much of a programmer. I learned Basic in high school (late 1970s) and never really progressed much beyond. So I am sure that there are better algorithms, and I am also sure (I have data now to back up that certainty!) that a better understanding of compiler flags and...
- Mar 14, 2023 20:26
- Forum: General
- Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
- Replies: 33
- Views: 7629
Re: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
Try the following if you please: fbc64.exe -gen gcc -Wc -march=native,-Ofast I did this on my laptop, which sports an i5-11400H. Here are the results. 32-bit compiler using -lang qb flag: runtime = 54.646 seconds 64-bit compiler using -lang qb flag: runtime = 1473.408 seconds 64 bit compiler using ...
- Mar 13, 2023 17:10
- Forum: General
- Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
- Replies: 33
- Views: 7629
Re: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
What are your compiler options? Are you using 64-bit Fb 1.09? This isn't an issue with compiler options. I am comparing the same compiled exe on different hardware platforms. The execution time should scale inversely with the single-core cpu rating. the issue is that that relationship holds for pre...
- Mar 12, 2023 22:33
- Forum: General
- Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
- Replies: 33
- Views: 7629
Re: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
I just built my first 12th generation intel (i5-12400) box yesterday . . . and the same thing happened! my 9th and 10th gen i5 computers will run my compiled code in about 50 seconds, but the 12 gen takes 130+ seconds. Geekbench measures these 5000 series Ryzens and the i5-12400 as plenty fast, but ...
- Oct 24, 2021 21:22
- Forum: General
- Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
- Replies: 33
- Views: 7629
Re: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
I like to use one of my programs to benchmark computers. Basically, the program uses Gauss-Jordan While it includes data from a number of different AMD and Intel CPU systems, they are from different rigs with different memory/motherboard configurations. But did you run the tests with exactly the sa...
- Oct 11, 2021 10:20
- Forum: General
- Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
- Replies: 33
- Views: 7629
Re: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
... Is your answer vector intact, i.e. no -1.#IND results? If this was the issue, it would be a product of the data and the implementation of the algorithm, and would not happen on some cpus and not others. Both the data and the algorithm are fine. The only issue is the long run times on newer (500...
- Sep 27, 2021 22:49
- Forum: General
- Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
- Replies: 33
- Views: 7629
Re: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
For tests to be reliable, optimal HW / OS / Progam compatibility is a must (same bitness preferably). Since I'm assuming the HW to be 64 bit, I'd recomend to use FBC 64 too. I'm sure there are many differences from cpu to cpu (as well as other rig eccentricities) that will limit the value of compar...
- Sep 27, 2021 22:18
- Forum: General
- Topic: Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
- Replies: 33
- Views: 7629
Compiled code runs anomolously slowly on 5000 series Ryzen CPUs
I like to use one of my programs to benchmark computers. Basically, the program uses Gauss-Jordan Elimination to solve about 2300 simultaneous linear equations - i.e. a lot of floating-point arithmetic. I compare execution time to GeekBench 5 single-core benchmark ratings, and have discovered bizarr...