All of lore.kernel.org
 help / color / mirror / Atom feed
From: Radu Oprisan <radu@securesystems.ro>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB policing affects shaping performance? Please, help.
Date: Wed, 14 Feb 2007 21:01:02 +0000	[thread overview]
Message-ID: <45D3788E.2050504@securesystems.ro> (raw)
In-Reply-To: <20070214135031.21a9765c@ns1.ctn.sk>

Bc.Slavomir Danas wrote:
 > I'm trying to access shared folders (samba) on ip 10.4.10.10 from my
> laptop with ip 172.16.0.2.
> Everything works as expected when downloading or uploading (correctly
> shaped and policed at 1Mbit). But when I try to download and upload at
> the same time, my speed drops down rapidly on both download and upload
> (approx. 350kbit and 550kbit). I tried to replace tc filter with
> iptables CLASSIFY but with the same result.
> What is the correct approach when configuring separate queues with
> guaranteed rate without affecting each other?


Your setup is ok. The only problem you are facing is that samba is a
very "chatty" program, it tends to communicate a lot outside of simply
downloading something. What i am trying to say is that, you will have
some upload when in reality you are downloading something. This being
true, when you begin uploading something, your upload line becomes full
and, the upload chat for the download slows down, this in turn slowing
down your download. I'm sorry if what I'm saying is hard to read. Try
using some other protocol to run your tests. I was using for this
purpose a Linux utility but i can't remember how it was called.

--
Radu Oprisan
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  reply	other threads:[~2007-02-14 21:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-14 13:50 [LARTC] HTB policing affects shaping performance? Please, help Bc.Slavomir Danas
2007-02-14 21:01 ` Radu Oprisan [this message]
2007-02-16 11:27 ` Grzegorz Chwesewicz

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=45D3788E.2050504@securesystems.ro \
    --to=radu@securesystems.ro \
    --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.