2
votes
2answers
103 views

Linux: Finding the system processes which are at the top

I am running a multithreaded program on my 8-core processor. top command shows 8 processes are running and each one utilizes a core by 100%. The problem is that only 21% are marked as user cpu and my ...
1
vote
2answers
1k views

Linux Scheduler (not using all cores on multi-core machine) RHEL6

I'm seeing strange behavior on one of my servers (running RHEL 6). There seems to be something wrong with the scheduler. Here's the test program I'm using: #include <stdio.h> #include ...
-1
votes
3answers
499 views

613 threads limit on debian [closed]

When running this program thread-limit.c on my dedicated debian server, the output says that my system can't create more than around 600 threads. I need to create more threads, and fix my system ...
4
votes
4answers
1k views

Running multiple scp threads simultaneously

Running multiple scp threads simultaneously: Background: I'm often finding myself mirroring a set of server files a lot, and included in these server files are thousands of little 1kb-3kb files. All ...
4
votes
2answers
855 views

Renice: How to change all threads?

When I renice a multithreaded process in Ubuntu 10.04, then view the results in top, it seems that only the main thread actually gets reniced. All the other threads retain their old nice value. ...
1
vote
3answers
1k views

Do Nginx performe better on Linux compared to Apache?

Apache vs Nginx are compared performance wise since Apache is based on threads (for each new connection a new thread) and nginx is based on process (for each new connection to the server a new ...
4
votes
3answers
2k views

taskset core numbers question

I have quad core CPU with hyper threading enabled. So I have 8 logical cores. I want to limit my application to use only 4 cores and I want this 4 cores to be different physical cores. Which taskset ...
5
votes
2answers
932 views

Why /proc/cpuinfo shows different flags for cores on the same cpu?

cat /proc/cpuinfo on my system gives me different flags for my 2 cores. Can someone explains to me why? I'm running Ubuntu 10.10 kernel 2.6.35-24-generic. processor : 0 vendor_id : ...
0
votes
1answer
251 views

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, ...
6
votes
2answers
5k views

Is it possible to limit a Linux process so that it can only run on a particular core on a particular machine?

Let's say I have a quad-core box and four identical processes, each with ten threads. Is it possible, in Linux, to say that Process A is only allowed to run on CPU 0, Process B is only allowed to run ...
0
votes
2answers
2k views

CPU Utilization of a multithreaded process

Background: I have a whole mess of systems running the 2.6.20 and 2.6.22 kernel in what started as a Fedora Core 2 install several years ago. These systems have 8 cpus, as reported by cat ...