Re: [RRC PATCH 2/2] vfs: Use per-cpu list for superblock's inode list

2016-02-17 Thread Waiman Long
On 02/17/2016 05:37 AM, Dave Chinner wrote: On Tue, Feb 16, 2016 at 08:31:20PM -0500, Waiman Long wrote: When many threads are trying to add or delete inode to or from a superblock's s_inodes list, spinlock contention on the list can become a performance bottleneck. This patch changes the s_ino

Re: [RRC PATCH 2/2] vfs: Use per-cpu list for superblock's inode list

2016-02-17 Thread Waiman Long
On 02/17/2016 02:16 AM, Ingo Molnar wrote: * Waiman Long wrote: When many threads are trying to add or delete inode to or from a superblock's s_inodes list, spinlock contention on the list can become a performance bottleneck. This patch changes the s_inodes field to become a per-cpu list with

Re: [RRC PATCH 2/2] vfs: Use per-cpu list for superblock's inode list

2016-02-17 Thread Dave Chinner
On Tue, Feb 16, 2016 at 08:31:20PM -0500, Waiman Long wrote: > When many threads are trying to add or delete inode to or from > a superblock's s_inodes list, spinlock contention on the list can > become a performance bottleneck. > > This patch changes the s_inodes field to become a per-cpu list wi

Re: [RRC PATCH 2/2] vfs: Use per-cpu list for superblock's inode list

2016-02-16 Thread Ingo Molnar
* Waiman Long wrote: > When many threads are trying to add or delete inode to or from > a superblock's s_inodes list, spinlock contention on the list can > become a performance bottleneck. > > This patch changes the s_inodes field to become a per-cpu list with > per-cpu spinlocks. > > With an

[RRC PATCH 2/2] vfs: Use per-cpu list for superblock's inode list

2016-02-16 Thread Waiman Long
When many threads are trying to add or delete inode to or from a superblock's s_inodes list, spinlock contention on the list can become a performance bottleneck. This patch changes the s_inodes field to become a per-cpu list with per-cpu spinlocks. With an exit microbenchmark that creates a large