mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2020-08-14, 07:49   #1629
aheeffer
 
Aug 2020

2×5 Posts
Default

Quote:
Originally Posted by aheeffer View Post
Thanks! Your post made me realize I could make some use of the idle APU of my Ryzen5 3400g box which is running with two Radeon VII cards. To my great surprise Mfacto 015pre7 runs between 420 and 480 Ghz-d/day (depending on the factor size) on the Vega 11 APU of the 3400G! Not bad for a 140 € cpu.
I was wrong. Mfacto was stealing some cycles from the Radeon VII card. The gpu id's seem to be different from what gpuowl is using. And I can't get it to work with '-d 2'.
aheeffer is offline   Reply With Quote
Old 2020-08-14, 13:36   #1630
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

113816 Posts
Default

Quote:
Originally Posted by aheeffer View Post
I can't get it to work with '-d 2'.
Mfakto device callout is a little different. Read the readme or https://www.mersenneforum.org/showpo...58&postcount=1
Quote:
Originally Posted by DrobinsonPE View Post
I assume that the >>selftest.txt sends the output to a text file so I will try that
>filename is redirect (overwriting whatever might have been in the destination before)
>>filename is redirect via append, preserving any previous selftest results, for example.
Those both affect stdout, while stderr still goes to the console.
(There are a few cases in GIMPS software where part of an error message is to stdout, and part to stderr!)
It's possible to redirect both into the same file, although chronological sequence (phasing between stderr and stdout)is not preserved, in my experience. Or each to different files. https://stackoverflow.com/questions/...a-file#7526988
https://stackoverflow.com/questions/...-a-single-file

Tee in Windows 7 Powershell lacks append capability; Windows 10 has it as an option.

Last fiddled with by kriesel on 2020-08-14 at 13:38
kriesel is offline   Reply With Quote
Old 2020-08-15, 01:49   #1631
DrobinsonPE
 
Aug 2020

3×11 Posts
Default

Quote:
Originally Posted by kriesel View Post
Is there a pattern to which are not found? Certain bit levels?
I had one with issues above ~81 bits. It's usable lower.
Self test results only logged up to "testcase 2110/34071" and stopped. There were 35 errors logged. The errors are all in the 60 to 64 range, examples of the errors are below.

no factor for M800007823 from 2^60 to 2^61 [mfakto 0.15pre7-MGW cl_barrett15_69_gs_2]
ERROR: selftest failed for M800007823 (cl_barrett15_69_gs)

no factor for M332193203 from 2^61 to 2^62 [mfakto 0.15pre7-MGW cl_barrett15_69_gs_2]
ERROR: selftest failed for M332193203 (cl_barrett15_69_gs)

no factor for M60008387 from 2^62 to 2^63 [mfakto 0.15pre7-MGW cl_barrett15_69_gs_2]
ERROR: selftest failed for M60008387 (cl_barrett15_69_gs)

no factor for M57078799 from 2^63 to 2^64 [mfakto 0.15pre7-MGW cl_barrett15_69_gs_2]
ERROR: selftest failed for M57078799 (cl_barrett15_69_gs)

I just will not run exponents in the 60-69 bit range.
DrobinsonPE is offline   Reply With Quote
Old 2020-08-15, 10:29   #1632
aheeffer
 
Aug 2020

2×5 Posts
Default

Quote:
Originally Posted by kriesel View Post
Mfakto device callout is a little different. Read the readme or https://www.mersenneforum.org/showpo...58&postcount=1
Thanks again! After some trial and error '-d 12' worked for me, 1 being the platform number for AMD and 2 being the third device. The APU of the Ryzen 5 3400 G now burns 208 Ghz-d/days with mfacto-0.15.
aheeffer is offline   Reply With Quote
Old 2020-09-10, 14:32   #1633
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

104708 Posts
Default

Quote:
Originally Posted by DrobinsonPE View Post
For the last almost 2 weeks I have been running the windows compiled version of mfakto 0.15pre7 on the iGPU of a Ryzen 3 3200G. it passed multiple runs of mfacto -st so I started feeding it a few GPU72 TF assignments and a few PrimeNet manual assignments.

Depending on the exponent I have seen between 126 and 132 GHz-d/day. I have not tried tuning any of the ini file settings yet. I also installed the windows compiled version of gpuowl and got it working but it is slow so I stopped it. I was seeing 18.1 ms/itt for a 111M exponent.

The above numbers are with the CPU idling. I just loaded Prime 95 and started running it but do not have any firm numbers yet.
These numbers are pretty good for an integrated graphics processor. Gpuowl timing is more than half the speed of an RX480, and 2.7 times as fast as an RX550. TF throughput ~125% of an RX550.
kriesel is offline   Reply With Quote
Old 2020-09-10, 20:14   #1634
DrobinsonPE
 
Aug 2020

3×11 Posts
Default

Quote:
Originally Posted by kriesel View Post
These numbers are pretty good for an integrated graphics processor. Gpuowl timing is more than half the speed of an RX480, and 2.7 times as fast as an RX550. TF throughput ~125% of an RX550.
Is there any other testing you want me to try? For the last month I have been running with Prime 95 and mfakto but have not used GPUOWL since the initial testing.

Here are my notes on running Prime 95 and mfakto together:

Prime 95 running alone - 6.09ms/Itt @57M
Prime 95 with mfakto - 6.36ms/Itt @57M, 11.7ms/itt @98.3M, (4% drop in output when mfakto starts)

Mfakto running alone - TF level 74-76, 126 to 134 GHz-d/day, TF level 77, 122 to 123GHz-d/day
Mfakto with prime 95 - TF level 74-76, 104 to 110 GHz-d/day, TF level 77, 100-102 GHz-d/day (17% drop in output when Prime 95 starts)

In a little while I am going to swap in the Linux hard drive and try again to get mfakto and GPUOWL working on Linux. Before that I still plan to try tuning mfakto settings to see if any settings change the speed. I also want to get more data on GPUOWL.
DrobinsonPE is offline   Reply With Quote
Old 2020-09-10, 21:40   #1635
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

10001001110002 Posts
Default

Your spreadsheet summary was impressive in its detail. Plain text is good too, more people see that.
I suggest close comparisons of performance, Windows vs. linux for same or very similar inputs, on same hardware.

Tune mfakto on each OS and compare performance and tune values.

Last fiddled with by kriesel on 2020-09-10 at 21:42
kriesel is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
mfaktc: a CUDA program for Mersenne prefactoring TheJudger GPU Computing 3316 2020-09-20 01:00
gpuOwL: an OpenCL program for Mersenne primality testing preda GpuOwl 2470 2020-09-18 23:06
LL with OpenCL msft GPU Computing 433 2019-06-23 21:11
OpenCL for FPGAs TObject GPU Computing 2 2013-10-12 21:09
Program to TF Mersenne numbers with more than 1 sextillion digits? Stargate38 Factoring 24 2011-11-03 00:34

All times are UTC. The time now is 09:12.

Sun Sep 20 09:12:09 UTC 2020 up 10 days, 6:23, 0 users, load averages: 1.50, 1.50, 1.44

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.