All of lore.kernel.org
 help / color / mirror / Atom feed
From: don-lartc@isis.cs3-inc.com (Don Cohen)
To: lartc@vger.kernel.org
Subject: Re: [LARTC] sfq, queue len and dropped packets
Date: Thu, 11 Apr 2002 18:33:45 +0000	[thread overview]
Message-ID: <marc-lartc-101855025306839@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101845196916261@msgid-missing>

Mihai RUSU writes:
 > > Also, the constant high backlog probably indicates that you're
 > > just getting input faster than you can forward it.  In that case
 > > increasing the queue length won't result in many fewer drops.
 > > It will just increase average delay.
 > 
 > I see. What exactly do you mean with getting input faster than output? I
One example is that you have two interfaces, one is limited (either by
hardware or software) to 10Mbps and the other to 1Mbps.  Then if
traffic arrives on the faster one at, say, 2Mbps, you clearly won't be
able to forward it all out the slower one.  In that case you'd end up
with lots of dropped packets and long queues.

 > mean the SFQ class is on a CBQ which limits them already, do you mean that
 > even so the kernel tries to enqueue() more packets than the system (SFQ)
 > can deal with?
 > In that case I would have to see a high load on that computer but the load
 > its lower than 0.5 usually.
Unless you have either an unusually fast network or an unusually slow
computer, the bottleneck is more likely in the network than the cpu.

 > I usually dont have problems hacking into C programms but I dont get it
 > what does that comment means, with the 4k page limit. I mean I need a
 > formula to calculate to see if I would get over that 4k limit.
I think that increasing the 128 will require you to change the type
from char to int.  One of those arrays has 2 * sfq_depth elements.
The code could be fixed to not require changing the type until you
go over sfq_depth 256, but I think it'll be easier for you to just
change the type and not worry about it.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2002-04-11 18:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-10 15:26 [LARTC] sfq, queue len and dropped packets Mihai RUSU
2002-04-10 16:19 ` Stef Coene
2002-04-10 18:55 ` Don Cohen
2002-04-11 18:17 ` Mihai RUSU
2002-04-11 18:33 ` Don Cohen [this message]
2002-04-12  6:55 ` Mihai RUSU

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=marc-lartc-101855025306839@msgid-missing \
    --to=don-lartc@isis.cs3-inc.com \
    --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.