Skip to contentSkip to conversation

Memory Loading

LARTC Patrick Turley 2 participants 3 messages Apr 19, 2004

lore
Share & tools
lore
#0 lore raw

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

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" <[email protected]>
To: <[email protected]>
Sent: Monday, April 19, 2004 7:09 PM
Subject: [LARTC] Memory Loading

Quoted 7 lines

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

Quoted 7 lines

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to Patrick Turley

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.

Quoted 7 lines · Roy

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.

Quoted 25 lines

----- Original Message -----
From: "Patrick Turley" <[email protected]>
To: <[email protected]>
Sent: Monday, April 19, 2004 7:09 PM
Subject: [LARTC] Memory Loading

Quoted 14 lines

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/