parallel

Run 100+ SSIS packages in parallel from a parent package

I have 100+ child packages and I need to run them in parallel from a parent package. For this I will have to create 100+ Execute Package tasks and then 100+ File Connections. This doesn't look appealing to me and it is repetative and error prone. Is there any other way to do this. Keep two things in mind. Child package Execution should...

How do I get Java to use my multi-core processor?

I'm using a GZIPInputStream in my program, and I know that the performance would be helped if I could get Java running my program in parallel. In general, is there a command-line option for the standard VM to run on many cores? It's running on just one as it is. Thanks! Edit I'm running plain ol' Java SE 6 update 17 on Windows XP. W...

How to increase concurrent parallel tasks with System.Threading.Parallel (.Net 4.0)

Hi, I'm experimenting with the new System.Threading.Parallel methods like parallel for and foreach. They seem to work nicely but I need a way to increase the number of concurrent threads that are executed which are 8 (I have a Quad core). I know there is a way I just can find the place thy hidden the damn property. Gilad. ...

Is it possible to push simple, parallel calculations to the GPU in .Net?

Hi all With .Net 4.0 coming up, and the new parallel extensions, I wondered if the CLR will be able to optimize and push some calculations to the GPU? Or if any library which can help with the task exists? I'm no GPU programming expert at all, so forgive me if this is a silly question. Maybe the CLR doesn't support interfacing to the G...

Mpi usage problem

I installed mpi into windows. I can use its libraries. The problem is that in windows when i write mpiexec -n 4 proj.exe into command prompt it does not make the proper operations. 4 different processes uses the whole code file seperately. They dont behave like parallel processes that are working only in the MPI_Init and MPI_Finalize row...

MPI buffered send/receive order

I'm using MPI (with fortran but the question is more specific to the MPI standard than any given language), and specifically using the buffered send/receive functions isend and irecv. Now if we imagine the following scenario: Process 0: isend(stuff1, ...) isend(stuff2, ...) Process 1: wait 10 seconds irecv(in1, ...) irecv(in2, ...) ...

parallel Bubble sort ....please HELP...

i write a c++ code for Bubble sort algorithm and i dont know how to make it parallel using openmp so please help me ..... this is the code : #include "stdafx.h" #include <iostream> #include <time.h> #include <omp.h> using namespace std; int a[40001]; void sortArray(int [], int); int q=0; int _tmain(int argc, _TCHAR* argv...

application exits prematurely with OpenMp with the error code : Fatal User Error 1002: Not all work-sharing constructs executed by all threads

Hi,I added openMp code to some serial code in a simulator applicaton, when I run a program that uses this application the program exits unexpectedly with the output "The thread 'Win32 Thread' (0x1828) has exited with code 1 (0x1)", this happens in the parallel region where I added the OpenMp code, here's a code sample: #pragma omp para...

HTTP parallel requests and AJAX/polling

Okay, so we all know that most modern browsers (without tweaking) are set to 4 parallel HTTP requests at a time to a single domain/subdomain, but how does long-polling AJAX affect this? Say I have a long-poll on a 15 second interval. While the browser is waiting for a response during those 15 seconds, does that still eat up one of the 4...

parallel openmp c#

please help me to make this code parallel using openmp this code is run on button click and the text box is 128 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace IMG { public partial class For...

parallel c# threading performance issues

This code is for transforming from colored to black and white. I tried to add parallel section to the code just transforming from gray-scale to black-white i tried to assign to each thread a number of cols which has amount of pixels but the performance didnt improve at all. I tried for a 800*600 image by changing the divisor value (...

Re: Parallel asynchronous Ajax requests using jQuery

Hello, you have answered a question about parallel async ajax request several month ago (see your answer at the end of this text). I have an another question regarding this: The browser (Mozilla or IE) allow only a limited number of parallel request. In my case, eg. the IE allow only 2 request, as a result, if the execution of the requ...

Parallel for_each using openmp

Why does this code not parallelize std::for_each() when it works perfectly fine with std::sort()? How do I fix it? g++ -fopenmp -D_GLIBCXX_PARALLEL=1 -o p p.cc && time ./p sort GCC 4.3 on Linux. #include <cstdio> #include <algorithm> #include <vector> #include <cstring> void delay() { for(int c = 0; c < 1000000; c++) { ...

.NET Chart Control Parallel Performance

I am using the .NET Chart Control library that comes with .NET 4.0 Beta 2 to create and save images to disk on a background thread. I am not showing the chart on the screen, however, simply creating a chart, saving it to disk, and destroying it. Something like this: public void GeneratePlot(IList<DataPoint> series, Stream outputStream...

A light weight Scala fork join syntax

Despite the upcoming java 7 standard fork/join framework, I am building some helper method that is light weight in syntax for client to run code in parallel. Here is a runnable main method to illustrate the idea. import actors.Futures object ForkTest2 { def main(args: Array[String]) { test1 test2 } def test1 { v...

java parallel (useful) packages

I'm trying to get the best possible performance from my quad core cpus, and i just discovered Parallel Colt (matrix-related operations). Do you know any other package that include useful "parallel" utils (es. spanning tree, sorting, so on...) ...

Parallel building with gnumake and prerequisites

My first question (yay!) is about gnumake and parallel builds. Here's a quick example file: .PHONY: tool_1 tool_2 tool_3 tool_4 all tools all: | tools tools: | tool_2 tool_3 tool_4 tool_1: # commands for tool 1 tool_2: | tool_1 # commands for tool 2 tool_3: | tool_1 # commands for tool 3 tool_4: | tool_1 # command...

Am I making a mistake in this matlab code?

Please check the code and let me know if I am making any mistakes. Also I need to apply slow and fast rayleigh fading in this model. The rcd signal is R = SAB + N where R,S,A,B are matrices The matlab code is given below : close all clear all; clc; warning off all K = 27; %No. of users Navg = 1e3; %No. of repititions snr = 5:1...

Detect the bounds of the stack of the current thread

Hello, I'm writing a semi-accurate garbage collector, and I'm wondering if there is a way to accurately detect the boundaries of the system-allocated stack for a given thread. I need this so I can scan the stack for roots (pointers), and my current approach is to save the stack pointer when entering a new thread and when entering main()...

Thread Building Block library or MPI ? which one is better for me?

I plan to learn parallel computing, Now I am thinking MPI or TBB. In fact, I do not have much experence at this. I suppose I had better start with something easy to manage. At first, I may try something like coarse-grained code. Which one could be easier for me? Thanks. ...