| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | cpu optimalization settings in 2.6 and routing |
| From: | Andre Tomt <andre@xxxxxxxx> |
| Date: | Sat, 29 May 2004 07:25:32 +0200 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla Thunderbird 0.6 (Windows/20040502) |
Hi! I'm currently planning to do a sitewide deployment of Linux 2.6, and I'm taking the opportunity to clean up the kernel build setup we use at the same time. The goal is to get the number of kernel images down to a minimum. Question is: Does the cpu optimalization settings in kernel affect routing cache, interrupt overhead and conntracking? How much?
Three "base configurations" - server, router, natrouter. Everything we use as modules (where possible), using initrd to get boot-critical drivers up, no kmod. with the server profile beeing the base; router = server - highmem natrouter = router + nat + packet mangling + advanced routing (policy routing) Reasoning behing this is that NAT makes the conntrack structures in memory bloat a lot per tracked connection. Policy routing I think also bloats the routing structures. All this can be critical on routers and servers that run their own local firewalling, especially under attack. from theese three configurations, a kernel-image package for each of the cpu types of "i586", "p3", "k7", "p4" and "p4smp" is generated. Current battle plan is to cut the base configurations down to "standard" and "natrouter". Ordinary routers have to do with the standard profile, as we expect to gain more just by running 2.6 than what we would have lost with adding highmem. KISS beeing the main driving factor. So far, so good. Then to drop the per cpu type images. The plan here is to just have CONFIG_M586 + CONFIG_X86_GENERIC. One with SMP/HT, one without. ie "i586" and "i586smp". For servers, thats probably just fine. They spend most of their time in userspace anyway. And they gain on things like NPTL. But then there is the routers. They spend 99.9% of their time in kernel space. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Bug#251215: kernel-image-2.6.6-1-k7: pppd locks up, cannot be killed, during ppp shutdown, Herbert Xu |
|---|---|
| Next by Date: | Re: [Prism54-devel] Re: [PATCH 0/14] prism54: bring up to sync with prism54.org cvs rep, Luis R. Rodriguez |
| Previous by Thread: | Re: Bug#251215: kernel-image-2.6.6-1-k7: pppd locks up, cannot be killed, during ppp shutdown, Herbert Xu |
| Next by Thread: | Re: [Prism54-devel] Re: [PATCH 0/14] prism54: bring up to sync with prism54.org cvs rep, Luis R. Rodriguez |
| Indexes: | [Date] [Thread] [Top] [All Lists] |