Welcome to MilkyWay@home

N-Body on GPU?

Message boards : Application Code Discussion : N-Body on GPU?
Message board moderation

To post messages, you must log in.

AuthorMessage
Jim1348

Send message
Joined: 9 Jul 17
Posts: 100
Credit: 16,967,906
RAC: 0
Message 67455 - Posted: 15 May 2018, 16:45:00 UTC

There has been some limited mention of providing a GPU version of N-Body.
    Is there any information on whether it will be CUDA or OpenCl?
    Will it require good dual-precision performance?


This could be useful for GPU purchasing decisions, if or when the time comes.

ID: 67455 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
WMD

Send message
Joined: 15 Jun 13
Posts: 15
Credit: 2,070,897,222
RAC: 288
Message 68233 - Posted: 8 Mar 2019, 4:14:32 UTC

I second this. I only run MW@H on my GPU, the CPU is reserved for WCG. And there seems to be a lot more development these days on n-body, so I assume it's more interesting to the project. I'd certainly like to contribute if such a client is feasible.
ID: 68233 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mr P Hucker
Avatar

Send message
Joined: 5 Jul 11
Posts: 990
Credit: 376,143,149
RAC: 0
Message 70025 - Posted: 13 Aug 2020, 11:26:08 UTC

I third this.
ID: 70025 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
kotenok2000
Avatar

Send message
Joined: 22 May 11
Posts: 71
Credit: 5,672,762
RAC: 322
Message 70771 - Posted: 5 May 2021, 0:03:30 UTC

I fourth this
ID: 70771 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
[VENETO] boboviz

Send message
Joined: 10 Feb 09
Posts: 52
Credit: 16,289,227
RAC: 2
Message 74756 - Posted: 9 Dec 2022, 20:11:44 UTC - in response to Message 70771.  

Probably it's too much difficult to adapt nbody code for gpu.
ID: 74756 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
[VENETO] boboviz

Send message
Joined: 10 Feb 09
Posts: 52
Credit: 16,289,227
RAC: 2
Message 74757 - Posted: 9 Dec 2022, 20:27:13 UTC - in response to Message 74756.  

Probably it's too much difficult to adapt nbody code for gpu.


My fault, my fault.
I found this old link to a research on nbody on GPU, so it seems feasible
ID: 74757 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mr P Hucker
Avatar

Send message
Joined: 5 Jul 11
Posts: 990
Credit: 376,143,149
RAC: 0
Message 74759 - Posted: 9 Dec 2022, 20:53:28 UTC - in response to Message 74757.  

Probably it's too much difficult to adapt nbody code for gpu.


My fault, my fault.
I found this old link to a research on nbody on GPU, so it seems feasible
I can only see the preface.
ID: 74759 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 606
Credit: 19,225,189
RAC: 3,603
Message 74760 - Posted: 10 Dec 2022, 10:17:55 UTC - in response to Message 74757.  

Probably it's too much difficult to adapt nbody code for gpu.


My fault, my fault.
I found this old link to a research on nbody on GPU, so it seems feasible

Yes, it's feasible, but extremely inefficient, it needs about as much time on GPU as on CPU while Separation is 50-60 times faster on GPU than on CPU. I don't think there are many, who would want to slow down their GPU output by that factor. It seems to be one of the thngs, that are not suitable for GPUs. It would be however great to get here the option "Run CPU versions of applications for which GPU versions are available" in the preferences, so anyone who wants, could limit CPU to n-Body only while running Separation on GPU.
ID: 74760 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mr P Hucker
Avatar

Send message
Joined: 5 Jul 11
Posts: 990
Credit: 376,143,149
RAC: 0
Message 74761 - Posted: 10 Dec 2022, 10:23:25 UTC - in response to Message 74760.  
Last modified: 10 Dec 2022, 10:24:16 UTC

It would be however great to get here the option "Run CPU versions of applications for which GPU versions are available" in the preferences, so anyone who wants, could limit CPU to n-Body only while running Separation on GPU.
+1. I've asked for this many times and am ignored. Einstein does it, it's possible.

In fact running seperation on a CPU is utterly pointless. They should remove it from CPUs altogether. People are wasting their computing time and electricity.
ID: 74761 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 606
Credit: 19,225,189
RAC: 3,603
Message 74762 - Posted: 10 Dec 2022, 11:52:18 UTC - in response to Message 74761.  

In fact running seperation on a CPU is utterly pointless. They should remove it from CPUs altogether. People are wasting their computing time and electricity.

Well, 32-bit computers can't run n-Body, but in general I agree, would be the best method to speed up n-Body research if needed.
ID: 74762 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mr P Hucker
Avatar

Send message
Joined: 5 Jul 11
Posts: 990
Credit: 376,143,149
RAC: 0
Message 74763 - Posted: 10 Dec 2022, 12:12:11 UTC - in response to Message 74762.  

In fact running seperation on a CPU is utterly pointless. They should remove it from CPUs altogether. People are wasting their computing time and electricity.

Well, 32-bit computers can't run n-Body, but in general I agree, would be the best method to speed up n-Body research if needed.
Anybody still running a 32 bit computer is hardly contributing much computing power. I've got some 12 year old machines that are 64 bit.
ID: 74763 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mikey
Avatar

Send message
Joined: 8 May 09
Posts: 3329
Credit: 523,996,714
RAC: 44,748
Message 74764 - Posted: 10 Dec 2022, 13:45:58 UTC - in response to Message 74761.  

It would be however great to get here the option "Run CPU versions of applications for which GPU versions are available" in the preferences, so anyone who wants, could limit CPU to n-Body only while running Separation on GPU.
+1. I've asked for this many times and am ignored. Einstein does it, it's possible.

In fact running seperation on a CPU is utterly pointless. They should remove it from CPUs altogether. People are wasting their computing time and electricity.


Some people just want to run something to help and trying to run the NBody tasks on a pc without a gpu that can crunch, I know drivers probably not loaded, means stalls etc as they don't do the research to know they need an app_config file to limit the number of cpu cores means those people can run the Separation tasks with no problems
ID: 74764 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mr P Hucker
Avatar

Send message
Joined: 5 Jul 11
Posts: 990
Credit: 376,143,149
RAC: 0
Message 74766 - Posted: 10 Dec 2022, 13:55:14 UTC - in response to Message 74764.  
Last modified: 10 Dec 2022, 13:56:01 UTC

Some people just want to run something to help and trying to run the NBody tasks on a pc without a gpu that can crunch, I know drivers probably not loaded, means stalls etc as they don't do the research to know they need an app_config file to limit the number of cpu cores means those people can run the Separation tasks with no problems
Even a fast CPU is pointless to run on seperation. Running some outdated crap that needs cores limiting is not helping the science of seperation one bit. I've got a 12 year old quad core CPU, and it runs nbody with no adjustments. Leave the GPU stuff to the GPUs and put CPUs on stuff which can't do GPU.
ID: 74766 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 606
Credit: 19,225,189
RAC: 3,603
Message 74767 - Posted: 10 Dec 2022, 17:00:07 UTC - in response to Message 74764.  

means stalls etc as they don't do the research to know they need an app_config file to limit the number of cpu cores means those people can run the Separation tasks with no problems

Does n-Body not respect the "Use at most x% of the CPUs" setting?
ID: 74767 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mr P Hucker
Avatar

Send message
Joined: 5 Jul 11
Posts: 990
Credit: 376,143,149
RAC: 0
Message 74768 - Posted: 10 Dec 2022, 17:05:05 UTC - in response to Message 74767.  

means stalls etc as they don't do the research to know they need an app_config file to limit the number of cpu cores means those people can run the Separation tasks with no problems

Does n-Body not respect the "Use at most x% of the CPUs" setting?
I think it's the boinc scheduler that sorts that. And it's a very simplistic piece of crap that's easily confused. If you have 24 cores and say "use 15 cores", it will still get the full sized 16 core nbodies, because it's stupid.
ID: 74768 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile HRFMguy

Send message
Joined: 12 Nov 21
Posts: 236
Credit: 575,038,236
RAC: 16
Message 74769 - Posted: 11 Dec 2022, 2:19:57 UTC - in response to Message 74757.  

Probably it's too much difficult to adapt nbody code for gpu.


My fault, my fault.
I found this old link to a research on nbody on GPU, so it seems feasible


The PDF version of this is $41. It seems to me that the the N body crunchers here, past and present, should be able to get a free copy, since we have skin in the game....
ID: 74769 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mr P Hucker
Avatar

Send message
Joined: 5 Jul 11
Posts: 990
Credit: 376,143,149
RAC: 0
Message 74771 - Posted: 11 Dec 2022, 6:28:04 UTC - in response to Message 74769.  

The PDF version of this is $41. It seems to me that the the N body crunchers here, past and present, should be able to get a free copy, since we have skin in the game....
Maybe that's how they get funding to run this place?
ID: 74771 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile HRFMguy

Send message
Joined: 12 Nov 21
Posts: 236
Credit: 575,038,236
RAC: 16
Message 74784 - Posted: 12 Dec 2022, 18:46:15 UTC - in response to Message 74771.  

Maybe that's how they get funding to run this place?
Could be! LOL If that's the case, I think a urologist might say" My goodness! That's a pretty weak stream!"
ID: 74784 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mr P Hucker
Avatar

Send message
Joined: 5 Jul 11
Posts: 990
Credit: 376,143,149
RAC: 0
Message 74785 - Posted: 13 Dec 2022, 0:42:11 UTC - in response to Message 74784.  

Maybe that's how they get funding to run this place?
Could be! LOL If that's the case, I think a urologist might say" My goodness! That's a pretty weak stream!"
Interesting choice of analogy!
ID: 74785 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Application Code Discussion : N-Body on GPU?

©2024 Astroinformatics Group