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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Tuesday, November 3, 2009 - 3:28 pm

Greg KH <greg@kroah.com> writes:


Definitely.  Of the three proc sysctl and sysfs.  sysctl tends to have
the worst costs across the board.  They are all rarely used so a lot
of what gets hit when scaling are rare path events that even the most
horrible code works fine on small systems.

Usually slow registration times indicate an O(N^2) or worse data
structure for filename lookup.

Eric
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] sysctl: reduce ram usage by 40 %, Eric Dumazet, (Tue Nov 3, 12:01 am)
Re: [PATCH] sysctl: reduce ram usage by 40 %, Eric W. Biederman, (Tue Nov 3, 3:23 am)
Re: [PATCH 1/3] sysfs directory scaling: rbtree for dirent ..., Eric W. Biederman, (Tue Nov 3, 3:28 pm)