Questions tagged [multi-threading]
79 questions
1
vote
0 answers
Set number of threads when auto compiling kernel
I use Ubuntu as main operating system.
I have found that when a new kernel is included in a system upgrade, during the upgrade, certain kernel-related items are compiled (kernel modules?).
During this process, I check that the processor usage is…

Ommadawn
- 235
- 2
- 8
1
vote
0 answers
Handling a deployment in prod with in memory data with uwsgi & kubernetes
I'm in a bit of a bind here and I'm looking for pointers as to how to best manage my situation:
So, I have a Flask app with uwsgi and I'm deploying this to Kubernetes with 2 pods. UWSGI configuration is 1 process and 4 threads are we're really…

Saturnian
- 111
- 1
1
vote
1 answer
NVMe parallel writes
I'm trying to understand better how writing to NVMe can be optimized.
I have a process which writes a large amount of data to disk (~100 gb) in one batch job. The data is spread across 100s of files.
I have multiple NVMe disks available and will be…

R.Smith
- 11
- 1
1
vote
1 answer
Synchronizing threads in multithreaded applications
I use the SIESTA dft package on a CentOS 8 (core) system with a 16 core, 32 thread XEON processor with OpenMPI version 4.1.1 for all calculations.
Since I have 32 threads, I use 28 of them to do a SIESTA calculation (which consumes a good amount of…

PBH
- 113
- 4
1
vote
1 answer
Laravel/PHP process on debian 10 only ever using one of two CPU threads
I am running a Debian 10 Buster server on a google VM with PHP 7.3 Apache2 and MySQL 8. On the server, I am running Laravel 8 as an API for two clients. I recently upgraded the VM to an n2-standard-2 (2 vCPUs, 8 GB memory) and wanted to check the…

Mariann
- 11
- 3
1
vote
1 answer
Intermittent KVM performance issues causing performance glitches
We are currently hosted on a hosting provider that allows us to set up multiple virtual machines using KVM, where each virtual machine runs on it's own physical box (ie: one hypervisor, one VM with all the memory and CPU allocated to it). Recently…

Kendall Bennett
- 111
- 2
0
votes
0 answers
Memory utilization in Centos OS 6.6 (Virtual and RSS)
My C++11 application run for days without reboot to perform fluid simulation.
After running it for 6days, this is the memory footprint:
RSS 54MB VSZ 5.6GB
Why virtual memory increased to 5.6GB? There is no memory leak in my application. Application…
0
votes
1 answer
HAProxy uniform balancing between processes
We using nbproc 10 for multiprocess HAProxy. Server with Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz.
In config:
nbproc 10
cpu-map 1 0
cpu-map 2 1
cpu-map 3 2
cpu-map 4 3
cpu-map 5 4
cpu-map 6 5
cpu-map 7 6
cpu-map 8 7
cpu-map 9 8
…

artful
- 31
- 1
- 7
0
votes
1 answer
Can Apache HTTP server work as thread-per-request?
I'm trying to fully understand the differences between Apache and Nginx. I've come across the concepts of thread-per-connection and thread-per-request. Then, I've also learned about Apache's MPMs. From my understanding, using mpm_prefork, Apache…

garci560
- 101
- 1
- 3
0
votes
0 answers
windows server 2012 cpu quota
I have written a multi-threaded program that is running on Windows server 2012.
The program will create threads to take advantage of multiple CPUs and I can control the number of simultaneous threads it will create. Each thread will normally use…

shindigo
- 101
- 4
0
votes
2 answers
run command on multiple threads
I am running a command (pngquant to be precise: https://github.com/pornel/pngquant) in a terminal window. I noticed, that if I open 4 terminal windows, and run pngquant command in each of them, I get 4x speed increase, effectively compression 4…

sanjihan
- 113
- 5
0
votes
1 answer
Syslog-NG is spooling messages
I am currently using Balabit's Syslog-NG to concentrate my IT logs and convey them in a remote server, via a TCP connection, which can allow one listening port only.
Thing is, my log volume is really important (about 15,000 messages/sec), and I can…

moutonjr
- 498
- 5
- 10
0
votes
1 answer
Virtual machines and dual socket setups: minimizing need for CPU-to-CPU communication
I am planning to build a multi-OS workstation overseen by (probably) KVM, on which I will do a variety of tasks. Some of these tasks lend themselves to multithreading better than others, so I want to maximize clock speed as much as possible. To this…

Stonecraft
- 313
- 3
- 4
- 18
0
votes
1 answer
Why robocopy with multi-treading copies faster
I have been using robocopy with the switch MT and really makes a difference in coping time.
I would like to know why the CPU treads act as a bottle-neck while copying files or what makes robocopy with multi-treading copy faster.

kimo pryvt
- 431
- 5
- 12
- 24
0
votes
1 answer
Application GUI on a heavy load tomcat doesn't respond
We have a backend webapp installed on tomcat 8 that has a GUI part written in Apache wicket MVC (version 1.4) - the wicket GUI fails to respond the moment the server starts doing heavy processing.
On average the CPU sits around 85% utilization. The…

psyopguy
- 1
- 1