No problems and no issues, but a question this list would probably best answer. Does anyone have a link/book they like that gives some advice on kernel parameters specifically for a router. It''s kernel 2.4. I have a Sangoma with dual T1''s (ppp /w tc load balancing) running wanpipe. The machine is pretty darn good (dual-hyper-threaded-Xenon-and-4 Gig-of-ram-and-mirrored-serial-drives etc etc). I''m embarrassed admitting I have such a nice machine working as a leaf router... and only in forward mode too. Obviously I know a little about iproute2, firewalling and how to compile a kernel, or it wouldn''t work. A link that would let me actually use some of the machines capabilities though would be helpful. Kernel tweaks to use the memory better... You probably know better than me. I appreciate your expertise and assistance! -Mike _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi, high speed traffic shaping works much more accurate if you set: CONFIG_HZ=500 in /usr/src/linux/.config And in /usr/src/linux/include/net/pkt_sched.h #define PSCHED_CLOCK_SOURCE PSCHED_CPU Accourding to my experience, the above settings improve high speed network stuff enormously. About memory allocation: When using huge netfilter configuration (> 30000 lines), there seems to be a possible "unable to allocate memory" issue, I think it might be caused by kmalloc trying to allocate a continuous region. I''m not sure about it, but if this is the case it could be solved by using vmalloc in stead of kmalloc. Any comments from anyone here about the malloc stuff? Good luck, Jeroen. On Fri, 19 Mar 2004 10:06:32 -0500 "Michael Peppard" <mpeppard@impole.com> wrote:> No problems and no issues, but a question this list would probably best > answer. > > Does anyone have a link/book they like that gives some advice on kernel > parameters specifically for a router. It''s kernel 2.4. > > I have a Sangoma with dual T1''s (ppp /w tc load balancing) running wanpipe. > The machine is pretty darn good (dual-hyper-threaded-Xenon-and-4 > Gig-of-ram-and-mirrored-serial-drives etc etc). I''m embarrassed admitting I > have such a nice machine working as a leaf router... and only in forward > mode too. > > Obviously I know a little about iproute2, firewalling and how to compile a > kernel, or it wouldn''t work. A link that would let me actually use some of > the machines capabilities though would be helpful. Kernel tweaks to use the > memory better... You probably know better than me. > > I appreciate your expertise and assistance! > > -Mike > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
It will not be easy to use all power of such computer. You may install squid and do transparent caching, also you can install xvnc server and use it as desktop computer. usefull to download something with amule, and other very big files ower night. anyway all such job can be done with PII 350mhz and 128mb of ram there is nothing to tweak in kernel I suppose you already compiled multiple cpu support. ----- Original Message ----- From: "Michael Peppard" <mpeppard@impole.com> To: <lartc@mailman.ds9a.nl> Sent: Friday, March 19, 2004 5:06 PM Subject: [LARTC] Kernel Settings> No problems and no issues, but a question this list would > probably best > answer. > > Does anyone have a link/book they like that gives some advice on kernel > parameters specifically for a router. It''s kernel 2.4. > > I have a Sangoma with dual T1''s (ppp /w tc load balancing) runningwanpipe.> The machine is pretty darn good (dual-hyper-threaded-Xenon-and-4 > Gig-of-ram-and-mirrored-serial-drives etc etc). I''m embarrassed admittingI> have such a nice machine working as a leaf router... and only in forward > mode too. > > Obviously I know a little about iproute2, firewalling and how to compile a > kernel, or it wouldn''t work. A link that would let me actually use some of > the machines capabilities though would be helpful. Kernel tweaks to usethe> memory better... You probably know better than me. > > I appreciate your expertise and assistance! > > -Mike > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
It may be fixed with newer kernels, but just in case it isn''t, disable your page file. At some points, my Oracle servers running RH AS 2.1 went absolutely dark for hours.. Damn kswapd! By default the system will use the memory for disk caching and buffer caching. In your case, if there isn''t much traffic, then reallocate it! Put it on your desktop if its not too noisy. If you keep it as the firewall, you can at least say that it was cheaper than a Cisco :-) I''m sure there are many more ways to enjoy your excessive hardware purchase in different ways. Just use your imagination and it WILL happen. Michael Peppard wrote:> No problems and no issues, but a question this list would probably > best answer. > > Does anyone have a link/book they like that gives some advice on > kernel parameters specifically for a router. It''s kernel 2.4. > > I have a Sangoma with dual T1''s (ppp /w tc load balancing) running > wanpipe. The machine is pretty darn good > (dual-hyper-threaded-Xenon-and-4 > Gig-of-ram-and-mirrored-serial-drives etc etc). I''m embarrassed > admitting I have such a nice machine working as a leaf router... and > only in forward mode too. > > Obviously I know a little about iproute2, firewalling and how to > compile a kernel, or it wouldn''t work. A link that would let me > actually use some of the machines capabilities though would be > helpful. Kernel tweaks to use the memory better... You probably know > better than me. > > I appreciate your expertise and assistance! > > -Mike > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: > http://lartc.org/_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/