Questions tagged [threads]

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

Filter by
Sorted by
Tagged with
2 votes
0 answers
440 views

Making sure that cron does not run multiple instances of the same Python script in separate threads

I have a crontab file with a job that runs a Python script every 5 minutes. The script looks into one folder, checks if there are any files that have been placed in there between last and current runs ...
Vladimir Stremoukhov's user avatar
2 votes
1 answer
106 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 ...
Vercas's user avatar
  • 562
2 votes
1 answer
735 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 ...
troytc's user avatar
  • 121
1 vote
2 answers
2k 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 ...
De coder's user avatar
1 vote
2 answers
7k 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 ...
hexacyanide's user avatar
1 vote
1 answer
188 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 (...
M LOHIT's user avatar
  • 237
1 vote
1 answer
2k views

does the generation of a processor affect its speed or its the number of cores?

Am planning to buy a desktop for gaming and recently came across two processors, both are intel core i5, but one is 4th generation and the other one is third generation. These are the models... core ...
Dong Li's user avatar
  • 261
1 vote
1 answer
2k views

How can every thread have its own register?

Threads shares instruction, global and heap regions but has its own individual stack and registers. How can every thread in a process have its own register, when number of registers is final and ...
Hrvoje T's user avatar
  • 1,949
1 vote
1 answer
6k 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 ...
user9371654's user avatar
  • 1,217
1 vote
3 answers
5k 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 ...
shawnhcorey's user avatar
1 vote
1 answer
143 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 ...
wnrph's user avatar
  • 3,675
1 vote
1 answer
7k views

How to get top 5 highest CPU consuming processes and their thread count using powershell command

How to get top 5 highest CPU consuming processes and their thread count using powershell command? Need values of CPU, ProcessName, PID, Thread count
Lakshmi's user avatar
  • 11
1 vote
1 answer
86 views

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

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, ...
JohnnyFromBF's user avatar
  • 4,938
1 vote
1 answer
2k 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> It ...
user3111525's user avatar
1 vote
2 answers
2k 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. ...
eomeroff's user avatar
  • 757
1 vote
1 answer
906 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 ...
Christian's user avatar
1 vote
2 answers
515 views

Rsyslog: relay messages from UDP input only

Considering a docker container which receives logs on UDP and forwards to a central logging server using TLS, I was wondering if I could be satisfied with one queue or if I needed several. Indeed, ...
Ashlanfox's user avatar
1 vote
1 answer
232 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/) ...
valya's user avatar
  • 908
1 vote
0 answers
5k views

RuntimeError: can't start new thread

I'm running into an issue where running multiple instances of the same Python program on my server is causing some of the jobs to throw the following error: File "/home/joe/workspace/...
Anish Sana's user avatar
1 vote
0 answers
2k views

What does ntdll.dll!LdrAccessResource do? It's hogging my CPU in Windows 10

I've had this problem for about a year (I don't want to reinstall Windows because it's too much work, and my C-drive backups are too new so they contain the problem too). I've upgraded Windows 10 ...
Jim Hoyle's user avatar
  • 199
1 vote
0 answers
248 views

Why can't my threads fork?

I recently started renting a VPS, it's running Ubuntu Server 18.04.4 LTS on 8GB of RAM. I only ever used it to run a small (SpigotMC) Minecraft server. When the JRE for the server is not running all ...
grinsekrokodil's user avatar
1 vote
2 answers
2k views

Why do higer end server cpu typically have slower single thread performance?

Something I saw many times and which is confirmed by multiple benchmarks: Xeon cpu and more generally Intel cpu targeting the server market have slower per thread performance than a CoreX cpu. Even a $...
user2284570's user avatar
  • 1,843
1 vote
0 answers
107 views

java thread dump analysis

For context: we have been having some issues with garbage collection where we see it taking 15-40 seconds, during this time the application is in a 'paused' state. Here's what we see in our gabage ...
JoeN's user avatar
  • 11
1 vote
0 answers
50 views

Apache Nutch hangs on a url during fetch cycle indefinitely [closed]

I am running Nutch 1.15 in distributed Hadoop mode, when it tries to fetch a file (185 MB) in this particular case, and it hangs with aborted threads. Then, in next cycles of Fetch Data, it will try ...
user9142638's user avatar
1 vote
0 answers
80 views

How to parallel windows pc in same network?

I have some windows pc in my local network, each of them have 8 cores cpu. I have program that takes lot of cpu resource, so I want to parallel it on all of the pc. Right now I running my program ...
Jonert6544's user avatar
1 vote
0 answers
183 views

Firefox creates ~65 threads for 8 tabs

I was looking at the output of htop and noticed that Firefox had about 65 threads listed. I only have about 8 tabs going, so I am trying to understand why so many threads have been created and seem to ...
tnibbles's user avatar
1 vote
0 answers
121 views

How to log/get a report on threading performance in Windows?

So with programs like Process Explorer and Process Hacker you can see what the individual threads from a given process are up to. However as far as I can tell its just an active monitor with no way to ...
user1086516's user avatar
1 vote
0 answers
3k views

Kworker thread has high CPU usage

I have a kworker thread with high cpu usage, which is causing my touchscreen to be very lag-y and unresponsive. Running a beaglebone with Debian. uname -r 4.1.15-ti-rt-r43 pid user pr ni ...
avelampudi's user avatar
1 vote
0 answers
824 views

How to auto create a dump of a process when a wait chain is stuck for more than x seconds?

When a process hangs temporarily and resource monitor/task manager show there is something stuck in the wait chain, I can use for example Process Explorer to create a dump of it open WinDbg and run !...
Gaia's user avatar
  • 7,009
1 vote
1 answer
329 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 security-...
Ajay's user avatar
  • 945
1 vote
0 answers
30 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.
user avatar
1 vote
0 answers
2k 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 "yadif=0:-...
sebastian's user avatar
  • 301
1 vote
0 answers
5k 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 ...
user avatar
1 vote
0 answers
278 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 ...
Coldblackice's user avatar
  • 5,924
1 vote
1 answer
363 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 ...
user179659's user avatar
1 vote
1 answer
661 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 ...
rrazd's user avatar
  • 871
1 vote
1 answer
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, ...
hpy's user avatar
  • 6,101
1 vote
2 answers
2k 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 ...
Joel's user avatar
  • 127
0 votes
2 answers
423 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 ...
Ben McCormack's user avatar
0 votes
2 answers
3k views

Threads (versus cores) and rated CPU clock speed, what is the effect?

If my CPU is rated at 2GHz, and has 4 cores supporting 8 threads, are all 8 threads running at the rated clock speed? Or are they running at 1GHz each since there are twice as many threads as cores?
posfan12's user avatar
  • 672
0 votes
1 answer
1k 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 ...
user avatar
0 votes
3 answers
95 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 ...
 ShadowHero's user avatar
0 votes
2 answers
415 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 ...
Rodney's user avatar
  • 45
0 votes
1 answer
1k views

Are the threads in each process limited to 1 cpu?

On a multi CPU machine, I understand that 1 process runs on 1 CPU. So does this mean that the threads in each process are limited to 1 cpu only?
variable's user avatar
  • 222
0 votes
1 answer
1k views

How can I identify "most thread hungry" applications/services on my system?

In htop, I see over 1500 threads. How do I know their distribution related to what is running on the machine? It is remarkable that only 2 are running; so maybe a lot of CPU time is wasted just to ...
J. Doe's user avatar
  • 461
0 votes
2 answers
1k views

How does multithread work when hardware has 4 cores and software app has more than 4 threads

Let's say I have a processor with 4 cores and 4 threads and an application with 20 threads that I need them to make constant checkings (let's say they are events), how does the processor run all ...
Angelixus's user avatar
  • 333
0 votes
2 answers
2k 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 ...
Markus Junginger's user avatar
0 votes
1 answer
2k views

How do I emulate Intel Thread Director behaviour in Linux not supporting it yet?

My 12th Gen Intel© Core™ i7-1260P (Alder Lake) has 4 performance cores + 4 threads and 8 efficiency cores. If a multi threaded task is launched, it prefers fastest performance cores, then physical ...
user681768917's user avatar
0 votes
1 answer
100 views

Is there any relation between Process and Processor?

1 Process can have 1 or more threads. 1 or more threads (irrespective of which process they belong to) can run on 1 or more processors. Is there any relation between Process and Processor? For example ...
variable's user avatar
  • 222
0 votes
1 answer
89 views

Do single cores with higher clock perform faster than multiple cores with lower clock speeds?

First of all, let me specify my use case. I use Xampp on locahost to develop websites on my desktop, usually Drupal or Wordpress sites. My goal is to have this work as fast as possible, as in ...
Bruno  Vincent's user avatar