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
vote
1answer
170 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
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 ...
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
1k 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
1k 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
3k 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 ...
7
votes
2answers
14k views

What is a user thread and a kernel thread?

I know what a thread is, and I know how they work, but I'm quite confused as to what a user thread and a kernel thread are in terms of what they are allowed to do. Can you please clarify what a ...
0
votes
2answers
1k 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
206 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/) ...
2
votes
1answer
1k 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
382 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
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 ...
1
vote
2answers
660 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. ...
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 ...
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 ...
6
votes
3answers
2k 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
115 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
998 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 ...
8
votes
1answer
16k views

How can you get thread count of running process in windows 7

How can you get thread count of running process in windows 7. i have a multi threaded c# application and i want to see active threads of that process while running.
2
votes
2answers
4k views

What does “thread” mean as related to CPUs? [duplicate]

Possible Duplicate: What are threads, and what do they do in the processor? I know a process can have multiple threads, on my Windows 7 machine each process has over 10 threads in avg. But ...
0
votes
1answer
53 views

Merging threads in IMAP

A follow-up to Merging threads in Thunderbird. I realized that when using IMAP I can try merging threads in another application... So, which modern email applications can merge threads in IMAP ...
1
vote
1answer
465 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 ...
8
votes
5answers
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
0answers
132 views

Excel 2010 slow or hangs when doesn't have focus [duplicate]

Possible Duplicate: How do you keep Microsoft Excel running at full speed even when it does not have the window focus? Running Windows 7 with Office 2010. We are seeing a huge slowdown (4x to ...
2
votes
1answer
888 views

Peeking inside Firefox - what's maxing out the CPU

I am having a Firefox with plenty of add-ons installed. Sometimes Firefox get stuck with high CPU usage on the pages having no Flash. I'd like to solve what's causing this in a more professional ...
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
6k views

What Exactly is a Threaded Web Server?

I would like to know what a threaded web server is? I have performed many searches but am unable to find anything that gives a clear explanation or definition; perhaps somebody can enlighten me.
7
votes
3answers
8k views

Can a multi-core processor run multiple processes at the same time?

I understand that a multi-core processor can run multiple threads of the same process at the same time using its different cores. Can it also run multiple processes at the same time(each core running ...
0
votes
3answers
235 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 ...
1
vote
1answer
870 views

Which processor/core is this process/service using?

What can i use to monitor which processor/core/thread an application is using? I have 16 processors and want to know which processor a specific application is using. I am running Windows Server 2003 ...
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?
2
votes
1answer
159 views

Dual Core, Core 2 Duo, Core i Series

How does Dual Core, Core 2 Duo, Core i Series processors executes (1) process without threads (2) process with threads Actually I want to know how these processors distribute a single process (...
0
votes
2answers
333 views

Is there a “deep” task manager available in Windows XP akin to Windows 7 and Vista? [duplicate]

Possible Duplicate: Good Alternatives to Windows Task Manager Is there a good task manager or utility for Windows XP that gives deep visibility into the processes and threads running on the ...
1
vote
1answer
2k views

VirtualBox recognise all threads as cores or only physical cores for dual core Core i7?

When I run VirtualBox (or other virtualisation software) it lets me select how many cores I like to allocate to a virtual machine. Since I have a dual core 2.66gHz Intel Core i7 with hyperthreading, ...
2
votes
1answer
212 views

Mail.app Bug — Keeps Showing Messages

I'm running Mail.app on my Mac (Snow Leopard). Two GMail accounts are linked to it using POP. There is an annoying bug which causes certain messages from one of the account to show up in my Inbox. ...
23
votes
10answers
161k 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)?
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?