Questions tagged [multi-threaded]
The multi-threaded tag has no usage guidance.
60
questions
0
votes
0
answers
327
views
Multithreading in ffmpeg with -f rawvideo
The newly released verion 7.0 of ffmpeg has greatly improved multithreading support for transcoding on the commandline. (https://ffmpeg.org/download.html#release_7.0) Previously transcoding with ...
1
vote
1
answer
412
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-...
0
votes
1
answer
47
views
running a multi-threaded script on a macPro to a smb-mount folder throws an error
We're trying to run a multi-threaded script from our macPro but we keep getting an error massage.
The xml script contains parameters to run a specific tool, the paths to the raw data and other ...
1
vote
1
answer
350
views
Why does a Python script only use 6 out of 12 cores?
I run Whisper on an Intel-Mac with an Intel Core i7-CPU (Whisper doesn't seem to support AMD Radeon GPUs at the moment, hence I use CPU). When I run Whisper on this computer when it otherwise mostly ...
1
vote
0
answers
911
views
`ffprobe` is 12 times slower than `metaflac`. How to speed up `ffprobe`?
On a small FLAC folder of 1593 files, ffprobe takes over 12 times longer to run than metaflac. How to speed up the single-threaded performance of ffprobe?
I tried to tell ffprobe to do the same and ...
0
votes
2
answers
137
views
Are matrix and array formulae in Excel multithreaded?
I know that Excel uses multithreading for calculation, but I could not find details about multithreading for matrix and array formulas, such as MMULT, MAP, REDUCE and the like.
I have two questions:
...
0
votes
0
answers
198
views
Varying archive size under multi-threaded compression
When using 7-zip with 7z u -uq0 -ssw -mx9 -stl files.7z files (update-synchronize ultra-compression) I think I've seen a slight random size difference of the same archive triggering my backing-up ...
0
votes
0
answers
272
views
RAID0 SSD array write speed and multithreading
I have a RAID0 array of 20 SSD disks and each SSD has a max write speed of 530 MB/s.
The PCIexpress controller is 8x.
The array is mapped to a virtual disk (D) formatted with NTFS in Windows 10
I was ...
1
vote
1
answer
2k
views
Can any program be run on multiple cores? Will the CPU decide that? Or can only certain programs run on multiple cores?
So I'm a little confused about the multicore CPUs - the impression I was initially under and what I thought I heard before was that some programs can't be run across multiple cores - those in which ...
0
votes
0
answers
251
views
Rust multithreading support
I want to run a Minecraft/rust server on a machine that has Linux (raspberry pi OS but I can change this) is there a way to run the server with multiple cores? (I would start the server in terminal if ...
2
votes
1
answer
857
views
Why does it matter whether a connection's speed is unstable when choosing between a single- or multi-threaded connection on Ookla's speedtest?
On Ookla's speedtest--on their website or app--users have the option of picking between a single-threaded or multi-threaded connection when doing a speed test.
According to this source:
Some ...
0
votes
1
answer
75
views
1 big core or 4 small cores, which one is better of virtual private servers?
I am trying to find and buy a VPS service. I see some plans like one-3.5GHZ core, dual-2GHZ core, quad-1GHZ core, etc. I like to know which one is better and has more computational power?
What I want ...
1
vote
0
answers
232
views
Set Excel cells or formula to background or low-priority recalculation
I have an Excel worksheet with a column of non-volatile formulas that are computationally expensive but low priority. So I don't care if they update infrequently, and would prefer that they do so in ...
1
vote
0
answers
872
views
Multiple connections on same port using netconn
Trying to develop a MODBUS Slave application via STM32H743BI using LwIP 2.0.3 and FreeRTOS 9.0.0
My app should be able to handle multiple clients simultaneously. I want to create seperate threads for ...
1
vote
1
answer
7k
views
How many threads can I run in my program?
I have a python program that uses the threading module and runs multithreads that executes a function. The number 8 below is the number of threads in the program but I need to know what is the number ...
1
vote
0
answers
86
views
What prevents my RT thread from working?
I have some data acquisition application running under Linux 2.6.37 on DM8148 with TI Linux. I have two threads:
thread named IDE, scheduled as SCHED_RR, prio 114 (75), which collects data from HW ...
1
vote
4
answers
3k
views
Change affinity while process active
I'm running a CPU consuming process (calculate mandelbrot set) and that process takes almost 100% of the CPU (I have 8 cores on my machine). when I change the affinity to half of the cores the CPU ...
-1
votes
1
answer
67
views
Thread Performance Penalty
Simulations are invoked from the command line. A dual-core box (4 logical CPUs or threads) can run 4 simulations (seemingly) simultaneously.
Is there a thought process or a measurement to gain a ...
0
votes
1
answer
2k
views
Hyperthreading and how applications benefit from it
I have been interested in hyper threading and how can applications benefit from it. From what I have read, hyper threading is directly managed by the operating system and it is related to how virtual ...
0
votes
1
answer
151
views
Server Hardware slower than Workstation Hardware (Same Software)
I made my Database Sync. Software multi-threaded. On my own workstation
CPU : i5 2500
RAM : 8 GB
HDD : 2x WDC WD5003ABYZ (Software Mirror)
OS : Windows 10 Ultimate
SQL Server : SQL 2008r2
it ...
2
votes
1
answer
2k
views
Is it possible to treat a thread as a core in QEMU?
When using a multi-threaded CPU, is it possible to treat a thread as a core to have double the available cores to the guest OS?
0
votes
0
answers
125
views
Raspberry Pi 3 crashes with 4 processes running gmpy, runs fine with 3 or less
I have written a Python program which uses homomorphic (paillier) encryption. For this I am using phe (https://github.com/n1analytics/python-paillier). Because this was really slow, I used 4 processes ...
0
votes
1
answer
249
views
Power consumption of a core with two hardware threads
If a core has two hardware threads, will the core consume the same power in the following two scenarios:
a) only one thread is busy, the other is idle
b) both threads are busy
As far as I know, the ...
0
votes
1
answer
117
views
Is ongoing download in browsers a child-process or a thread? [closed]
I was asked to give an example of parent-child process relationship with my knowledge of the following: The Parent process controls and limits the child process, it can end or start one, but this will ...
2
votes
0
answers
221
views
How many CPU cores can Firefox Quantum utilize?
I have a webapp that is very CPU intensive (multiple nested loops running over large dataset). I could run it in one Firefox tab or distribute the load across multiple tabs (if that's better).
I was ...
0
votes
0
answers
46
views
Multi-thread java app vs. individual tasks execution using bash script
I have a java app that runs many different threads (not always dependent on each other) using ScheduledThreadPoolExacutor.
I was wondering if it will have any effect (good hopefully) on the system (...
6
votes
1
answer
3k
views
Is Firefox 57 multithreaded?
According to Multiprocess Firefox on MDN, Firefox 57 finally runs things in different processes.
So is Firefox 57 multithreaded?
In particular, how many cores does it use at most? Say I open 20 tabs ...
0
votes
0
answers
1k
views
RoboCopy multithreading in Windows 10
The RoboCopy reference specifically says 'The /MT parameter applies to Windows Server 2008 R2 and Windows 7'. What is the behavior in Windows 10? I would hope multithreading is somehow the default, ...
0
votes
1
answer
226
views
Multithreading a Bash IP Scanner Script
I need to do an IP multithreading scanner but I'm not getting it, I need the "seq" to work with multitreahding
#!/bin/bash
function teste(){
for i in $(seq 0 10); do
CONNECT_TIMEOUT=1 # ...
0
votes
0
answers
62
views
what's the state of the process when it is multithread?
The state of a process is defined by the current activity of that process and is located in the PCB.
new
List item
running
waiting
ready
terminated
And a thread have its own state too, in the TCB.
...
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, ...
1
vote
0
answers
319
views
How can I get Chrome to open one process per tab?
I am on amd64 FreeBSD 11.0-p9 using Chromium 57.0.2987.133 precompiled from the ports. Version 58 causes graphical glitches on my system so I haven't upgraded yet.
Since about half a year I encounter ...
0
votes
1
answer
96
views
If Affinity on Windows is set on 1 thread only, does it eliminate problems with thread-unsafe software?
Say I have a third party software executable I can't really edit or alter in anyway or debug properly. I suspect it has issues with multithreading in a way that it segfaults the application due to ...
2
votes
2
answers
1k
views
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 ...
1
vote
2
answers
16k
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 ...
0
votes
0
answers
595
views
Assign more threads to VirtualBox guest OS
I am running Windows 8.1 as host with Intel Core I7 4500U. I am trying to use OpenMP in Ubuntu using VirtualBox. However, even if I shared 2 CPUs, I still have one thread only. When I am running ...
0
votes
0
answers
1k
views
Disable hyper-threading via BIOS? in Ubuntu
I bought new Lenovo Ideapad 700, 6th Generation Intel® Core™ i7-6700HQ Processor (2.60GHz 6MB),
I need to disable hyper-threading via BIOS for my Ubuntu, but I could not find where it is, on the ...
0
votes
0
answers
431
views
How much do IDEs take advantage of multiple CPU cores?
So, how much do IDEs, for instance Android Studio or Eclipse, take advantage of multiple threads and CPU cores? That is, how much faster do they run on, say, a quad-core CPU compared with a dual-core ...
0
votes
1
answer
4k
views
Multithreading a Bash Script
I have a 8 GB txt file and I have to run a python script for each line in the file and save part of the output .
Is there any way I can split this into several processes to make it run faster, in ...
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 ...
1
vote
1
answer
3k
views
How to download a large S3 object from the command line much faster than s3cmd
With the s3cmd command you can download files from S3 like this:
s3cmd get s3://my.private.bucket/some/location/hugefile.dat
But that can take quite a while if the stored files are really big.
Are ...
0
votes
2
answers
98
views
How is it possible for me to hear the audio of multiple different videos on my computer? [closed]
I am reading this book and so far, being in chapter 3, I understand that multiprogramming and multiprocessing allows for faster execution of multiple existing processes/threads. I am reading into all ...
3
votes
2
answers
1k
views
How slow is the x86 single-step debugging feature?
The x86 architecture provides a hardware single-step trap for debugging. How much does it slow down the running program?
If, say, a Linux kernel function was created to do nothing but single step a ...
2
votes
1
answer
131
views
What to do with extra prosessor with Windows 8.1 (non-professional)? [closed]
My desktop workstation has two quad core processors. I recently installed Windows 8.1, and I found that without the Professional version of Windows 8 you can only use one socket here:
How many ...
2
votes
1
answer
3k
views
Launch each Windows Explorer window in a separete process
Win7 Win64. I configured Windows Explorer in Tools > Folder Options > View > Launch folder windows in a separate process. It is checked, to make sure I rebooted Windows and it was still checked.
...
1
vote
0
answers
90
views
Do TWAIN drivers benefit from multi-core CPUs?
Advanced TWAIN drivers of document scanners contain many image enhancement features such as descreen, color drop-out, despeckle, deskew, prevent see-through, etc. Some of these features are quite CPU ...
1
vote
1
answer
6k
views
How to delete a folder in Python when [Error 32] is present
I am using Python 2.7. I want to delete a folder which may or may not be empty. The folder is handled by a thread for file-monitoring. I am not able to kill the thread, but wanted to delete this ...
5
votes
4
answers
9k
views
Optimum number of threads while multitasking
I know similar questions have been asked but I think my case is a little bit diffrent.
Let's say I have a computer with 8 cores and infinite memory with a Linux OS.
I have a calculation software ...
5
votes
1
answer
3k
views
pdf viewer / reader with multi-core support? [closed]
Which pdf reader/viewer supports more than one core to render and search through pdf files?
evince does not
okular does not
Adobe Reader does not
Xpdf crashes on all my tested pdf documents (...
0
votes
1
answer
442
views
Can two user level threads of same process can run simultaneously on multicore CPU?
Can two user level threads of same process can run simultaneously on multi core CPU ?