[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[altq 688] How to configure altq as a RED router




My name is Tatsuhiko Terai.
I'm a beginner of altq and studying with README or TIPS

I'd like to ask some question about configuring altq as
a RED router.

I'd like to use ALTQ as below.

+-------+          +----------------+           +---------+
+Server +----------+RED router(ALTQ)+-----------+Client   + 
+-------+1000Base  +-------+--------+1000Base   +---------+
   (ti0)          (ti0)           (ti1)        (ti0)   
192.168.0.1    192.168.0.2         192.168.1.2    192.168.1.1       
                           

Router machine have two Tigon Gigabit Ethernet card and 100Base
Ethernet card.


I'm trying to use RED router, since I want the "Packet loss 
(dropping) case" to set RED router between server and client.

Without ALTQ working, the result of TCP throughput using netperf is
below
      Sender and Receiver's buffer size : 1048576 byte
      Server -- router : 630 Mbps
      Server -- router -- Client : 350 Mbps

I think this decrease of throughput is because of PC router overhead
(Is it right? I wonder)

When configuring ALTQ as a RED router above network topology,
May I simply write to /etc/rc.conf below ? (without consindering 
RED tuning parameter (min_th, max_th or so)
  interface ti0 bandwidth 1000M red
  interface ti1 bandwidth 1000M red

And how can I know the default RED parameter ?

Thanks for reading my long question in broken English.
Please give me some advise.

Thanks.