Re: severe proc dentry lock contention

2020-06-18 Thread Eric W. Biederman
Junxiao Bi writes: > On 6/18/20 5:02 PM, ebied...@xmission.com wrote: > >> Matthew Wilcox writes: >> >>> On Thu, Jun 18, 2020 at 03:17:33PM -0700, Junxiao Bi wrote: When debugging some performance issue, i found that thousands of threads exit around same time could cause a severe spin

Re: severe proc dentry lock contention

2020-06-18 Thread Junxiao Bi
On 6/18/20 5:02 PM, ebied...@xmission.com wrote: Matthew Wilcox writes: On Thu, Jun 18, 2020 at 03:17:33PM -0700, Junxiao Bi wrote: When debugging some performance issue, i found that thousands of threads exit around same time could cause a severe spin lock contention on proc dentry

Re: severe proc dentry lock contention

2020-06-18 Thread Eric W. Biederman
Matthew Wilcox writes: > On Thu, Jun 18, 2020 at 03:17:33PM -0700, Junxiao Bi wrote: >> When debugging some performance issue, i found that thousands of threads >> exit around same time could cause a severe spin lock contention on proc >> dentry "/proc/$parent_process_pid/task/", that's because

Re: severe proc dentry lock contention

2020-06-18 Thread Matthew Wilcox
On Thu, Jun 18, 2020 at 03:17:33PM -0700, Junxiao Bi wrote: > When debugging some performance issue, i found that thousands of threads > exit around same time could cause a severe spin lock contention on proc > dentry "/proc/$parent_process_pid/task/", that's because threads needs to > clean up

severe proc dentry lock contention

2020-06-18 Thread Junxiao Bi
Hi, When debugging some performance issue, i found that thousands of threads exit around same time could cause a severe spin lock contention on proc dentry "/proc/$parent_process_pid/task/", that's because threads needs to clean up their pid file from that dir when exit. Check the following