Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2001 16:44:20 -0400 (EDT)
From:      Kenneth Wayne Culver <culverk@wam.umd.edu>
To:        Luigi Rizzo <rizzo@aciri.org>
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: altq question.
Message-ID:  <Pine.GSO.4.21.0110181631240.22496-100000@rac2.wam.umd.edu>
In-Reply-To: <20011018105017.A82131@iguana.aciri.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> either you have set the bandwidth wrong (does "ipfw pipe show"
> list the speed you want for the pipes ? can you post its
> output ?) or you are doing the measurement on a saturated link,
> in which case when you use dummynet with dynamic queues you have 
> a lot more buffering going on, and this would explain why you 
> see higher ping times (but perhaps without it you see some
> large amount of losses) ?
> 
ipfw pipe show shows the correct amounts. I did the measurements on a
non-saturated link, I'm sure of this because when I ipfw flush, ipfw queue
flush, the ping goes back to normal. I have no packet loss either way,
whether dummynet is configured or not. An added note, this is running on
an 533 MHz alpha with a de type card hooked to the dsl modem running at
10Mbit/sec full duplex (dsl connection is rated at 608Kbit/s down and 128
Kbit/s up), and an xl type card connected to the internal net running at
100Mbit/sec Full duplex. My configuration looks like this:


ipfw add queue 1 ip from any to x.x.x.x/24 in via de0
ipfw add queue 2 ip from x.x.x.x/24 to any out via de0
ipfw pipe 1 config bw 570Kbit/s queue 47
ipfw pipe 2 config bw 118Kbit/s queue 10
ipfw queue 1 config pipe 1 weight 40 mask dst-ip 0x000000ff
ipfw queue 2 config pipe 2 weight 40 mask src-ip 0x000000ff

I set it to 570Kbit/s download because this is the top download speed I
measured (I get this speed to pretty much every site I download from, to
arrive at this number I downloaded a file 2 times from a site that gave me
around 62Kbytes/sec (my max speed), then I turned on queueing with
successively larger bw values for pipe 1 until I could attain my top
speed, then I added 10 Kbit/s just to be sure that I was getting the full
wirespeed my connection would support. I did this for the upstream as
well)

Thanks for your help.

Ken


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0110181631240.22496-100000>