Jump to content

KSP on a Linux cluster ?


Recommended Posts

I was looking at a currently idle rackload of quad Xeon servers the other day and wondering if anyone has tried running KSP on a high performance cluster? The physics calculations should fly, but I suspect the bottleneck of the graphics interface would be such a limitation that it may not be worthwhile.

Link to comment
Share on other sites

KSP on a high performance cluster? The physics calculations should fly

Who said that? You can't just throw an app into clustered environment and say "now I have a clustered app which is running on 100 CPU cores", that's simply stupid and, when executed in production environment, usually leads to foobars. Application should support multithreaded calculations even to benefit from multiple cores on a single chassis. To even start to work within a cluster, it has to support some sort of MapReduce algorythm. In its current state, KSP won't benefit even from multiple cores of a single chassis. It surely won't benefit from being launched in the cluster. Please don't touch expensive equipment which you have somehow got access to.

Edited by J.Random
Link to comment
Share on other sites

I agree with what's been said already, in general. Cluster computing is not something you just slide into place under any old software and get any benefit. Applications have to be specifically designed and implemented with a specific style of clustering in mind. Some applications are even more or less impossible to spread over a HPC cluster in a useful manner, if their data set and calculations can not be suitably sliced into convenient subsets. Nearly any application can run on an HA cluster in active/standby mode, and only some a suitable for a HA cluster in active/active mode, but HA clustering is for 24x365 uptime, not for performance. You were looking at a HPC cluster, from the description you gave.

KSP is not designed to, and can't use any more than the hardware of a single system. You do get some benefit from having more than a single core, however, despite KSP not yet being multi-threaded, in that the other core(s) can process background system stuff, any other applications that are still running, etc  ensuring that KSP gets as close to max CPU time as possible.

Link to comment
Share on other sites

You do get some benefit from having more than a single core, however, despite KSP not yet being multi-threaded, in that the other core(s) can process background system stuff, any other applications that are still running, etc  ensuring that KSP gets as close to max CPU time as possible.
While it's generally agreed that binding KSP to one core and everything else to another one will give you some benefit, I'm not sure said benefit will be better than, say, using HT-enabled single core CPU (which may be clocked way higher than multicore system).
I agree, was more wishful thinking, you may get somewhere with a hypervisor.

I'm not sure what you're going to do with hypervisor, or even what you're calling "hypervisor" in this context - if you're talking about HW virtualization then no, you won't benefit from using it. It can split CPU resources, not combine multiple cores into single "supercore", afaik.

Link to comment
Share on other sites

VMware will present the CPUs as a single core processor.

Erm, no. 1 single-core vCPU will map into one physical core. Unless I don't know something, which is quite possible, but even then I'm not sure how this technology is supposed to work. Common sense tells me that if guest OS is seeing a single CPU then it will use single instruction queue, and I can't see how you could forcibly split it and feed it into multiple physical cores simultaneously.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...