Skip to main content

All Questions

Tagged with
1 vote
1 answer
301 views

Bash: execute in parallel some processes but wait the slowest

Hello I'm writing a bash script where I have to restore around 8+ big sets of ip with ipset-restore command. Actually my shell script basically has a list like ipset-restore < list1.txt ipset-...
user3450548's user avatar
0 votes
1 answer
262 views

Multicore multiprocess performance issue on Linux ARM environment

I am developing a Linux application on 4-core ARM CPU. There are two processes in the application and I allocated each process to the cpu like below. core1 : process1 (GUI) core2-4 : precess2 (...
Yusuke Kadowaki's user avatar
2 votes
0 answers
315 views

Force process and kernel module to one core exclusively [duplicate]

I'm just in the phase of evaluating new possibilities, so this question may be a bit strange. I have a Quad-Core CPU which has to do some realtime tasks (it has access to some GPIOs, so this is ...
Elmi's user avatar
  • 199
-1 votes
1 answer
2k views

How multithreading works on multicore cpu in linux..? [closed]

In one interview I got one question, If I have dual core cpu,can I run one thread on both CPU at a time? If possible how it is works.?
pranav's user avatar
  • 1
1 vote
1 answer
1k views

Parallel: Limited number of multi-threaded processes

I'm using GNU parallel to run multiple jobs in parallel like this: parallel python3 main.py arg ::: args*. With single-threaded jobs, I used -j 100% to ensure that 1 job is mapped to 1 core. Now, ...
stefanbschneider's user avatar
0 votes
1 answer
654 views

How do you control thread affinity across multiple processes on Linux?

Question How do I run two benchmarks such that: They are both executing concurrently Both benchmarks have half their threads on each socket. No two threads share the same core. Background I have two ...
user avatar
1 vote
2 answers
15k views

Does 'make' take advantage of multiple cores/threads? (linux)

We are considering a new workstation (will be running Fedora 25/26), and would like to know what a good CPU would be. To start off, I need to know how many cores I need. To help decide that, I want to ...
logan-edwards's user avatar
3 votes
1 answer
5k views

How can I change the distribution of Cores across NUMA-nodes?

On Ubuntu 14.04 TLS for 36 total cores = (2 x CPUs x 9 Cores x 2 HyperThreading), lscpu give me: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little ...
Alex's user avatar
  • 131
0 votes
0 answers
1k views

How to disable some cores on Intel machine

I have a machine with two Intel(R) Xeon(R) CPU E5-2618L v3 processor, which has 8 cores on each socket. I only want the OS or hypervisor (such as Xen) on the machine to detect only one socket and ...
Mike's user avatar
  • 121
0 votes
1 answer
72 views

Is a single core process reassigned to some other core automatically when the core utilization is high in linux?

Generally, by default, if a single core process starts to have high core utilization, will it be reassigned to some other core which can handle and unless it is exclusively defined not to with in the ...
GP92's user avatar
  • 309
2 votes
2 answers
2k views

Spread VirtualBox VMs over cores

I am using many VirtualBox VMs with different OS on one Ubuntu Linux host for development. Sometimes my scripts get wrong and starts loading 100% of VM cpu. And when one VM loads 100% cpu I cant even ...
POMATu's user avatar
  • 203
0 votes
1 answer
1k views

How can I output y-cruncher Pi calculations to a .txt file?

I have y-cruncher running on my desktop. Unfortunately, I cannot figure out how to write the calculated pi to a specific number of digits onto a .txt file. The program write an output text file with ...
Hellreaver's user avatar
-1 votes
1 answer
384 views

Does the guest OS need updates/changes after changing the number of cores in VMware Player?

I installed ubuntu on a vm in VMware Player and forgot to change the number of cores from 1 to 8. If I change that now will the linux kernel need to be recompiled or anything like that or will it just ...
dev_willis's user avatar
2 votes
0 answers
288 views

Linux command-line utils with built-in support of multithreading

I would like to be able to compare performance of multicore computers from a point of view of a user who performs typical day-to-day tasks in Linux. My current goal is to collect a list of compute ...
Alexander Pozdneev's user avatar
0 votes
0 answers
1k views

Ubuntu shows only one core out of four with nolapic booting option

I have a problem similar to one in http://ubuntuforums.org/showthread.php?t=1084622 http://ubuntuforums.org/showthread.php?t=1740798 http://ubuntuforums.org/showthread.php?t=1631926 i.e. my ubuntu ...
Eugene B's user avatar
  • 131

15 30 50 per page