Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [multi-threaded]

The tag has no usage guidance.

0
votes
0answers
5 views

gdb stacktrace display __nanosleep_nocancel only for some threads on the coredump

stack trace for some of the threads show nothing except __nanosleep_nocancel from the core dump'ed using gdb on Debian. This is been observed when analyzing the threads stack trace from the coredump ...
1
vote
0answers
16 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 ...
0
votes
1answer
82 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
0answers
10 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 ...
0
votes
4answers
191 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 ...
0
votes
0answers
44 views

Multi-threaded concurrent INSERT on SQLite3 DB

The SQLite3 documentation seems to clearly indicate multiple concurrent threads can read from the same SQLite3 database at the same time, but it is not so clear about writes. Can I write (INSERT/...
-1
votes
1answer
45 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
1answer
397 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
1answer
62 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 ...
3
votes
1answer
127 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
0answers
72 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
1answer
44 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
1answer
69 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
0answers
115 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
0answers
29 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 (...
3
votes
1answer
1k 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
0answers
666 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
1answer
116 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
0answers
27 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
1answer
420 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
0answers
250 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
1answer
36 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
2answers
317 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 ...
0
votes
1answer
2k 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
0answers
281 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
0answers
698 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
0answers
147 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
1answer
3k 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
1answer
716 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
1answer
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 ...
0
votes
2answers
51 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
2answers
676 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
1answer
124 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 ...
0
votes
1answer
2k 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
0answers
80 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
1answer
4k 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 ...
4
votes
4answers
3k 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 ...
4
votes
1answer
2k 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
1answer
291 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 ?
8
votes
3answers
4k 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 (...
3
votes
2answers
98 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 ...
5
votes
2answers
2k 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? ...
1
vote
2answers
1k 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 ...
1
vote
3answers
1k 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 ...
1
vote
1answer
527 views

Blocked process state affect on thread state within process?

If multiple threads are running within a process and the process goes from running to blocked state then do all the threads within the process automatically go into blocked state as well? If the ...
2
votes
1answer
2k views

How do I disable multithreaded calculation in Excel 2010 - as a permanent setting (without needing to set it on a worksheet)

I need to be able to have excel 2010 open (in windows 7 if it makes a difference) and have this setting defaulted to off. I've tried unchecking the box and closing excel, saving the setting on the ...
2
votes
2answers
610 views

Core i7 on linux loses its multithreading capability after suspend

On my debian-linux system, with a core i7 920 , each time I resume after the command "pm-suspend" (suspend to RAM), mutlithreading capabilities almost disappear. More specifically, two distinct ...
1
vote
2answers
3k views

FTP client support multi threads transfer

OS: Windows XP SP3 Is there any FTP client that support transfer files with multi-threads? By which I mean, multiple threads for single file, and also keep a thread for browsing FTP sites.
0
votes
1answer
196 views

Pause all but x CPU-intensive tasks

I've got about 50 folders of data to process, and I've got a ruby script that processes a folder's files (which folder it processes is based on a .yml configuration file). And a computer with four ...