Thread is a form of a process to divide itself into two or more tasks that can be executed concurrently.

learn more… | top users | synonyms (1)

-2
votes
2answers
103 views

How do I kill a specific thread in Windows?

The process explorer.exe has a thread with "start address" starting with "windows.immersiveshell.serviceprovider.dll". It takes a lot of processing power. Additionally, after waking up from sleep it ...
0
votes
0answers
37 views

Resource Monitor - hard faults - threads

click to enlarge Task Manager => Performance => Resource Monitor. I have 16GB ram, and when I took that screenshot I had 8GB left. In fact, I tried setting Paging file to None (disabled) and that ...
1
vote
2answers
4k views

AMD FX Series: 8 cores or 8 threads in 4 cores?

I've looked at FX-8XXX series processors on Windows, and they show as 4 core, dual-threaded processors. (4 cores w/ 2 threads per core) The processors are advertised as 8-core. Do they actually have ...
0
votes
1answer
60 views

Kernel threads and process virtual address

If the kernel is spawned as threads and resides in the memory then how could the ps command identify them if those are not normal process and i give you more look here: root 2 0 0 ...
0
votes
1answer
30 views

How to get a thread count for running process in Win8?

How do I display the column that lists the thread count for the running process in the task manager in Win8? The View menu doesn't seem to have any option that would allow to add nor does right ...
13
votes
0answers
822 views

Jenkins realtime console output for parallel threaded fabric command

We have a Python fabric command that runs in parallel across several hosts, something like this: $ fab --hosts=prod1.server,prod2.server,prod3.server --parallel copy_cache This will copy cache to ...
0
votes
1answer
45 views

Process/thread creation and destruction history or ledger on Mac OS X

I'm seeing some strange threading behaviour in my Mac (Yosemite 10.10.4). The number of threads shoots up and then goes back down again. Sometimes it stays extremely high, thus exceeding maxproc and ...
0
votes
1answer
54 views

How to close one explorer.exe's window instead of ending the whole process

I use MTP to transfer photos from my Android to my PC and then the whole explorer.exe gets stuck in a waiting loop and I can't close that one window except by terminating the process and losing the ...
0
votes
0answers
31 views

Faster 32 bit execution with Hyperthreading disabled?

I am using numpy-Python scripts that take a lot of computing power to execute. The scripts themselves are already quite well written an I can say that I cannot really improve their speed by writing ...
0
votes
0answers
25 views

Single service using thousands of threads

I have an windows application that is having performance and stability issues that our company has bought from a vendor. I noticed the application was using 1,000 - 4,000 threads. Could this be ...
25
votes
2answers
2k views

How do priorities work on task-manager and when should/n't I set this?

I've been setting some processes priority in order to see what it actually happens, but, guess what... Nothing; it all runs the same way... I found on Google that priorities are not really linked ...
2
votes
2answers
364 views

High CPU from ntoskrnl.exe during idle on GetStackLimits

I'm having a weird bug in Windows 10. After 5 minutes of idle, my cpu goes high. I used Win Performance Analyzer and found that it happens inside the ntoskrnl.exe on the thread GetStackLimits. I ...
0
votes
0answers
48 views

No C++ pthread support in build farm?

I'm trying to get some code compiling in a build farm. When I build it on my development machine things go fine: checking if C compiler and POSIX threads work as is... no checking if C++ compiler and ...
0
votes
3answers
234 views

Some questions on threads and processes

I was asked these questions in interview (C++ interview). I'm not confident of the answers and would like to know more. Can thread create another thread ? Can process create another process ? Can ...
0
votes
2answers
379 views

Can threads from the same process run at the same time, on a multicore systems?

I searched the web and the answers I found were tentative. That is, people thought this is what happens but were not sure. Assuming the proper precautions were taken to synchronize and prevent ...
2
votes
2answers
3k views

Windows 7 limit the number of threads that a process creates?

Do some versions of Windows 7 (32 or 64 bits) manage the number of threads that any specific process are creating? If so, is there a way to configure a maximum limit of threads on system (in the ...
1
vote
2answers
509 views

Is there a way to “hack” windows 10 to use its entire CPU power in one task or process?

I work with applications like Blender, and, according to "Task Manager" and "Resource Monitor", windows uses less than 40% CPU (at most, with the option below) and less than 30% memory when I render a ...
3
votes
4answers
35k views

what does 2 core 4 threads mean in cpu?

I wanted to know what does 2 cores 4 threads mean about a cpu? I am talking about this cpu which i have http://ark.intel.com/products/47341/Intel-Core-i5-520M-Processor-3M-Cache-2_40-GHz I initially ...
2
votes
1answer
134 views

How is multiprocessing related to cores and threads?

I am interested in the Intel Xeon E5-1650 v3 and the Intel Xeon E5-2643 v3 processors. They both have 6 cores and a clock speed of ~3.5GHz. However, the specifications from CPU-world (screenshot) show ...
0
votes
0answers
16 views

Enable fine grained, thread level timings for benchmarking?

I need to perform some benchmarking on Linux, and I'd like to use Fedora or Ubuntu. Linux kernels don't provide fine-grained, thread level timing information. About all I can get is process times. ...
3
votes
1answer
2k views

Does the Windows scheduler allocate equal length quanta to threads?

Is the time slice (quantum) that the Windows Kernel Dispatcher allocates to threads the same length for every thread, or does it base the size of quantum on the priority of the thread like Linux does? ...
0
votes
1answer
855 views

Force ffmpeg to use 100% of CPU

I'm using ffmpeg to extract frames from video, but the process is so slow. Looking at CPU usage I see that ffmpeg use only 50% of my CPU. I've tried also to add -threads 4, but it seems it doesn't ...
7
votes
2answers
13k views

What is a user thread and a kernel thread?

I know what a thread is and I know how they work but Im quite confused as to what a 'User Thread' is and what a 'Kernel Thread' is in terms of what they are allowed to do. Can you please clarify what ...
8
votes
4answers
9k views

What's the best way to perform a parallel copy on Unix?

I routinely have to copy the contents of a folder on a network file system to my local computer. There are many files (1000s) on the remote folder that are all relatively small but due to network ...
0
votes
1answer
71 views

Kernel Thread that won't exit, Load Average +1

So I have a new server that is up and running with Centos 6, and the load average is stuck hovering around 1, even when the machine is nearly idle. I reviewed the process table and found this ...
3
votes
1answer
100 views

What does the suffix letter mean in the PRI column of “ps -M pid” under MacOS/X?

When I execute this command under MacOS/X: ps -M 9358 I get this output: USER PID TT %CPU STAT PRI STIME UTIME COMMAND jaf 9358 s009 0.0 S 31T 0:00.21 0:00.32 ...
23
votes
10answers
157k views

how do you view all threads running on Linux? [closed]

I've used 'top', but I need a tool that can give me an arbitrary-time history of threads that have executed on my system (CentOS 5.4)?
1
vote
5answers
8k views

How I can force Firefox to use all of CPU capacity?

Some programs like Firefox only use up to maximum 25% of all CPU (only 1 thread). However some programs like WinRAR, use up to 100% of all CPU. How can I force Firefox to use all capacity of CPU ...
3
votes
2answers
6k views

Why Intel Core i3 processor with enough free RAM and low CPU usage become very slow?

In a computer with Intel Core i3 and 4GB of RAM running Windows 8.1 build 9600, in conditions I expect no have performance problems it become very very slow and it's close to freeze (or even freeze ...
6
votes
2answers
241 views

Unexpected shutdown with heavy single threaded process and single core affinity

I'm not sure what's the cause of the problem, but it happened 3 times in two weeks under similar conditions. I checked with the laptop's support desk and they made me run several tests to see if my ...
1
vote
1answer
56 views

Get username of a thread

How to gather the username/SID/account of a particular thread? No, I am not looking for account of the process, but of specific thread. I've looked-up Process Explorer, but it doesn't show ...
9
votes
2answers
7k views

Does GNU/Linux counts processes and threads together when I limit their number?

I want to limit the number of processes per user on my machine, with /etc/security/limits.conf and the nproc value. I have read here that Linux dosen't distinguish between processes and threads? My ...
0
votes
0answers
249 views

setting affinity for multiple cores on dual cpu system

We are using some systems with 2cpu's with 6 cores/12 threads each so 24 threads in total, for quite a lot of multitread simulations. Because the problem doesnt scale perfectly, i usualy run 4 ...
-1
votes
1answer
78 views

Why are there 3 chrome.exe processes immediately upon launch?

I am aware that chrome.exe uses a new process per browser tab, but why do I get 3 chrome.exe processes in the process list immediately upon launch?
0
votes
1answer
439 views

Efficient Multi-thread downloading? [closed]

My downloading speed of files is not fast enough.. Is there any way to add more thread in a single download? Thank you for answering this.
1
vote
0answers
23 views

Show all running tasks in Assembly

Is it possible to show/log everything what the CPU does? The CPU knows what it executes, so it could print the running threads/tasks on the screen or in a file.
1
vote
1answer
657 views

how to make Apache 2.4 work in single worker mode by default?

I'm using Apache 2.4 on my server. My scripts are using a lot of system() commands and they require to work in one process mode. When I start apache using the command: apachetctl -X (which ...
0
votes
0answers
26 views

Are there two seperated schedulers in major operating systems, one for processes and one for their threads?

Let's assume a process is given the CPU on a single-core CPU system by the scheduler and let's assume this process has 10 threads. Who decides which of the ten threads gets the CPU? In other words, ...
0
votes
0answers
2k views

CPU usage always around 40% because of wait-chain?

I am facing a very rare problem and it's causing much trouble. Whenever I boot my PC(HP 2000-2116tu, Win7, 4GB mem), there is a set of processes(legitimate ones and not virus), one of which starts to ...
0
votes
1answer
583 views

How many threads are concurrently executed?

The output from WMIC: C:\Users\fra>WMIC CPU Get DeviceID,NumberOfCores,NumberOfLogicalProcessors DeviceID NumberOfCores NumberOfLogicalProcessors CPU0 4 8 C:\Users\fra> ...
1
vote
1answer
2k views

Command-line Number of thread per process on MacOS

I'd like to be able to get the number of thread per process in command-line and get the exact same number I can see via the Activity Monitor. At the moment the IntelliJ IDEA process (PID 5235) has ...
0
votes
1answer
251 views

Cores and threads? How does it all work exactly?

I am confused by this ... if a CPU has 2 logical cores, it can run two programs 100% concurrent, yes? Otherwise, 2 programs on one CPU must be 100% time-divided (can't run independently as the same ...
0
votes
0answers
28 views

Is parallelism in computer science always directly tied to the number of processor cores?

Specific to the Java programming language, would it be accurate to say that two threads can be concurrent, but can only truly be run in parallel if there are two or more cores?
1
vote
0answers
147 views

How does Windows affinity work with hyperthreaded CPUs?

Let me describe our requirement in detail. We are doing some kind of assignment which requires capturing of IP data through NIC card and then processing the captured data in real time. The processing ...
0
votes
1answer
673 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. ...
2
votes
2answers
18k views

How do I monitor or view the thread count of a certain process on AIX?

How do I monitor or view the thread count of a certain process on AIX?
0
votes
1answer
1k views

Configuring systemd to allow daemon to set RT priority

I have a daemon that calls pthread_setschedparam() to set the thread priority. On a system using systemd (OpenSuse 12.1), this fails, because sched_setscheduler() returns EPERM. From what I ...
2
votes
1answer
93 views

Windows 8.1's audio service chokes on threads and handles?

-- snipped as the hibernation thing seems to be invalid now -- Edit: I found this... This process is using 52,552 handles and 6,065 threads when I took the screenshot. At the time of writing, 52,913 ...
0
votes
3answers
68 views

Multiple CPUs, multithreaded performance

My program: 100% CPU and RAM based, performs mathematical calculations, reads the data from the HDD into RAM in the beginning. No communication between threads. The threads, all take the same time ...
1
vote
0answers
743 views

ProRes transcoding in ffmpeg too slow

We are trying to transcode movies / clips into ProRes LT by using following options: ffmpeg -threads "16" -i "$2" -flags +ildct -vcodec prores -profile 1 -qscale 4 \ -threads "16" -r 24 -vf ...