Skip to contentSkip to conversation

System Load

DISCUSSION Rohit 4 participants 4 messages Nov 14, 2003 – Nov 17, 2003

lore
Share & tools
lore

Rohit

author
#0 lore raw

Hi,
Is it possible to know how much system resources (cpu/memory load) that the
netfilter module(s) is using? We are using HTB to shape our client traffic and there are 4 iptables rule for each client in the mangle table. I think it will be helpful to gather such data and graph it using mrtg.

I'm really sorry if someone has already asked about it. Thanks a lot.

with regards,
Rohit Nepali

#1 lore raw
Quoted 6 lines · Rohit

Hi,
Is it possible to know how much system resources (cpu/memory load) that the
netfilter module(s) is using? We are using HTB to shape our client traffic and there are 4 iptables rule for each client in the mangle table. I think it will be helpful to gather such data and graph it using mrtg.

Just remember, iptables is only used to mark the traffic. tc is used to classify and shape the traffic.

Quoted 5 lines

I'm really sorry if someone has already asked about it. Thanks a lot.

with regards,
Rohit Nepali

Signature · 7 lines
--
Raymond Leach <[email protected]>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD  00EE 8757 EE47 F06F FB28
--
#2 lore raw
Quoted 10 lines · Ray Leach
Quoted 6 lines · Rohit

Hi,
Is it possible to know how much system resources (cpu/memory load) that
the netfilter module(s) is using? We are using HTB to shape our client traffic and there are 4 iptables rule for each client in the mangle table. I think it will be helpful to gather such data and graph it using mrtg.

Just remember, iptables is only used to mark the traffic. tc is used to classify and shape the traffic.

Yeah you are right. But iptables must be using some resources(like cpu time etc) to mark the each and every packet. We have around 2-3 Mbps traffice flowing at each interface and I think that does consume some system resources. That is what I want to know about.

I guess it sound very foolish now :)

regds,
Rohit

Quoted 6 lines
Quoted 6 lines

I'm really sorry if someone has already asked about it. Thanks a lot.

with regards,
Rohit Nepali

#3 lore raw
Quoted 9 lines · On Monday 17 November 2003 11:54 am, [email protected] wrote:
Quoted 8 lines · Ray Leach
Quoted 6 lines · Rohit

Hi,
Is it possible to know how much system resources (cpu/memory load)
that the netfilter module(s) is using? We are using HTB to shape our client traffic and there are 4 iptables rule for each client in the mangle table. I think it will be helpful to gather such data and graph it using mrtg.

Quoted 7 lines
Quoted 2 lines

Just remember, iptables is only used to mark the traffic. tc is used to classify and shape the traffic.

Yeah you are right. But iptables must be using some resources(like cpu time etc) to mark the each and every packet. We have around 2-3 Mbps traffice flowing at each interface and I think that does consume some system resources. That is what I want to know about.

Presumably your traffic is not continuous, 24 hours a day, so here's a suggestion:

Measure your system load when the traffic is at its lowest (middle of the night perhaps?), and at its highest, then compare the two.

My guess is that with 2-3Mbits/sec you will hardly notice a thing. Unless
your netfilter is running on a 486 I don't think you'll be able to measure it (and even then I think it would do a perfectly good job).

Antony.

Signature · 6 lines
Documentation is like sex:
when it's good, it's very very good;
when it's bad, it's still better than nothing.

                                                     Please reply to the list;
                                                           please don't CC me.