| To: | Ben Greear <greearb@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] support for large number of network devices. |
| From: | Stephen Hemminger <shemminger@xxxxxxxx> |
| Date: | Tue, 13 Jan 2004 16:38:28 -0800 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <40048BFD.4010303@candelatech.com> |
| Organization: | Open Source Development Lab |
| References: | <20040113154610.38f5934c.shemminger@osdl.org> <40048BFD.4010303@candelatech.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Tue, 13 Jan 2004 16:23:25 -0800 Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote: > Stephen Hemminger wrote: > > When using pseudo network devices, and really big machines; there is > > sometimes a need to have a lot of network devices. This replaces the > > existing 2.6.1 limit of 100 entries an was O(n^2) > > with a algorithm that will handle up to 32768 entries with O(n) behaviour. > > Might be a good time to put in hash tables to find network devices by > name and by device-id. There are a few parts of the networking stack > that do lookups, and walking the device list when it's 4k entries > long takes a while... I have a patch for name hashing, but don't know if it's needed. Even without it I can add 9 thousand bridge entries, and each one takes longer to start the command than add the entry now. |
| Previous by Date: | Re: [PATCH][ATM]: [nicstar] convert to new style pci module (by "Jorge Boncompte [DTI2]" <jorge@dti2.net>), David S. Miller |
|---|---|
| Next by Date: | Re: [PATCH] (1/5) replay netdev notifier events on registration, David S. Miller |
| Previous by Thread: | Re: [PATCH] support for large number of network devices., Ben Greear |
| Next by Thread: | Re: [PATCH] support for large number of network devices., Ben Greear |
| Indexes: | [Date] [Thread] [Top] [All Lists] |