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)

0
votes
0answers
15 views

Preempt and blocking tasks [closed]

Could someone explain the difference between block and preempt with respect to operating systems. It would be nice if someone could give an example as to how different tasks are blocked or preempted ...
2
votes
1answer
48 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
23 views

what is a handle in windows?

What is a handle? (please look at the following image) A handle is a generic OS term that can be a ticket to an operating system object. Each handle is unique and identifies each object. ...
0
votes
0answers
9 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. ...
0
votes
1answer
79 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 ...
0
votes
1answer
39 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
35 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 ...
3
votes
2answers
3k 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 ...
1
vote
1answer
48 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 ...
0
votes
0answers
118 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
vote
1answer
109 views

Trying to link boost.thread with Xcode

I have built Boost from the website using ./bootstrap.sh ./b2 install I think all are installed properly. I am trying to use Xcode to include the library of boost:thread.My code links to the ...
-1
votes
1answer
71 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?
7
votes
0answers
403 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
84 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 ...
0
votes
1answer
233 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
20 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.
0
votes
1answer
396 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
24 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
1answer
289 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
759 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
177 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
26 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
108 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
349 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
4answers
18k 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
85 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 ...
1
vote
0answers
516 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 ...
0
votes
3answers
66 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 ...
2
votes
1answer
1k views

Why are user level threads faster than kernel level threads?

I found out that user level threads are a lot faster than kernel level threads but I could not find any convincing example of WHY is user level threads are faster than kernel level threads ? Could ...
1
vote
3answers
146 views

Single threaded process being executed on 2 cores

On my quad core cpu, it seems like a single thread (endless while loop) is being executed on 2 cores simultaneously. Why is this? Shouldn't a single thread be executed on one core only?
0
votes
1answer
175 views

Use all processor cores, 1 core/per 1 thread in *nix

According to xz documentation the "-T 4" means I should be using 4 threads, each compressing a different part of the file simultaneously. Before using nice -19 I would only get %50 usage of 1 core, ...
-2
votes
1answer
65 views

i3 3210 do all 4 threads run at once

windows 7, task manager show%s thread 1,2,3 all running around 40% thread 4 is at 2%. Is this normal? i3 3210 windows 7 8GB DRAM cpu running at 35% per task manager
2
votes
2answers
2k views

Why is it quicker to switch between threads than to switch between processes and share data between them?

Why is it quicker to switch between threads than to switch between processes and share data between them? For example, in the apache web server running on ubuntu can use either the Prefork MPM ...
15
votes
3answers
3k views

Task Manager is saying the system is running with over a thousand threads

I opened up Task Manager and looked under the "System" area and saw: Threads: 1337 Since I have a dual-core processor with hyper-threading available (meaning four threads), how is it possible to ...
0
votes
2answers
243 views

Cores, threads and multi-processing

I know all this terminology is a confused field atm, but I'm trying to interpret how they are being used at: http://www.cpu-world.com/CPUs/Xeon/Intel-Xeon%20E7-8870.html The context I've got is that ...
0
votes
0answers
1k 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 ...
2
votes
1answer
462 views

Installing ffmpeg (namely fdk-aac) on cPanel server causes issues with perl threads

Basically, I'm trying to install FFMPEG on a cPanel server. I'm able to get everything installed and working (tested using ffmpeg -v) except for libfdk-aac. I can do the git clone and everything ...
1
vote
1answer
439 views

Is it faster to run one process that spawns N threads or to run N processes?

I need to run ~1500 jobs on my lab's server. The program I am using (blastpgp if anyone cares) is capable of running in parallel mode, the "-a" option sets how many threads it will launch. The server ...
1
vote
2answers
2k views

Can a single process be executed in two or more processors in a multiprocessor system?

I have heard that one processor can work on only one process at a time. Is this true? If so, then how can a single process be executed in more than one processors at a time? Is this even possible? ...
1
vote
0answers
160 views

Is it possible to find what's “choking” Firefox?

Is it possible to find what exactly is causing Firefox to randomly CPU-spike at 13%, freezing it entirely? And by "exactly", I mean finding what functions/calls/modules/threads/drivers are the direct ...
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 ...
-1
votes
2answers
105 views

What do you call the “action of” striping threads across multiple processors? [closed]

A question of curiousity, I understand [one thread per core] or with time slicing, [many threads one core] But, is there a way even through emulation, even with a performance cost, to... how to say... ...
1
vote
1answer
137 views

When a thread is created, how is the initial context determined? [closed]

How is a thread's initial context (registers state) determined on thread creation? For example: Current thread context eax=0x4, ebx=0x9000, ecx=0xfff, etc... Create a thread is called to begin ...
1
vote
2answers
3k 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 ...
2
votes
3answers
1k views

Running threads on a non hyper-threading Intel processor

Intel Pentium Processor E5700 (2M Cache, 3.00 GHz, 800 MHz FSB) does not have hyper-threading but it has has 2 cores so I am assuming it has 2 threads Now if I write a heavy number crunching program ...
1
vote
2answers
997 views

Optimum number of threads to use for best parallel processing on an i5 [closed]

I'm interested in running some reasonably heavyweight processing on my desktop/laptop (not so bad that it requires a cluster, but needs a good home machine). My question is how many threads to create ...
5
votes
2answers
902 views

Which logical CPU (core) belongs to which socket?

I need to test performance of a multithreaded program on 1 CPU, but I have a dual CPU machine. I need to set affinity to those logical CPU's, that share their socket, oterwise they strongly benefit ...
3
votes
1answer
2k views

Thunderbird - watched and ignored threads

If I go to View->Threads I can select to view only watched threads, or to display ignored threads. How do I set this on a thread? I keep searching, but there just doesn't seem to be any option to ...
2
votes
1answer
3k views

Under linux, how do I find out if some specific thread is run with real-time priority?

I have a process (jackd) that runs several threads. One of the threads it runs should be in realtime, the others run on normal priorities. I'd like to check if it actually runs on realtime. What ...
5
votes
2answers
8k 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 ...