LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Matthew Moyle-Croft <mmc@mmc.com.au>
  To  : Ryan Verner <xfesty@computeraddictions.com.au>
  Date: Tue, 08 Jul 2003 23:23:36 +0930

Re: ADSL Shaper

> Hmm.  Playing with this now; I can't get much to happen; the main goal is to
> keep my ssh session nice and perky even if I'm downloading via http/ftp.

These rules help - but my main problem is outgoing web traffic NOT incoming.

> Downloading files by both ftp/http both make ssh laggy as hell (5-6 seconds
> before any text pops up), and playing around with minimising values in those
> scripts (i.e. downstream/upstream quartered), it doesn't affect the download
> speed, as it should (as far as I can see).

Indeed - they can't really.  Only way to affect d/l speed really is to 
have a packeteer or foursticks box to tweak tcp windows etc assuming 
it's tcp traffic.  Since you don't control the other end ...

What you CAN do is modify the scripts and do the following:

- assume you have a linux box with 2 ethernet (eth0, eth1)
- eth1 is connected to internet
- eth0 is connected to local lan

Add a separate set of queues and filters for eth0 and chomp THEIR 
computers down (look at wondershaper for the other direction stuff).

See if you can make it appear to THEIR tcp/ip stacks as though they 
don't have 512k.  It might mean you chuck good packets but give it a go.

ie. set yourself as the "5" and them as "15" etc.  mess with the values 
to see how it works.

> (I share a house with other people...  they like downloading lots, and lots,
> and lots.  Trying to do work stuff via ssh is virtually impossible :( - hence
> why I want to packet shape, and was partially my drive to get DSL in the first
> place).

get different people.  only way really.  or get their own link.

> So things are somewhat different.

See above.  If you've still got issues then either, email me and I'll 
help you with the suggestion above or just disconnect their computers 
from the switch when you're wanting to work ....

> 
> Any clues (I'll keep playing...)?
> 
> R
> 
> 
>>Maybe better to mark based on the incoming interface (-i eth0 for 
>>example)
>>-- 
>>Matthew
>>--
>>Matthew@Moyle-Croft.com    | mmc@mmc.com.au        |   
>> mmc@206gti.net http://www.Moyle-Croft.com | http://www.mmc.com.au | 
>>http://206gti.net
> 
> 
> 
> --
> Open WebMail Project (http://openwebmail.org)


-- 
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page