All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tuure Vartiainen <tuure.vartiainen@tut.fi>
To: lartc@vger.kernel.org
Subject: [LARTC] "htb: too many events !"?
Date: Mon, 08 Oct 2007 07:02:25 +0000	[thread overview]
Message-ID: <4709D601.5010406@tut.fi> (raw)

Hello.

I have a benchmark setup where I try to shape the traffic of
3000 concurrent tcp connection using HTB and hash tables.

The machine doing the shaping is running Debian 4.0 with Linux kernel 
2.6.18 and has two 1 Gbps ethernet interfaces (in and out).
During the testing everything is going fine for couple of minutes but 
after that kernel's ring buffer starts to fill of
"htb: too many events !" messages and total throughput drops to 1/3 of 
original speed.

The code of htb_do_events(struct htb_sched *q, int level) function in 
net/sched/sch_htb.c don't really comment it's self at least not for me :).

So in what kind of situations the for loop inside
htb_do_events(struct htb_sched *q, int level) function
does not return in 500 (magic number?) rounds and kernel warning
"htb: too many events !" will be printed?

Any ideas?


BR
-- 
Tuure Vartiainen
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

                 reply	other threads:[~2007-10-08  7:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4709D601.5010406@tut.fi \
    --to=tuure.vartiainen@tut.fi \
    --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.