Re: 2.6.10-mm3 scaling problem with inotify

From: John Hawkes
Date: Fri Jan 14 2005 - 13:07:19 EST


From: "Robert Love" <rml@xxxxxxxxxx>
...
> John Hawkes: Attached patch implements the dget() optimization in the
> same manner as dnotify. Compile-tested but not booted.
>
> Let me know!
...
> inotify: don't do dget() unless we have to
>
> drivers/char/inotify.c | 14 +++++++++++---
> 1 files changed, 11 insertions(+), 3 deletions(-)

The patch shows a substantial 4x improvement for my specific workload (@64p),
although I can still envision workloads that will stimulate high spinlock
contention from spin_lock(&dentry->d_lock). First things first -- let's get
this fix into the -mm tree. Thanks!

John Hawkes

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/