Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Fernando Lemos de Mello" <mello@lcs.poli.usp.br>
To: lartc@vger.kernel.org
Subject: [LARTC] TBF to limit bandwidth, Should I change #define HZ?
Date: Fri, 30 Aug 2002 20:52:38 +0000	[thread overview]
Message-ID: <marc-lartc-103074075811159@msgid-missing> (raw)

Dear friends,

thanks for the last advices about TBF.

After reading the tbf.pdf document I got a better insight of the problems I
had trying to limit the bandwith on my testbed with a high resolution.

The question I have now is:
Would I get an immediatly better resolution result if I change the #define
HZ to 1000 for my Linux box? I have a Pentium Celeron 700 MHz, and I would
like to see the tbf working like:

send a 1000 bytes packet -> wait 10ms -> send a 1000 bytes packet -> wait
10ms ....

So if I change the file /usr/src/linux/include/asm-i386/param.h: #define HZ
100 to #define HZ 1000 and simply recompile the kernel, would tc work with
better resolution?

Thanks again,

Fernando.


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

             reply	other threads:[~2002-08-30 20:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-30 20:52 Fernando Lemos de Mello [this message]
2002-08-31 11:28 ` [LARTC] TBF to limit bandwidth, Should I change #define HZ? bert hubert

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-103074075811159@msgid-missing \
    --to=mello@lcs.poli.usp.br \
    --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