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)

-1
votes
0answers
6 views

How to figure out why my server won't let me use multiple threads?

I have a program that runs on multiple threads and it was working for the first few hours and then stopped using all threads (maximum) and never raised again, and I did nothing. Now, I am wondering, ...
0
votes
0answers
16 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, ...
1
vote
1answer
42 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
53 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
75 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
22 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
46 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
0answers
10 views

Tomcat 5 keeps jumping between threads for no reason

I have Tomcat 5 server running on Windows Server 2003 with JDK 1.6.03 hosting one custom made webapp. App worked fine, but some time ago it started hanging for no reason. I connected via JMX and ...
0
votes
0answers
50 views

How to change limits of non-interactive process?

I am trying to change the RTPRIO limit of a process that's run at startup. I have found 3 ways to change process interactively: setrlimit ulimit /etc/security/limits.conf However these only seem ...
0
votes
0answers
23 views

Command to get associated threads for pid in OSX

In Linux I can use one of the following ps -p pid -L -o pid,tid,%cpu,%mem ps -C command -L -o pid,tid %cpu,%mem What is the equivalent command for OS X ?.
0
votes
1answer
87 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
votes
1answer
2k 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
69 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
0answers
228 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
63 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
1answer
333 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 ...
0
votes
0answers
269 views

I want Adobe QT32 Server.exe to use no more than 21 threads

I need to impose this limit because quicktime or rather "Adobe QT32 Server.exe" will crash when trying to export H.264 .mov files. Personally, I would just choose a different codec but I work at an ...
1
vote
3answers
118 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
113 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
56 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
0
votes
0answers
67 views

Looking into Firefox threads calling fsync()

I've been looking into fsync calls made by Firefox to understand how efficient it is with regards to filesystems. I used strace to track the fsync calls made by the threads of Firefox over a browsing ...
2
votes
2answers
787 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 ...
14
votes
3answers
2k 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
155 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
740 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
262 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
259 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 ...
0
votes
2answers
1k 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
119 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 ...
2
votes
4answers
5k views

how can force a prgram to use all of CPU capacity?

I have Windows 7 And a Intel Core-i5 CPU (4Thread) some programs like Firefox, only use up to maximum 25% of All CPU(only 1 Thread) And some programs like Winrar, use up to 100% of All CPU Can ...
-1
votes
2answers
87 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
99 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 ...
0
votes
2answers
2k 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
646 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
585 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
515 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
1k 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
2k 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
1answer
2k 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 ...
0
votes
2answers
816 views

Are 1,000 threads normal for services.exe?

I noticed that my system is slowing down and services.exe often uses quite some CPU (around 10-40%), especially after waking up the PC. I find it hard to find out more about services.exe, and what is ...
1
vote
1answer
151 views

run many python web apps without eating the processor away

I need to run many Python web apps (mostly Django, but not all of them) on a server. Currently I'm running them with uwsgi emperor mode (I guess... I just have all configs in /etc/uwsgi/apps-enabled/) ...
1
vote
1answer
984 views

Single-threaded program takes too low CPU?

I am using Windows 7 Professional, Intel i7 CPU. I know the i7 has Hyper-Threading and I assume this is the reason. While running a single-threaded program, I saw that it only uses 12-13% CPU in Task ...
2
votes
1answer
204 views

How do I prevent myself from accidentally specifying too many threads when compiling?

When I compile stuff I usually want to do this fast, so on my workstation I issue make -j16 And (gnu) make starts compiling with 16 cores. However when I am back on my laptop I don't have 16 cores ...
0
votes
2answers
499 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 ...
1
vote
2answers
408 views

Can hardware virtualisation use threads from processor cores

I have intel i7 processor with 4 physical cores and each one has 2 threads which is total 8 logical cores. I intent to have virtual machine with windows server that will use all processor potential. ...
4
votes
1answer
205 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 ...
3
votes
2answers
4k 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 ...
6
votes
3answers
1k views

Can I close a firefox tab through the console?

There I was downloading a bunch of stuff from the Internet quite happily using Firefox built-in download manager when I decided to check code academy (a site that teaches you how to program in ...
1
vote
1answer
101 views

Why does Unix deliver signals this way?

In Unix, when signals are posted, and the receiving process is running more than one thread, at first a thread is chosen to carry out the signal handling routine. I don't understand why that is ...
1
vote
2answers
746 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 ...