Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Martin Devera <devik@cdi.cz>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] tc causes errors on HTML downloads
Date: Fri, 24 May 2002 13:10:26 +0000	[thread overview]
Message-ID: <marc-lartc-102224590028603@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102219063224043@msgid-missing>

Use IMQ. I will allow you it.

On Fri, 24 May 2002, Jason Hunter wrote:

> Devik -
>
> Actually, I didn't realize that the shaping only shapes on egress.  That is interesting.  I assume this can be somewhat overcome by applying queues to both interfaces, however, this doesn't provide exactly the same simulation.  That is to say, if I am trying to simulate a bounded connection of 1200bps shared between the upload and the download (e.g. a modem) then there isn't a direct way to do this, unless you can filter traffic in both directions into the same queue?
>
>
> >  tc class add dev eth0 parent 1:0 classid 1:$k cbq bandwidth    		   \
> > 100Mbit rate 1200bps weight 1 prio 8 allot 1514 cell 8 maxburst 100 avpkt  \
> > 1000 bounded
>
> As for the errors, I think that I have tracked them down to the maxburst value of 100 in my second level cbq queues.  I adjusted this value to between 3 and 5, and got much better results.
>
> - Jason
>
>  -----Original Message-----
> From: 	Martin Devera [mailto:devik@cdi.cz]
> Sent:	Friday, May 24, 2002 4:27 AM
> To:	Jason Hunter
> Cc:	lartc@mailman.ds9a.nl
> Subject:	Re: [LARTC] tc causes errors on HTML downloads
>
> Probably you will have to do closer look (tcpdump
> and tcptrace).
> >From my experiance I'd not believe CBQ much but without
> closer expertise it is hard to say what's goin' on.
> Also you tried to add IP adresses as both SRC and DST
> which is nonsense to do on single interface. It seems
> like if you don't understand that shaping shapes egress
> traffic only.
> devik
>
>
>
>
>

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2002-05-24 13:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-23 21:49 [LARTC] tc causes errors on HTML downloads Jason Hunter
2002-05-24  8:26 ` Martin Devera
2002-05-24 13:07 ` Jason Hunter
2002-05-24 13:10 ` Martin Devera [this message]

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-102224590028603@msgid-missing \
    --to=devik@cdi.cz \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox