Message boards :
Number crunching :
Vega 64 Command Lines?
Message board moderation
Author | Message |
---|---|
![]() ![]() Send message Joined: 27 Jul 09 Posts: 83 Credit: 12,388,119 RAC: 140 ![]() ![]() |
I'm going to be letting my Ryzen 2700x machine with a Sapphire Nitro+ Vega 64 do some crunching sometimes... can anyone provide me with a command line to increase the Vega 64's performance like you helped me with my GTX 1060 on my 24/7 rig. I tried googling and came up with nothing but confusing stuff. ![]() All of this has happened before and will happen again -Battlestar Galactica |
![]() ![]() ![]() Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 ![]() ![]() |
You need to get Mike to help out with the command line for ATI cards. I know nothing about tuning ATI as I've never used one. Maybe you can entice other ATI card users to offer some suggestions. Or search the forums for keywords ATI tuning command line Seti@Home classic workunits:20,676 CPU time:74,226 hours ![]() ![]() A proud member of the OFA (Old Farts Association) |
![]() ![]() Send message Joined: 27 Jul 09 Posts: 83 Credit: 12,388,119 RAC: 140 ![]() ![]() |
I never even thought to search "ATI" as I was just searching for "AMD".... LOL! I'll see what that brings up ![]() All of this has happened before and will happen again -Battlestar Galactica |
![]() ![]() Send message Joined: 27 Jul 09 Posts: 83 Credit: 12,388,119 RAC: 140 ![]() ![]() |
Hmmm.... didn't find anything :( ![]() All of this has happened before and will happen again -Battlestar Galactica |
![]() ![]() ![]() Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 ![]() ![]() |
I found an old post of mine where Mike said the same command line tuning works well enough for both ATI and Nvidia for 1060 class cards. I thought there are some extra command line tunings for ATI that locks cpu cores to instances. But my quick keyword search didn't turn up that command line. You can try the standard one for 1060's. -sbs 1024 -period_iterations_num 1 -tt 1500 -high_perf -high_prec_timer -spike_fft_thresh 4096 -tune 1 64 1 4 -oclfft_tune_gr 256 -oclfft_tune_lr 16 -oclfft_tune_wg 256 -oclfft_tune_ls 512 -oclfft_tune_bn 64 -oclfft_tune_cw 64 Seti@Home classic workunits:20,676 CPU time:74,226 hours ![]() ![]() A proud member of the OFA (Old Farts Association) |
![]() ![]() Send message Joined: 27 Jul 09 Posts: 83 Credit: 12,388,119 RAC: 140 ![]() ![]() |
I'll try that because this Vega 64 is showing 12 mins per wu and I know that it can compute faster than that... ![]() All of this has happened before and will happen again -Battlestar Galactica |
![]() ![]() ![]() Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 ![]() ![]() |
I still think it would be beneficial if you shoot Mike a PM and ask for help with an optimized command line tuning for Vega64. Mike from Seti. Expert on SoG app tuning. UserID = 9826 User profile https://setiathome.berkeley.edu/show_user.php?userid=9826 Seti@Home classic workunits:20,676 CPU time:74,226 hours ![]() ![]() A proud member of the OFA (Old Farts Association) |
![]() ![]() ![]() Send message Joined: 17 Feb 01 Posts: 34452 Credit: 79,922,639 RAC: 80 ![]() ![]() |
This is good for a start. With each crime and every kindness we birth our future. |
![]() ![]() Send message Joined: 27 Jul 09 Posts: 83 Credit: 12,388,119 RAC: 140 ![]() ![]() |
Thanks Mike... I'm running this command line but not seeing any performance difference. Should this Vega 64 be doing work units faster than 12 mins each? Also I have noticed that HWMonitor shows only 32-38% gpu uasage where as my GTX 1060 in my other rig runs 100%. Is there anyway to have 100% of the Vega 64 compute? I have it setup 1CPU + 1GPU right now with the app_config file so it has one core for the gpu coming off a Ryzen 2700x. ![]() All of this has happened before and will happen again -Battlestar Galactica |
![]() ![]() ![]() Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 ![]() ![]() |
I'm pretty sure also the Vega64 should be faster than 12 minutes. I think it runs them in 6-7 minutes. I'd have to find another host with a Vega64 card to verify. I think the issue is the command line. I'm pretty darn sure there is a way to do something with assigning affinity of a cpu core to a gpu thread. I think that is the ticket to better speed. I was hoping Mike would step in with the correct command line parameters. [Edit] Maybe not possible in Linux. I knew there was something about cpu_lock and found the references I was thinking of. It is in the astropulse_7.08_README_x86_64-pc-linux-gnu__opencl_nvidia_100 document in the /Docs folder in the Seti project folder. On Linux and MacOSX : I was thinking there was a similar way to do cpu affinity with the MB tasks. I use the schedtool app in my Linux hosts to assign affinity to the science applications. I keep the cpu tasks on the physical cores and then let the hyperthread cores support the gpu applications. sudo apt install schedtool This doesn't directly speed up the Vega64 card via parameter tuning though. [Edit2] I think the basic cpu_lock parameter is still valid in Linux64, just the other ones mentioned are not allowed. Seti@Home classic workunits:20,676 CPU time:74,226 hours ![]() ![]() A proud member of the OFA (Old Farts Association) |
![]() ![]() Send message Joined: 27 Jul 09 Posts: 83 Credit: 12,388,119 RAC: 140 ![]() ![]() |
I'm pretty sure also the Vega64 should be faster than 12 minutes. I think it runs them in 6-7 minutes. I'd have to find another host with a Vega64 card to verify. I think the issue is the command line. I'm pretty darn sure there is a way to do something with assigning affinity of a cpu core to a gpu thread. I think that is the ticket to better speed. I was hoping Mike would step in with the correct command line parameters. Thanks Keith! I'm sure we will get it sorted. This machine wont be doing a lot of crunching anyway since its my main machine but I would like to get it dialed in for when I do let her run BOINC. ![]() All of this has happened before and will happen again -Battlestar Galactica |
![]() ![]() ![]() Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 ![]() ![]() |
I would try adding the -cpu_lock parameter to your command line for MB and see if it either throws an error or speeds the task up or does nothing. Seti@Home classic workunits:20,676 CPU time:74,226 hours ![]() ![]() A proud member of the OFA (Old Farts Association) |
TBar Send message Joined: 22 May 99 Posts: 5204 Credit: 840,779,836 RAC: 2,768 ![]() ![]() |
It looks as if a CPU core hasn't been Reserved for the GPU. The observed behavior is what would be expected if All CPU cores are busy with CPU tasks. Try reserving one or More CPU cores for the GPU using the 'Use at most ____ % of the CPUs' setting. Start with changing the 100% to 99%. |
![]() ![]() ![]() Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 ![]() ![]() |
OK, I don't know why I didn't think of this before. You should look at RueiKe's hosts. https://setiathome.berkeley.edu/show_user.php?userid=10276073 He runs exclusive AMD/ATI gpu hardware including older Radeon Fury, Vega64 and Vega VII gpus. If you look at the times for his gpu tasks on his various hosts, he is running MB tasks in 3 -5 minutes. If you look at his stderr.txt outputs for his tasks you can garner some of the settings he is using in his MB tuning command line parameters. Some of his threads are here. https://setiathome.berkeley.edu/forum_thread.php?id=81872#1886964 https://setiathome.berkeley.edu/forum_thread.php?id=82949#1936392 I see he has -hp and -high_perf in his command line but I don't see any instance of cpu_lock. So know that card can go faster. Seti@Home classic workunits:20,676 CPU time:74,226 hours ![]() ![]() A proud member of the OFA (Old Farts Association) |
![]() Send message Joined: 28 Nov 02 Posts: 5126 Credit: 276,046,078 RAC: 462 ![]() |
Here is Mike's response to a Vega 56 question in the "GPU FLOPS: Theory vs Reality" thread. https://setiathome.berkeley.edu/forum_thread.php?id=81962&postid=1963448#1963448 A good start for vega would be. -sbs 2048 -period_iterations_num 1 -spike_fft_thresh 4096 -high_perf -tune 1 64 1 4 -oclfft_tune_gr 256 -oclfft_tune_lr 16 -oclfft_tune_wg 256 -oclfft_tune_ls 512 -oclfft_tune_bn 64 -oclfft_tune_cw 64 Tom A proud member of the OFA (Old Farts Association). |
![]() ![]() ![]() Send message Joined: 6 Nov 99 Posts: 716 Credit: 8,032,827 RAC: 62 ![]() ![]() |
and after the -period_iteration_num 1 u can add -tt 600 |
![]() Send message Joined: 28 Nov 02 Posts: 5126 Credit: 276,046,078 RAC: 462 ![]() |
and after the -period_iteration_num 1 u can add -tt 600 I often use -tt 1500 but for whatever reason Mike didn't on that response. Maybe there is a difference between the Nvidia and the Vega on that parameter? Or else, that is what he meant by a "good start" :) Tom A proud member of the OFA (Old Farts Association). |
![]() ![]() Send message Joined: 27 Jul 09 Posts: 83 Credit: 12,388,119 RAC: 140 ![]() ![]() |
Here is Mike's response to a Vega 56 question in the "GPU FLOPS: Theory vs Reality" thread. Which txt file does the command line go in? ![]() All of this has happened before and will happen again -Battlestar Galactica |
![]() ![]() ![]() Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 ![]() ![]() |
Here is Mike's response to a Vega 56 question in the "GPU FLOPS: Theory vs Reality" thread. Whatever the filename that has mb_cmdline or similar in its name in the Seti project directory. Seti@Home classic workunits:20,676 CPU time:74,226 hours ![]() ![]() A proud member of the OFA (Old Farts Association) |
![]() ![]() ![]() Send message Joined: 14 Feb 16 Posts: 492 Credit: 378,512,430 RAC: 785 ![]() ![]() |
OK, I don't know why I didn't think of this before. You should look at RueiKe's hosts. https://setiathome.berkeley.edu/show_user.php?userid=10276073 Here are my command line options: -v 1 -instances_per_device 1 -sbs 2048 -period_iterations_num 1 -tt 600 -spike_fft_thresh 4096 -oclfft_tune_gr 256 -oclfft_tune_lr 16 -oclfft_tune_wg 256 -oclfft_tune_ls 512 -oclfft_tune_bn 64 -oclfft_tune_cw 64 -hp -high_perf -no_defaults_scaling -cpu_lock -nobs -tune 1 64 1 4 -no_use_sleep In addition, I am using amdgpu-utils to underclock my Vega64s. I am running with a 140W power cap, max Sclk p-state of 6 and a constant Mclk p-state of 3. There are all running in compute mode. All have waterblocks and run at <50C. |
©2025 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.