Questions tagged [multi-threaded]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 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 ...
user avatar
0 votes
0 answers
56 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 ...
user avatar
0 votes
1 answer
49 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 ...
user avatar
0 votes
0 answers
62 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 ...
user avatar
  • 1
-1 votes
1 answer
3k views

When does it make sense to run Ookla's speedtest as a single-threaded rather than multi-threaded connection?

Ookla's speedtest gives the option of running their speed test using a single-threaded or multi-threaded connection. According to this source: Most large downloads [over the web] and streaming ...
user avatar
0 votes
1 answer
95 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 ...
user avatar
0 votes
1 answer
53 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 ...
user avatar
1 vote
0 answers
98 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 ...
user avatar
  • 1,355
1 vote
0 answers
488 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 ...
user avatar
1 vote
1 answer
4k 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 ...
user avatar
  • 1,037
1 vote
0 answers
27 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 ...
user avatar
  • 111
0 votes
4 answers
1k 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 ...
user avatar
  • 173
-1 votes
1 answer
55 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 ...
user avatar
  • 1,085
0 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
71 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 ...
user avatar
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?
user avatar
0 votes
0 answers
111 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 ...
user avatar
  • 239
0 votes
1 answer
138 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 ...
user avatar
  • 1
0 votes
1 answer
86 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 ...
user avatar
2 votes
0 answers
200 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 ...
user avatar
  • 121
0 votes
0 answers
38 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 (...
user avatar
6 votes
1 answer
2k 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 ...
user avatar
  • 1,114
0 votes
0 answers
891 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, ...
user avatar
  • 191
0 votes
1 answer
201 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 # ...
user avatar
0 votes
0 answers
34 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. ...
user avatar
  • 101
1 vote
1 answer
919 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, ...
user avatar
  • 121
1 vote
0 answers
310 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 ...
user avatar
  • 486
0 votes
1 answer
47 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 ...
user avatar
  • 2,416
2 votes
2 answers
879 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 ...
user avatar
  • 751
0 votes
1 answer
6k 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 ...
user avatar
0 votes
0 answers
431 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 ...
user avatar
  • 103
0 votes
0 answers
873 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 ...
user avatar
  • 1
0 votes
0 answers
338 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 ...
user avatar
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 ...
user avatar
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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 315
0 votes
2 answers
67 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 ...
user avatar
  • 143
3 votes
2 answers
897 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 ...
user avatar
2 votes
1 answer
130 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 ...
user avatar
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. ...
user avatar
  • 285
1 vote
0 answers
86 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 ...
user avatar
1 vote
1 answer
5k 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 ...
user avatar
  • 191
5 votes
4 answers
6k 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 ...
user avatar
  • 109
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 (...
user avatar
  • 1,828
0 votes
1 answer
386 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 ?
user avatar
8 votes
3 answers
5k views

Can Acrobat 11 be made to do OCR using multiple CPU cores?

OCR processing takes time. Using multiple CPU cores would speed up processing. Acrobat 10 was not a multithreaded application. How about Acrobat 11? Does 11 by default do OCR using multiple CPU cores (...
user avatar
  • 141
3 votes
2 answers
115 views

Use all CPUs when creating archives on Linux

Today I wanted to create a backup from a folder on a server with 16 CPUs. I started looking for an option that can utilize my hardware to archive a folder better than how tar does it. Something with ...
user avatar
  • 131
8 votes
2 answers
3k views

How does an atomic operation guarantee consistency from a hardware perspective?

As far as I know, an atomic instruction makes sure that when it is executed, no other threads can modify that data (just like a critical section). Am I correct? How is this implemented in hardware? ...
user avatar
1 vote
2 answers
2k views

613 threads limit on debian [closed]

When running this program thread-limit.c on my dedicated debian server, the output says that my system can't create more than around 600 threads. I need to create more threads, and fix my system ...
user avatar
  • 127
1 vote
3 answers
2k views

Mutithreaded / multiprocess command line ftp client for Windows

I am searching for command line ftp client for Windows, capable of speeding up downloads by using multiple processes/threads. (Filezilla does it AFAIK, but it does not work from command line). Or ...
user avatar
  • 153