Messages in this thread | | | Subject | Re: [PATCH] proc: Avoid a thundering herd of threads freeing proc dentries | From | Junxiao Bi <> | Date | Mon, 22 Jun 2020 10:16:05 -0700 |
| |
On 6/22/20 8:20 AM, ebiederm@xmission.com wrote:
> If I understand correctly, the Java VM is not exiting. Just some of > it's threads. > > That is a very different problem to deal with. That are many > optimizations that are possible when_all_ of the threads are exiting > that are not possible when_many_ threads are exiting. > > Do you know if it is simply the cpu time or if it is the lock contention > that is the problem? If it is simply the cpu time we should consider if > some of the locks that can be highly contended should become mutexes. > Or perhaps something like Matthew's cpu pinning idea.
The problem is high %sys time.
Thanks,
Junxiao.
| |