multicore

How to make Ruby or Python web sites to use multiple cores?

Even though Python and Ruby have one kernel thread per interpreter thread, they have a global interpreter lock (GIL) that is used to protect potentially shared data structures, so this inhibits multi-processor execution. Even though the portions in those languajes that are written in C or C++ can be free-threaded, that's not possible wit...

What parallel programming model do you recommend today to take advantage of the manycore processors of tomorrow?

If you were writing a new application from scratch today, and wanted it to scale to all the cores you could throw at it tomorrow, what parallel programming model/system/language/library would you choose? Why? I am particularly interested in answers along these axes: Programmer productivity / ease of use (can mortals successfully use ...

What programming paradigm will be most successful in future multi-core computers?

Many of us have two or more CPU cores on our desktop today. Most applications work quite similarly to what they did when we had only one core. But what when a typical desktop machine has 1000+ cores? What programming paradigms will we use then. Our current threading and synchronization solutions seldom scale well to that many cores. ...

How can I write a lock free structure?

In my multithreaded application and I see heavy lock contention in it, preventing good scalability across multiple cores. I have decided to use lock free programming to solve this. How can I write a lock free structure? ...

Multi-Core and Concurrency - Languages, Libraries and Development Techniques

The CPU architecture landscape has changed, multiple cores is a trend that will change how we have to develop software. I've done multi-threaded development in C, C++ and Java, I've done multi-process development using various IPC mechanisms. Traditional approaches to using threads doesn't seem to make it easy, for the developer, to ut...

How to make my code run on multiple cores?

I have built an application in C# that I would like to be optimized for multiple cores. I have some threads, should I do more? Updated for more detail C# 2.0 Run on Windows Vista and Windows Server 2003 Updated again This code is running as a service I do not want to have the complete code... my goal here is to get your experience...

MPI for multicore ?

With the recent buzz on multicore programming is anyone exploring the possibilities of using MPI ? ...

Programmatically find the number of cores on a machine

This is more of a curiosity question than something that needs actual solving, but is there a way to determine how many cores a machine has from C++ in a platform-independent way? If no such thing exists, what about determining it per-platform (Windows/*nix/Mac)? ...

Which CPU architectures support Compare And Swap (CAS)?

Hi, just curious to know which CPU architectures support compare and swap atomic primitives? ...

High-level Compare And Swap (CAS) functions?

I'd like to document what high-level (i.e. C++ not inline assembler ) functions or macros are available for Compare And Swap (CAS) atomic primitives... E.g., WIN32 on x86 has a family of functions _InterlockedCompareExchange in the <_intrin.h> header. ...

Dataflow Programming API for Java?

I am looking for a Dataflow / Concurrent Programming API for Java. I know there's DataRush, but it's not free. What I'm interested in specifically is multicore data processing, and not distributed, which rules out MapReduce or Hadoop. Any thoughts? Thanks, Rollo ...

On Win32 how do you move a thread to another cpu core?

I'd like to make sure that a thread is moved to a specific cpu core & can never be moved from it by the scheduler. There's a SetThreadAffinityMask() call but there's no GetThreadAffinityMask(). The reason I need this is because high resoultion timers will get messed up if the scheduler moves that thread to another cpu. ...

Functional programming and multicore architecture

I've read somewhere that functional programming is suitable to take advantage of multi-core trend in computing. I didn't really get the idea. Is it related to the lambda calculus and von neumann architecture? ...

Why is MPI considered harder than shared memory and Erlang considered easier, when they are both message-passing?

There's a lot of interest these days in Erlang as a language for writing parallel programs on multicore. I've heard people argue that Erlang's message-passing model is easier to program than the dominant shared-memory models such as threads. Conversely, in the high-performance computing community the dominant parallel programming model...

How to assign a process to a core in windows xp

Is there a way to assign a process to a core (or more than one core) on a multi-core system running Windows XP? An answer using a GUI is acceptable. ...

Explicit multi-core C# applications

Is there any easy way to explicitly make an already threaded application utilise a multicore environment? (if avaliable). The first problem would be how do I determine if my runtime environment supports multi-core applications? If I then determine that I can use multi core functionality, can I explicitly assign threads to run on differ...

Does python support multiprocessor/multicore programming?

What is the difference between multiprocessor programming and multicore programming? preferably show examples in python how to write a small program for multiprogramming & multicore programming ...

What are the developments going on in all languages in parallel programming area

As we are nearing the 8-Core and 16-Core CPUs, what are the various advances going on in parallel programming area in all the languages? I am aware of a parallel task library in .Net, and also of a language Erlang which I think is inherently parallel. But what is the state of various other mainstream languages. ...

Strategies for multicore builds (/MP) that use #import

I'm working on a new solution configuration for our large VC++ project using VS 2008. I'd like this configuration to use the multicore build flag /MP. However, the "#import" feature of generating COM wrapper classes is sprinkled through-out the code base and this feature is not supported when using /MP. I understand why #import won't ...

What application domains are CPU bound and will tend to benefit from multi-core technologies?

I hear a lot of people talking about the revolution that is coming in programming due to multi-core processors and parallelism, but I can't shake the feeling that for most of us, CPU cycles aren't the bottleneck. Pretty much all of my programs have been I/O bound in one way or another (database, filesystem, network, user interaction, et...