All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Wildgoose <lists@wildgooses.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] patch: HTB update for ADSL users
Date: Sat, 19 Jun 2004 12:29:32 +0000	[thread overview]
Message-ID: <40D431AC.3080309@wildgooses.com> (raw)
In-Reply-To: <40D2D5CB.2000804@wildgooses.com>


> I still think that you need to throttle back on down rates - when 
> really full you may find that new/bursty connections mean that you 
> loose control of the queue. Of course having twice as much bandwidth 
> always helps.


Agree that it might be best in practice, but baring the initial surge 
you can now really crank everything up to the limit.  Actually, just 
starting one or two connections (wget), I didn't notice more than a 
slight blip on ping speeds on startup - for single users you could 
probably leave it quite close to the max (as long as you can tolerate 
very brief increases in latency)


> I am only testing uploads - looking at some more pings, it does appear 
> that they are not quite as random as they were - but apart from the 
> odd double dequeue (in a way I think you can expect this with HTB 
> using quanta/DRR rather than per byte), the max is right. I suspect 
> this is nothing to do with ISP/Teleco end. I could actually do 
> slightly better on my latency, but I am running at 100Hz - and I can 
> tell with pings - they slowly rise then snap down by 10ms. This is 
> nothing to do with TC, I normally run 500 but forgot to set it for 
> this kernel.


Aha, I switched off the HTB_HYSTERIS option and now my pings are nailed 
to the floor.  I'm also on a 2.6 kernel which I *think* means 1000Hz 
scheduling by default? 

> My downlink is clear, I am using 1478 MTU (so I don't waste half a 
> cell per packet). Just did another hundred to my first hop -


Hmm, quick question.  I'm using Nildram as ISP, and I can't ping at more 
than 1430 packet sizes and non-fragment bit set.  However, according to 
iptraf on the bridge (behind adsl router), I am receiving 1492 byte 
packets quite regularly...  Since the ADSL router is doing NAT, does 
this likely imply that it is doing packet reassembly before the bridge 
sees each packet?

I just changed the MTU on the router, but I don't see any difference in 
the size of packets.  Shouldn't the router MTU be enough to trigger the 
initial connection to drop to a smaller MTU?  Do I need to apply MTU 
changes to all host machines here..? (My understanding is not)


> Been going for 7 hours now - I started a couple of games and 60 small 
> pps didn't cause any problems.


Perhaps a small perl script to do something like contact your local SMTP 
server, setup the connection to start the body of the message, then feed 
the message in 1 byte pieces (perhaps a random message with crlf every 
100 chars or so).  This should give lots of mostly empty packets.  
Perhaps this can be done with the ping flood option as well...?


>> Basically, HTB in both directions.  RED on the incoming stream (works 
>> nicely).  Outgoing classifies into 10 buckets, and ACK + ping are 
>> definitely going out ok in the top prio bucket, and the rest is going 
>> out in the prio 10 bucket....  But still these high pings...  Hmm
>>
>
> I did find in the worst case I could do better than RED (not much 
> though) and now I do per IP for bulk so Its harder to get the right 
> settings with more than one RED, that may have different bandwidths at 
> any given time. I also reduced the number of classes so each could 
> have a higher rate.


Can you describe a little more about how you are improving on RED? 

I would quite like to tweak the incoming to have 3 buckets.  One for 
ACK's etc, the second for normal incoming and the last for bulk 
incoming.  The idea would be to drop the bulk in preference to the 
normal incoming.  I appreciate this won't work all that well, but it 
would be nice to say that my web browsing takes slight preference over a 
bulk ftp download. Or perhaps that incoming connections to a server 
machine take big preference over downloads to a local client machine 
(think office environment).

I would be interested on your ideas to achieve that.

Thanks Andy.

Ed W


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

  parent reply	other threads:[~2004-06-19 12:29 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-18 11:45 [LARTC] patch: HTB update for ADSL users Ed Wildgoose
2004-06-18 21:43 ` Andy Furniss
2004-06-18 23:00 ` Ed Wildgoose
2004-06-19  0:33 ` Andy Furniss
2004-06-19 12:29 ` Ed Wildgoose [this message]
2004-06-19 12:54 ` syrius.ml
2004-06-19 13:40 ` Ed Wildgoose
2004-06-20  7:27 ` Jason Boxman
2004-06-20 12:31 ` Andy Furniss
2004-06-20 13:16 ` Ed Wildgoose
2004-06-20 16:46 ` Ed Wildgoose
2004-06-20 17:10 ` Ed Wildgoose
2004-06-21  6:08 ` Jason Boxman
2004-06-21 10:04 ` Ed Wildgoose
2004-06-22  0:38 ` Damion de Soto
2004-06-22  5:15 ` Jason Boxman
2004-06-22  9:54 ` Ed Wildgoose
2004-06-22 10:00 ` Ed Wildgoose
2004-06-22 17:16 ` Jason Boxman
2004-06-22 21:52 ` Jason Boxman
2004-06-23 12:52 ` ThE LinuX_KiD
2004-06-23 14:00 ` Ed Wildgoose

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=40D431AC.3080309@wildgooses.com \
    --to=lists@wildgooses.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.