Hi folks,
I want to know how to run two unix programs on two different cpu cores on a 2-core or 4-core or 8-core CPU machine? Extending this how would i run four and eight unix programs on 4-core and 8-core machine respectively?
If this can be done, how to know which program is assigned to which core?
I have two servers at hand, both with 16 cores. The first is running Debian, the second running Ubuntu.
I have written a small multithreaded java app that creates 16 threads.
I have seen that a lot of people are having this same issue. I am running a Lenovo V570 i5 4 core, 6 gigs of ram, and am running 11.10 Onieric Ocelot.
On my system monitor graph it shows CPU at 20%, when I open the monitor it shows core #1 at around 90%, the other cores fluctuate at or below 5-12% if even.
I don't know what or who is using this amount of CPU, the machine is a bi-quadcore with 16 GB ram. Running Ubuntu 10.04
Every core seems to be using 10-20 % except for one core that seems to be using 100% constantly.
What is actually the difference between deactivating 2 of the cores as in this screenshot and having a dual core machine
I guess is not the same as having a dual core machine, right?
Do you know where i can find some information related?
I am trying to run my program in more than one core. I have 12 cores in my desktop and want the computer to use 1,2,3,4,......,11,12 one by one and want to test how the program performs in different number of cores. I tried using -t4 or -t 4 after the executable like.
./a.out -t4
but I cannot make sure whether its using exactly 4 or not.
When it comes to multicore processors, if the frequency is rated as 3GHz, does that mean it is 3 GHz per core or 3 GHz divided by the number of cores.
Like in the title, for a 3 GHz dual core, would it be 3 GHz per core or 3 GHz / 2 cores = 1.5 GHz per core?
Thanks for your help.
I have access to a CentOS 6 web server running Apache 2 and MySQL 5 (I can find exact versions if that really makes a difference). This box has dual six core Xeons.
What I find looking over the CPU graphs is that the first two or three cores (0-2) hit 90% usage whilst the other nine are only reaching 30-40% usage.
If you have like... 10 cores... and you use Apache and your load average is always under 5.0...
Would it slow your site any if you lowered to 6 cores?
(assuming you never reached any spikes that hit 6.0 in load)
Specs:
Xen, 10 Cores at 2.0GHz, CentOS 5 64bit, using "uptime" to find load averages.