[英]maximum number of process in linux with paging
I heard that maximum number of process(tasks) in linux is calculated with 我听说linux中的最大进程数(任务)是用
"number of threads = total virtual memory / (stack size*1024*1024)" “线程数=总虚拟内存/(堆栈大小* 1024 * 1024)”
however, I am curious that since page tables can not be paged out 但是,我很好奇,因为页表不能被调出
and every process needs it's own page tables(including page directory) 每个进程都需要自己的页表(包括页目录)
I think this can be a factor to limit number of process in OS. 我认为这可能是限制OS中进程数量的一个因素。
am I correct or wrong? 我是对还是错?
根据《 IA-64 Linux内核:设计与实现》一书的第4.3章“页表” ,您是正确的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.