Re: [PATCH 1/3] sysfs directory scaling: rbtree for dirent name lookups
- From: Octavian Purdila <opurdila@xxxxxxxxxxx>
- Date: Tue, 3 Nov 2009 18:38:47 +0200
On Tuesday 03 November 2009 18:07:15 you wrote:
What kind of test are you doing to reproduce this?
Its curious because in my tests the biggest problems come from
kernel/sysctl.c (__register_sysctl_paths) consuming 80% of cpu
in following attempt to create 20.000 devices
(disable hotplug before trying this, and ipv6 too !)
modprobe dummy numdummies=20000
I believe we should address __register_sysctl_paths() scalability
problems too.
But registering 20000 devices is a far different problem from using
those 20000 devices :)
I think the "use the device" path should be the one we care the most
about fixing up, as that is much more common than the register path for
all users.
For sysctl in general probably, but I would argue that for dynamic network
interfaces (ppp and other sorts of tunnels) the "use" and "register" paths are
not that unbalanced.
For our case where we use up to 128K interfaces, sysctl entries per network
interface is pretty much unusable - but I agree that is not a very common case
:)
However [1] is not so far fetched.
[1] http://www.spinics.net/lists/netdev/msg110392.html
Thanks,
tavi
--
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/
- References:
- [PATCH 1/3] sysfs directory scaling: rbtree for dirent name lookups
- From: Benjamin LaHaise
- Re: [PATCH 1/3] sysfs directory scaling: rbtree for dirent name lookups
- From: Eric Dumazet
- Re: [PATCH 1/3] sysfs directory scaling: rbtree for dirent name lookups
- From: Greg KH
- [PATCH 1/3] sysfs directory scaling: rbtree for dirent name lookups
- Prev by Date: [PATCH v10 1/1] virtio_console: Add support for multiple ports for generic guest and host communication
- Next by Date: Re: [PATCH 1/14] cpumask: simplify sched_rt.c
- Previous by thread: Re: [PATCH 1/3] sysfs directory scaling: rbtree for dirent name lookups
- Next by thread: Re: [PATCH 1/3] sysfs directory scaling: rbtree for dirent name lookups
- Index(es):
Relevant Pages
|