Questions tagged [multi-core]

133 questions
23
votes
4 answers

Execute curl requests in parallel in bash

What is the best way to execute 5 curl requests in parallel from a bash script? I can't run them in serial for performance reasons.
Justin
  • 5,008
  • 19
  • 58
  • 82
16
votes
3 answers

Two Dual Core vs. One Quad Core

For an Intel based system keeping the number of cores constant how much difference would there be between two dual core processors and one quad core processor? We run Oracle OLTP databases on two dual core processors. With fewer dual core…
Leigh Riffel
  • 605
  • 2
  • 10
  • 23
15
votes
5 answers

Why does my Windows 7 VM running under Linux' KVM not use all the virtual processors?

All I've had a problem on my server since I migrated one of my VM's from Windows 2008 Server to Windows 7 (ultimate): though I've assigned four cores to the VM and it even seems to see them, it seems to think it has two cores! Can anyone tell me…
jkp
  • 429
  • 3
  • 7
  • 14
14
votes
1 answer

How does CPU affinity interact with cgroups in Linux?

I'm trying to run multi-threaded benchmarks on a set of isolated CPUs. To cut a long story short, I initially tried with isolcpus and taskset, but hit problems. Now I'm playing with cgroups/csets. I think the "simple" cset shield use-case should…
Edd Barrett
  • 943
  • 3
  • 9
  • 19
13
votes
2 answers

Disable CPU cores in bios?

Is it possible to disable CPU (Intel) cores in BIOS, and if yes what HP/DELL (others?) 1U/2U servers would allow this? It is becoming difficult to find new server hardware with dual core CPUs, most of new servers are Quad Core ones, and so the cost…
monomyth
  • 971
  • 1
  • 5
  • 9
10
votes
7 answers

How does one check huge files identity if hashing is CPU bound?

For small files hashing is just ok, but with huge ones you can easily find md5sum is CPU bound. Is there any hashing algorithm able to scale out on multiple cores? Any workarounds? Ideas? Anything? :)
poige
  • 9,171
  • 2
  • 24
  • 50
10
votes
3 answers

top in batch mode, need CPU% for every core

I know that after running top, I can press 1 and get a list of the CPUs with their utilization percentages. I suspect I can do this in batch mode too with the -b option, but I don't know how, and I cannot find it in the manual. I need to read it…
Nathan
  • 258
  • 2
  • 4
  • 10
9
votes
1 answer

difference between taskset and cpuset

I'm trying to reduce the latency of my linux network application. I've learned that there are two tools for "binding" a program to particular CPU core: taskset and cpuset. Which one should I prefer? Are they equivalent on a lower level? (the…
9
votes
4 answers

Virtualized CPU cores vs. threads

We've got a KVM host system on Ubuntu 9.10 with a newer Quad-core Xeon CPU with hyperthreading. As detailed on Intel's product page, the processor has 4 cores but 8 threads. /proc/cpuinfo and htop both list 8 processors, though each one states 4…
nedm
  • 5,610
  • 5
  • 30
  • 52
8
votes
7 answers

Sun Solaris - Find out number of processors and cores

Our SPARC server is running Sun Solaris 10; I would like to find out the actual number of processors and the number of cores for each processor. The output of psrinfo and prtdiag is ambiguous: $psrinfo -v Status of virtual processor 0 as of:…
Adrian
  • 229
  • 2
  • 4
  • 12
8
votes
1 answer

MySQL and Multi-Core processors

I'm running MySQL on win2008 server on a multi-core xeon processor. It looks like it only uses a single core. Is there something I need to configure to make it use all cores ? The server is supporting a loaded website with many calls. I'm sure there…
Dani
  • 511
  • 2
  • 10
  • 21
7
votes
2 answers

Java: Limit the number of cores a JVM can use

Multiple users are running java applications on a 60-core compute server (Linux/Ubuntu-based). There are different applications and most of them are not developed in-house. While the sysadmin thinks it is okay for a given user's Java process to use…
oggotron
  • 155
  • 2
  • 2
  • 3
7
votes
5 answers

How can I move a process to a core or dedicate a process to a processor?

I have an Intel E5620 processor. I have used cat /proc/[pid]/stat to determine what processor the process was last run on (39th field). How can I ensure that a process is dedicated to a processor (I have 8 available) or better yet, how can I…
Engineer2021
  • 591
  • 7
  • 25
7
votes
3 answers

More RAM or More Cores for a MySQL Database Server?

Here's the scenario, which I'd love your expert advice on: I've got about 2GB of database currently, maybe double that in a year. I want the optimum server performance for the dedicated DB server I'm going to order, which will be used as the backend…
The How-To Geek
  • 245
  • 1
  • 3
  • 9
6
votes
3 answers

VMware / SQL - physical vs logical cores - how many vCPUs to assign when HT is enabled

We have a ESX host: It has 2 CPU x 8 cores each, and HT enabled. So, total 16 physical cores or 32 logical cores. It has a single dedicated SQL VM on it (no other VMs run on this host), and it has 16 vCPUs assigned: and the SQL NUMA config looks…
d-_-b
  • 191
  • 2
  • 7
1
2 3
8 9