Questions tagged [multi-threading]

79 questions
0
votes
0 answers

App not using all cores on VM after migrating host

We have a DL380 G7 with 2x Xeon E5645 processors running at 2.4Ghz, on which we had ESXi 4.1 installed with a few VMs. One of our VMs had Windows Server 2008 R2, with 4x vCPU and 12GB RAM. This was used for our accounts staff to run their reporting…
0
votes
2 answers

how to check if a process with heavy io usage is running properly

I am now managing a computer cluster for scientific computing. Some processes in the cluster need heavy io usage. Now I find such a process: Its state changes rapidly between DOWN and RUN and its cpu usage changes rapidly between 1% and 100%. In…
atbug
  • 103
  • 2
0
votes
1 answer

Install amphp / thread on a Debian Wheezy 64 bits

I'm trying to install a multi-thread PHP system on one of my server. After a few readings, the simplest solution seems to use Pthreads with an amphp\thread implementation. http://www.mullie.eu/parallel-processing-multi-tasking-php/ So, If I'm right…
0
votes
1 answer

Single-threaded application being balanced across CPU cores?

Is there an easy way to check whether a certain single-threaded application is being balanced across CPU cores by Windows? I have already tried Process Explorer but I could not find a way to read it out, if possible in the first place. The reason I…
Xen
  • 458
  • 1
  • 4
  • 16
0
votes
3 answers

Max # of threads per CPU

I'm currently using Visual Studio Test Suite load tester to simulate a load against on of our web apps on a different server. (No, I'm not testing against production). I believe it is creating a thread per simulated user. While I was doing this, I…
user8122
  • 121
  • 1
  • 5
0
votes
2 answers

Copy large amount of small files using robocopy from USB disk to SATA disk

Would specifying the /MT option in robocopy give me better or worse performance, when copying a large amount of smaller files (~10-150kB) from an USB attached drive to an internal SATA drive? Should I go all crazy and specify /MT:128? Both drives…
Tobias Hertkorn
  • 359
  • 5
  • 12
0
votes
1 answer

Issue with maxWorkerThreads and thread count

I have created an ASP.net application which creates thread in infinite loop. And set maxWorkerThreads to 20 in processmodel in machine.config. When i checked Thread count in perfmon there was around 7000 threads created in worker process. Or how can…
Kartik M
  • 41
  • 3
0
votes
2 answers

Apache2 MPM-prefork MPM-worker multiple instances on same Ubuntu host machine possible?

I have a live Apache2/MPM-Worker instance running Django. I want to also run an Apache2/MPM-prefork instance to run some Drupal6 applications on the same host machine and utilize a vast selection of PHP modules that run on the prefork model. I plan…
user60985
  • 1
  • 1
0
votes
2 answers

identical load balanced VM's on same host

Howdy cowboys and cowgirls, If I have a VM (either KVM or ESXi) serving static content on Apache and a video streaming webapp on Tomcat, is there a logic in running multiple instances on the same VM on the same piece of kit and load balancing them?…
0
votes
1 answer

Does Sql Server Database Mail use threads while sending mail?

We are using Sql Server 2008 Database Mails to send emails to our website visitors. I don't know whether Sql Server sends mail one by one by picking up from the queue or it will use threads to send emails in simultaneous fashion. If database mail…
kiran
0
votes
3 answers

Emulate a SMP server with a Linux Cluster?

Is it possible to combine a few machines into a cluster and have it appears as a single server? For example, with such a cluster we can run a 32-thread CPU-bound process on 8 quad-core machines. Are there any existing software that would allow this?…
netvope
  • 2,123
  • 5
  • 25
  • 35
0
votes
1 answer

Limit a process's relative (not absolute) processor consumption in Linux

What is the standard way in Linux to enforce a system policy to limit the relative CPU use of a single process? That is, on a quad-core machine, I never want a process to use more than 2 CPUs at once, even if the process creates more threads. I do…
BobBanana
0
votes
1 answer

Is an IIS-Spawned Process CPU-Limited?

Seems more appropriate here than at StackOverflow; we'll see if it gets closed. Let's say I have an IIS App Pool set to cap at 25%. But the pool runs a webservice which spawns a process. Is that subsequent process subject to a subset of that 25% or…
0
votes
0 answers

What is the correct number of Puma workers when there are two Rails application multithreaded, inside server with 4 CPU cores?

I have a server with four CPU cores and two rails applications served with the Puma in multithreaded mode. Both applications use the same number of resources and are expected to have an equal load. How should I set the number of workers in Puma…
0
votes
1 answer

Getting an iperf "connect failed: connection refused" error on ubuntu when running multiple threads

I have 3 computers hooked up to a local network. I have written a python script to open a dedicated iperf server and an iperf client on separate threads. I want every computer to connect to the other 2 computers and at the same time, accept…