Home > OS >  At most how many threads can turn on computer? Please master, the younger brother grateful!
At most how many threads can turn on computer? Please master, the younger brother grateful!

Time:11-03

recently there is a problem I always can't find the reason, specially here to help, is that my computer configuration
my computer is Windows 7 64 - bit,


because the work needs, so to do additional tasks, but according to my computer configuration, there is no question of 500-1000 additional tasks, the software of memory is very small, only a few 7 m a, but when I was on the 300 or so, computer flower screen, arguably, 300 open my computer, only accounted for less than 5 g memory, CPU cycle within 10% at most, don't know what the reason, as long as more than 320, the computer error popup window, screen, is the end will not come up, also please the great god help me to guide the younger brother market is endless! Thank you

This is I can only open the end of 300 threads, is normal, the figure below is,
Caption


CodePudding user response:

I don't understand you said many is a process or thread (process)

http://blog.csdn.net/secondwatch/article/details/8093115

In addition, can not only from memory says, because each thread is assigned a time period, make the individual threads on the surface, at the same time when you thread a lot of cases (greater than the number of CPU cores), your chances of each thread assigned to the time slice is less, so also will the card

CodePudding user response:

reference 1st floor paschen response:
I didn't understand what you said is open program or thread (process)

http://blog.csdn.net/secondwatch/article/details/8093115

In addition, can not only from memory says, because each thread is assigned a time period, make the individual threads on the surface, at the same time when you thread a lot of cases (greater than the number of CPU cores), your chances of each thread assigned to the time slice is less, so I'll get card



Thank you friend's address, I said is a process, is the same software hang, additional process is open to 320 or so, the computer will play an error window, screen, thank you for telling me how to solve this problem, thank you!

CodePudding user response:

refer to the second floor qq_32742563 response:
Quote: refer to 1st floor paschen response:

I don't understand you said many is a process or thread (process)

http://blog.csdn.net/secondwatch/article/details/8093115

In addition, can not only from memory says, because each thread is assigned a time period, make the individual threads on the surface, at the same time when you thread a lot of cases (greater than the number of CPU cores), your chances of each thread assigned to the time slice is less, so I'll get card



Thank you friend's address, I said is a process, is the same software hang, additional process is open to 320 or so, the computer will play an error window, screen, thank you for telling me how to solve this problem, thank you!


In general, the operating system does not limit the number of process, and the ability of the machine limited and the composition of PID, PID said range is always limited, on the other hand, gaining the ability of processor, the amount of physical memory, the size of the resident set, the size of the virtual memory and processor scheduling policy, process scheduling strategy, the influence of such factors as specific I didn't try that, you so bad comments

CodePudding user response:

reference paschen reply: 3/f
Quote: refer to the second floor qq_32742563 response:

Quote: refer to 1st floor paschen response:

I don't understand you said many is a process or thread (process)

http://blog.csdn.net/secondwatch/article/details/8093115

In addition, can not only from memory says, because each thread is assigned a time period, make the individual threads on the surface, at the same time when you thread a lot of cases (greater than the number of CPU cores), your chances of each thread assigned to the time slice is less, so I'll get card



Thank you friend's address, I said is a process, is the same software hang, additional process is open to 320 or so, the computer will play an error window, screen, thank you for telling me how to solve this problem, thank you!


In general, the operating system does not limit the number of process, and the ability of the machine limited and the composition of PID, PID said range is always limited, on the other hand, gaining the ability of processor, the amount of physical memory, the size of the resident set, the size of the virtual memory and processor scheduling policy, process scheduling strategy, the influence of such factors as specific I didn't try that, you so bad comments


Thank you, you said these I don't have a try, just normal login software, is to open the software login name, then open the software, it is the repeated login,
Some say because gdi resources shortage, don't know what's you opinion?

CodePudding user response:

reference 4 floor qq_32742563 response:
Quote: reference paschen reply: 3/f

Quote: refer to the second floor qq_32742563 response:

Quote: refer to 1st floor paschen response:

I don't understand you said many is a process or thread (process)

http://blog.csdn.net/secondwatch/article/details/8093115

In addition, can not only from memory says, because each thread is assigned a time period, make the individual threads on the surface, at the same time when you thread a lot of cases (greater than the number of CPU cores), your chances of each thread assigned to the time slice is less, so I'll get card



Thank you friend's address, I said is a process, is the same software hang, additional process is open to 320 or so, the computer will play an error window, screen, thank you for telling me how to solve this problem, thank you!


In general, the operating system does not limit the number of process, and the ability of the machine limited and the composition of PID, PID said range is always limited, on the other hand, gaining the ability of processor, the amount of physical memory, the size of the resident set, the size of the virtual memory and processor scheduling policy, process scheduling strategy, the influence of such factors as specific I didn't try that, you so bad comments


Thank you, you said these I don't have a try, just normal login software, is to open the software login name, then open the software, it is the repeated login,
Some say because gdi resources shortage, don't know what's you opinion?


CodePudding user response:

The
refer to the original poster qq_32742563 response:
recently there is a problem I always can't find the reason, specially here to help, is that my computer configuration
my computer is Windows 7 64 - bit,


because the work needs, so to do additional tasks, but according to my computer configuration, there is no question of 500-1000 additional tasks, the software of memory is very small, only a few 7 m a, but when I was on the 300 or so, computer flower screen, arguably, 300 open my computer, only accounted for less than 5 g memory, CPU cycle within 10% at most, don't know what the reason, as long as more than 320, the computer error popup window, screen, is the end will not come up, also please the great god help me to guide the younger brother market is endless! Thank you

This is I can only open the end of 300 threads, is normal, the figure below is,
Caption


in general, the operating system is not to limit on the number of processes, such as Windows, and the ability of the machine limited and the composition of PID, PID said range is always limited, on the other hand, gaining the ability of processor, the amount of physical memory, the size of the resident set, the size of the virtual memory and processor scheduling policy, process scheduling strategy, the influence of such factors as so different machines can open the number of processes are different,

CodePudding user response:

By default, a thread's stack to reserve 1 m memory space, and a process of the available memory space is only 2 g, so in theory a process up to 2048 threads, but memory will not, of course, completely into the thread stack, so the actual number is smaller than this value,

CodePudding user response:

Under the testing memory try! , that possibility is not very big

CodePudding user response:

nullnullnull
  • Related