Re: [PATCH 1/3] sysfs directory scaling: rbtree for dirent name lookups



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/



Relevant Pages

  • Re: Modernizing Common Lisp
    ... standard supported bindings. ... models and socket abstractions that are common enough for standardization. ... hard to inject libraries to write portable code is a good thing? ... but with incompatible interfaces (sort of like the problem ...
    (comp.lang.lisp)
  • Re: Interfaces and Events
    ... You can certainly include events within interfaces. ... It's not terribly common, but it makes sense in certain situations. ... reusable plugin framework, but can't seem to accomplish this). ... I'll create interfaces which are implemented in the main app, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Interface suggestions
    ... > The same goes for the common dialogs. ... > they should try to provide similar interfaces so the user does not ... > They are all tabbed dialogs. ... > another dialog (see how Display Properties uses combos). ...
    (microsoft.public.dotnet.languages.vb)
  • Re: common dialog on vista
    ... Looking at the Microsoft docs, ... what DLL houses the interfaces, which is odd, but it ... possible to have a vbscript open a Common Dialog in Vista, ... I read that in Vista it has been replaced with the Common Item Dialog, ...
    (microsoft.public.scripting.vbscript)