From: Optimum Wireless Services <wilson@optimumwireless.com>
To: Andrew Beverley <andy@andybev.com>
Cc: netfilter@vger.kernel.org
Subject: Re: How can I test my tc script?
Date: Sun, 06 Feb 2011 19:27:25 -0400 [thread overview]
Message-ID: <1297034845.3928.23.camel@debian-laptop.OptimumWireless> (raw)
In-Reply-To: <1297011729.1613.50.camel@andybev>
Thanks again for replying.
On Sun, 2011-02-06 at 17:02 +0000, Andrew Beverley wrote:
> On Sun, 2011-02-06 at 12:35 -0400, Optimum Wireless Services wrote:
> > >
> > > I think that you should forget the per-user stuff as per my other email
> > > and classify traffic. Just my personal opinion - I'd be interested to
> > > hear what others think.
> >
> > I just need a way that would allow users to experience a reliable
> > connection that would always be 15% +- the contracted bandwidth.
> >
>
> You could buy some more upstream bandwidth ;-)
I wish we could buy more bandwidth but, is extremely expensive where I'm
at (Dominican Republic).
>
> Have you tried the scripts that Marek posted? That's your answer to
> limit per user.
Havent tried that script yet, will be doing so, later tonight or
tomorrow.
>
> > This turned to be more complicated than what I first thought.
> >
> > After adding the new ruleset, I added this little script to try to
> > prioritize some traffic, just installed it so, don't know yet how would
> > traffic behave:
>
> <snip>
>
> Herein lies your problem. If you want to prioritise traffic *and* limit
> per user, then it starts to get complicated. The rules that you posted
> will indeed rate limit different types of traffic, but you would need to
> do these in conjunction with your other HTB rules for the different
> users.
>
I just added those prioritising rules so, I will be removing them
immediately. Is hard to really notice how the ruleset are working since
there isn't an utility that can graph or show the actual traffic. I was
looking for tc-viewer but, can't find a link where to download it from.
> So you would need separate classes for users and traffic type. They'd
> have to be parents/children of each other, but which way round and how
> you would do it I do not know.
>
I figured I added the prio rules to the same parent rule I already had.
Thought that was the correct way to do it. So, I should create another
parent rule for ie; 3, and add the children under that to do traffic
prioritizing.
> All I'm saying is that you need to take this one step at a time. Getting
> a magic solution that does everything is not going to happen straight
> away (unless somebody tells me otherwise).
I agree with you.
>
> So, try the per user stuff on its own first. Maybe try the traffic
> prioritisation on its own as well. Check the results and take it from
> there.
>
> BTW - I don't think the traffic prioritisation scripts you posted will
> have much affect anyway: they are only really looking at DNS lookups and
> SSH, which isn't going to solve your problems.
>
I wanted to speed up dns lookups, icmps, SYN ACK flags, and ssh, for now
and later on add voip since I have an asterisk server on our network as
well.
I will remove the prioritising script and leave the last created ruleset
and see how things behave.
> Andy
>
>
next prev parent reply other threads:[~2011-02-06 23:27 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-03 2:17 How can I test my tc script? Optimum Wireless Services
2011-02-03 11:01 ` Marek Kierdelewicz
2011-02-03 14:13 ` Optimum Wireless Services
2011-02-03 15:06 ` Marek Kierdelewicz
2011-02-03 16:18 ` Optimum Wireless Services
2011-02-04 13:45 ` Optimum Wireless Services
2011-02-04 16:49 ` Optimum Wireless Services
2011-02-04 19:57 ` Optimum Wireless Services
2011-02-05 12:29 ` Andrew Beverley
2011-02-05 19:32 ` Marek Kierdelewicz
2011-02-05 19:29 ` Marek Kierdelewicz
2011-02-05 20:21 ` Marek Kierdelewicz
2011-02-06 0:05 ` Marek Kierdelewicz
2011-02-06 2:24 ` Optimum Wireless Services
2011-02-04 14:22 ` Michele Petrazzo - Unipex
2011-02-05 2:08 ` Andrew Beverley
2011-02-05 14:58 ` Marek Kierdelewicz
2011-02-05 16:37 ` Andrew Beverley
2011-02-05 16:48 ` good tutorial J Webster
2011-02-05 19:22 ` Andrew Beverley
2011-02-05 19:33 ` J Webster
2011-02-05 19:51 ` Bob Miller
2011-02-05 22:47 ` Andrew Beverley
2011-02-05 22:44 ` Andrew Beverley
2011-02-05 17:04 ` How can I test my tc script? Marek Kierdelewicz
2011-02-06 2:12 ` Optimum Wireless Services
2011-02-06 16:13 ` Andrew Beverley
2011-02-07 8:20 ` Michele Petrazzo - Unipex
2011-02-03 19:38 ` Andrew Beverley
2011-02-05 2:44 ` Optimum Wireless Services
2011-02-05 6:07 ` Optimum Wireless Services
2011-02-05 12:27 ` Andrew Beverley
2011-02-06 2:14 ` Optimum Wireless Services
2011-02-06 16:15 ` Andrew Beverley
2011-02-06 16:35 ` Optimum Wireless Services
2011-02-06 17:02 ` Andrew Beverley
2011-02-06 23:27 ` Optimum Wireless Services [this message]
2011-02-08 0:56 ` Andrew Beverley
2011-02-08 2:11 ` Optimum Wireless Services
2011-02-08 6:52 ` Andrew Beverley
2011-02-08 2:20 ` Optimum Wireless Services
2011-02-08 6:53 ` Andrew Beverley
2011-02-06 16:44 ` Marek Kierdelewicz
2011-02-06 23:31 ` Optimum Wireless Services
2011-02-08 0:58 ` Andrew Beverley
2011-02-05 12:35 ` Andrew Beverley
2011-02-06 2:17 ` Optimum Wireless Services
2011-02-06 15:54 ` Andrew Beverley
2011-02-06 16:28 ` Optimum Wireless Services
2011-02-06 17:11 ` Andrew Beverley
2011-02-06 23:33 ` Optimum Wireless Services
2011-02-08 1:01 ` Andrew Beverley
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=1297034845.3928.23.camel@debian-laptop.OptimumWireless \
--to=wilson@optimumwireless.com \
--cc=andy@andybev.com \
--cc=netfilter@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