阅读背景:

当多个高优先级线程在多个核上运行时,Linux内核无响应

来源:互联网 

Wrote a sample C++ multithreaded program that runs with 10 threads, each thread set to high priority and affinity. Compiled and ran this code on dell machine that has 16 cores, running centos 7 (Linux kernel - 3.10.0-229), disabled hyperthreading. After I ran this code, in few seconds, our Linux machine becomes unresponsive, in the sense that, if I open up Eclipse editor, and save a file or save a file in vi editor those applications hang. Interestingly, once I stop this program / process, then all other applications resume from where they left off. Also I don't see this issue if I remove priority from these 10 threads.Wrote a sample C++ multithreaded program that r




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: