multicore

MATLAB and using multiple cores to run calculations

Hey all. Im trying to sort out how to get MATLAB running as best as possible. I have a pretty decent new machine. 12GB RAM Core i7 3.2Ghz Cpu and lots of free space. and a strong graphics card. However when I run the benchmark test of MATLAB (command bench) it lists the computer as being near the worst, around a Windows XP single cor...

Question regarding Unix/Linux kernel programming

Hello guys, I would like to learn about linux/Unix kernel programming for scalable multi processors (smps). I found this book UNIX(R) Systems for Modern Architectures http://www.amazon.com/UNIX-Systems-Modern-Architectures-Multiprocessing/dp/0201633388/ref=pd_rhf_p_t_3 . Is there any other good resources or a better book since its relea...

Choosing granularity with QtConcurrent

I'm looking to use QtConcurrent with a program having two or three levels of possible parallelism. At the highest level, a function L1() is called several times. The function L1() calls a function L2() several times, and the function L2() calls a function L3() several times. The bulk of the total running time is spent in L3(). The e...

Does Java have support for multicore processors/parallel processing?

I know that now that most processors have two or more cores, multicore programming is all the rage. Is there functionality to utilize this in Java? I know that Java has a Thread class, but I also know this was around a long time before multicores became popular. If I can make use of multiple cores in Java, what class/technique would I us...

How to measure separate CPU core usage for a process?

Is there any way to measure a specific process CPU usage by cores? I know top is good for measuring the whole system's CPU usage by cores and taskset can provide information about which CPU core is allowed for the process to run on. But how to measure a specific process' CPU usage by CPU cores? ...

rdtsc accuracy across CPU cores

I am sending network packets from one thread and receiving replies on a 2nd thread that runs on a different CPU core. My process measures the time between send & receive of each packet (similar to ping). I am using rdtsc for getting high-resolution, low-overhead timing, which is needed by my implementation. All measurments looks relia...

Assigning Process to Cores using Perl

Hi Folks, How can I assign processes to specific cores ?. I have a 16 core machine and need to assign processes to multiple cores rather then all/few of them running on same cores. Can Parallel::ForkManager do this ?. or How do you do it with using standard perl distribution ? Any pointers are appreciated. Thanks ...

Can parallel operations speed the availability of a file from a hard disk in R?

I have a huge datafile (~4GB) that I am passing through R (to do some string clean up) on its way into an MySQL database. Each row/line is independent from the other. Is there any speed advantage to be had by using parallel operations to finish this process? That is, could one thread start with by skipping no lines and scan every seco...

NullPointerException in solr multicore

Hi! I'm configuring my solr for two cores and have got most of it working, but I'm getting this cryptic error. First off, here's my solr.xml: <?xml version='1.0' encoding='UTF-8'?> <solr persistent="true"> <cores adminPath="/admin/cores"> <core name="cars" dataDir="/var/lib/solr/data/cars" config="/etc/solr/home_cars/conf/solrconfi...

Retrieving the number of physical core processors

I know I can use System.Environment.ProcessorCount to return the number of "processors" in a machine. What I am trying to do is find out if there is a way to determine the number of cores in the processor, not including hyperthreading as a "core". For example, on a dual core hyperthreading processor, System.Environment.ProcessorCount wil...

Scalability of the .NET 4 garbage collector

I recently benchmarked the .NET 4 garbage collector, allocating intensively from several threads. When the allocated values were recorded in an array, I observed no scalability just as I had expected (because the system contends for synchronized access to a shared old generation). However, when the allocated values were immediately disca...

Using Multicore in R for a pentium 4 HT machine

I am using a Pentium 4 HT machine at office for running R, some of the code requires plyr package, which I usually need to wait for 6-7 minutes for the script to finish running, while I saw my processor is only half utilized. I have heard of using Multicore package in R for better utilizing the multicore processor, is my case suitable f...

different behavior when using different number of multicoring workers

I am playing around a bit with my program (trying to multicore a few parts) and I've noticed the "CPU history" looks a bit different, depend on how many workers I start. 2-4 workers seems to produce a "stable" workflow, however pegging 5-8 workers produces erratic behavior (from zero to max, see pictures). I should point out that all run...

Multi core CPU single thread behaviour, not achieving 100%

As you can see from the attached image the CPU graph on my dual core machine is weirdly symmetrical! Is this some sort of load balancing to prevent one core being used more than the other? What are the reasons behind it (heat distribution maybe)? Of course my main concern: is my single thread PSNR image algorithm achieving 100%? CPU...

C#, multicore solr, Lucene, shards, case insensitive "contains" searching, and one giant migraine.

I am having one heck of a time with my implementation. We have a solr server running. We have 3 cores, and for simplicty let's call them "Members", "Businesses", and "Products" I was attempting to use solrnet, but it does not support sharding. So, I am dreading that I will have to build the url myself. So, I used the admin tool to bu...

Do Adobe Air apps support multicore processing?

Do Adobe apps support multiple cores or do they still use single core? So will it make a difference in speed (in performance of the application) if I'm using a Pentium 4 processor (3 ghz) v/s a Dual Core Processor (2.7 ghz) Edit: As mentioned by AndrejaKo in his comment below, I have already asked this question on SuperUser but I was...

The state of programming and compiling for multicore systems

I'm doing some research on multicore processors; specifically I'm looking at writing code for multicore processors and also compiling code for multicore processors. I'm curious about the major problems in this field that would currently prevent a widespread adoption of programming techniques and practices to fully leverage the power of...

How can I get system load/cpu usage from Java?

Normally I call in bash "mpstat 1". Is there an equivalent Java library to aviod calling bash and parsing mpstat output? ...

Where and how is the MESI cache coherence protocol implemented?

I know the MESI protocol is used to implement cache coherence in multiprocessor systems. But I don't know how its implemented. Any help on this is very much appreciated. ...

Multithreading not faster than single thread (simple loop test)

I'm experimenting with some multithreading constructions, but somehow it seems that multithreading is not faster than a single thread. I narrowed it down to a very simple test with a nested loop (1000x1000) in which the system only counts. Below I posted the code for both single threading and multithreading and how they are executed. The...