Our system has potentially a few thousand firewall rules and HTB classes. I need to find out the amount of memory these things consume: - iptables firewall rules - HTB classes If anyone has any easy links to this information, that would be great. Failing that, a pointer to a good place to look in the source code would be very helpful. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
You should not be concerned about memory load, it does not cost that much cpu load will be more noticeable bottleneck for your system in any way. as about memeory i suppose it takes about 50-100bytes each rule and up to 100 kbytes each queue like sfq. ----- Original Message ----- From: "Patrick Turley" <pturley@rocksteady.com> To: <lartc@mailman.ds9a.nl> Sent: Monday, April 19, 2004 7:09 PM Subject: [LARTC] Memory Loading> Our system has potentially a few thousand firewall rules and > HTB > classes. I need to find out the amount of memory these things consume: > > - iptables firewall rules > - HTB classes > > If anyone has any easy links to this information, that would be great. > Failing that, a pointer to a good place to look in the source code would > be very helpful. > _______________________________________________ > 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/
Thanks for your response. Unfortunately, I *am* concerned about memory load, and I need to track down this information. The approximate numbers you suggested seem reasonable, but I need the precise answers. I don''t use SFQ at all. Roy wrote:> You should not be concerned about memory load, it does not cost that much > cpu load will be more noticeable bottleneck for your system in any way. > > as about memeory i suppose it takes about 50-100bytes each rule and up to > 100 kbytes each queue like sfq. > > > ----- Original Message ----- > From: "Patrick Turley" <pturley@rocksteady.com> > To: <lartc@mailman.ds9a.nl> > Sent: Monday, April 19, 2004 7:09 PM > Subject: [LARTC] Memory Loading > > > >>Our system has potentially a few thousand firewall rules and >>HTB >>classes. I need to find out the amount of memory these things consume: >> >> - iptables firewall rules >> - HTB classes >> >>If anyone has any easy links to this information, that would be great. >>Failing that, a pointer to a good place to look in the source code would >>be very helpful. >>_______________________________________________ >>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/