All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerardo Arceri <elfarto@elfarto.com.ar>
To: lartc@vger.kernel.org
Subject: [LARTC] HTB High CPU Utilization
Date: Fri, 03 Dec 2004 20:41:43 +0000	[thread overview]
Message-ID: <41B0CF87.4050008@elfarto.com.ar> (raw)

[-- Attachment #1: Type: text/plain, Size: 835 bytes --]

Hi, i'm running a Bridge/iptables firewall, with no tc filters 
configured CPU utilization barely reaches 1%, i had to rate limit one 
particular server outgoing traffic and setup a HTB scheme like this

iptables -F PREROUTING -t mangle
iptables -A PREROUTING -t mangle -p tcp -s 99.99.99.99 -j MARK --set-mark 2
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 10: htb default 10
tc class add dev eth0 parent 10: classid 10:3 htb rate 1000kbit ceil 
1000kbit
tc filter add dev eth0 parent 10: protocol ip prio 3 handle 2 fw classid 
10:3

Now i'm seeing CPU Utilization beyond 30% and load averages of 0.79, the 
network total bandwidth is 20Mb/s.  The server is a linux kernel 
2.6.7-gentoo-r8  running on a P4 1.7 Ghz.
Is this normal behaviour ? is there any error in my configuration or in 
my kernel config ?
Thanks!


[-- Attachment #2: Type: text/html, Size: 1163 bytes --]

             reply	other threads:[~2004-12-03 20:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-03 20:41 Gerardo Arceri [this message]
2004-12-19 22:19 ` [LARTC] HTB High CPU Utilization ncrfgs
2004-12-20 21:43 ` Gerardo Arceri
2004-12-22 10:42 ` Stef Coene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41B0CF87.4050008@elfarto.com.ar \
    --to=elfarto@elfarto.com.ar \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.