multiprocessor

Is Erlang designed only for running on a single multicore machine, or can you distribute the processes?

My app runs well on my quad-core machine. It is 'embarrasingly parallel', with about 100K processes, and thus nicely suited to run on a cluster of machines. However, I have trouble finding documentation on how to spread all those processes out on all available nodes in the cluster. The documentation for distributed Erlang seems to focus...

interlocked operation on unanligned data

Hi; The win32 interlocked functions provide a mecanism for atomic operation on data. They are supposed to be thread-safe and multiprocessor-safe. What happen if the data is not aligned? the interlocked operations are still atomic? Ex.: incrementing a integer that is not aligned. Ty ...

Parallel coding Vs Multithreading (on single cpu)

can we use interchangeably "Parallel coding" and "Multithreading coding " on single cpu? i am not much experience in both, but i want to shift my coding style to any one of the above. As i found now a days many single thred application are obsolete, which would be better for future software industy as a career prospect? ...

How do threaded systems cope with shared data being being cached by different cpus?

I'm coming largely from a c++ background, but I think this question applies to threading in any language. Here's the scenario: We have two threads (ThreadA and ThreadB), and a value x in shared memory Assume that access to x is appropriately controlled by a mutex (or other suitable synchronization control) If the threads happen to run ...

Application crashing during string related operations in multi threaded and multiprocessor environment

The application is developed in VC++ 6.0. When this is run in a multithreaded and multiprocessor environment along with its dependent services one of the dependent services crashes when attempting some string operations like string format or string copy. However this is not observed in a single processor environment and most often the ca...

Do You Recommend "The Art of Multiprocessor Programming?"

What is your opinion on The Art of Multiprocessor Programming, by Maurice Herlihy? Do you recommend it? Please do not downvote other's opinions; if you have a different opinion, just add it as a new answer. ...

Best Practise for Stopwatch in multi processors machine?

I found a good question for measuring function performance, and the answers recommend to use Stopwatch as follows Stopwatch sw = new Stopwatch(); sw.Start(); //DoWork sw.Stop(); //take sw.Elapsed But is this valid if you are running under multi processors machine? the thread can be switched to another processor, can it? Also the same ...

How to make WebLogic use all the processors on a multi processor machine

Hi, We noticed a peculiar behavior with Java/Web Logic on one of our multi-processor servers, yesterday, so wanted to get your thoughts on it. For some reason, Web Logic/Java use only one processor of the available two processors. When we ran some heavy load, I could see the CPU on one reaching almost 100% and the other processor is co...

java process is frozen(?) on linux

Hi, all. This is my first question on S.O. I have a very odd problem. Below is my problem... I write very simple method that write some text to a file. Of course it works well my machine(XP, 4CPU, jdk1.5.0_17[SUN]) But it somtimes freezes on operating server (Linux Accounting240 2.4.20-8smp, 4CPU, jdk1.5.0_22[SUN]). kill -3 doesn'...

Does anyone have experience with clusters running on ClusterVisionOS?

I'm currently working on a cluster using the ClusterVisionOS 3.1. This will be my first time working with a cluster, so i probably haven't tried the "obvious". I can submit a single job to the cluster with the "qsub" command(this i got working properly) But the problem starts when submitting multiple jobs at once. I could write a script...

"Work stealing" vs. "Work shrugging"?

Why is it that I can find lots of information on "work stealing" and nothing on "work shrugging" as a dynamic load-balancing strategy? By "work-shrugging" I mean pushing surplus work away from busy processors onto less loaded neighbours, rather than have idle processors pulling work from busy neighbours ("work-stealing"). I think the ...

In a multithreaded app, would a multi-core or multiprocessor arrangement be better?

I've read a lot on this topic already both here (e.g., stackoverflow.com/questions/1713554/threads-processes-vs-multithreading-multi-core-multiprocessor-how-they-are or http://stackoverflow.com/questions/680684/multi-cpu-multi-core-and-hyper-thread) and elsewhere (e.g., ixbtlabs.com/articles2/cpu/rmmt-l2-cache.html or software.intel.com/...

Force C# application to use a single core in a PC with a multicore processor

Hi guys this question might seem weird, but I'm using the Haptek People Putty player for my C# application and I've seen people say in the forums that it doesn't work well with a multicore processor. My application runs well on my Core 2 Duo laptop but it lags a lot when I try running it on a Quad Core desktop. I was thinking of investig...

Streaming multiprocessors, Blocks and Threads (CUDA)

What is the relationship between a CUDA core, a streaming multiprocessor and the CUDA model of blocks and threads? What gets mapped to what and what is parallelized and how? and what is more efficient, maximize the number of blocks or the number of threads? Thanks, ExtremeCoder My current understanding is that there are 8 cuda core...