Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
9eb9fb44
Commit
9eb9fb44
authored
Feb 05, 2003
by
Leigh B. Stoller
Browse files
Minor changes wrt link queues.
parent
7de8df4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
www/faq.html
View file @
9eb9fb44
<!--
EMULAB-COPYRIGHT
Copyright (c) 2000-200
2
University of Utah and the Flux Group.
Copyright (c) 2000-200
3
University of Utah and the Flux Group.
All rights reserved.
-->
<center>
...
...
@@ -829,27 +829,13 @@
<h3>
Are there other traffic shapping parameters besides latency,
bandwidth, and packet loss rate?
</h3>
<p>
Yes! However, access to those other parameters is slightly more
difficult since you cannot specify them in your NS file. First
off, you should log into
<tt>
users.emulab.net
</tt>
and read the
man page for
<a
href=
'http://www.freebsd.org/cgi/man.cgi?manpath=FreeBSD+4.5-RELEASE'
>
<tt>
ipfw
</tt></a>
. Refer to the section on
<tt>
dummynet
</tt>
; ipfw
is the user interface for the
<tt>
Dummynet
</tt>
traffic shaper.
As noted in previous section above, you can alter the traffic
shapping parameters of any delayed link (one in which you have
specified a bandwidth, delay, or PLR that causes a delay node to
be inserted). However, you will need to log into the delay node
for the link you wish to modify and interact with
<tt>
ipfw
</tt>
directly. The easiest approach would be to make a copy of
</tt>
/etc/testbed/rc.delay
</tt>
and edit the pipe commands as
desired (or replace the pipe commands with "queue" commands). The
pipe commands are indexed by number; the mapping from pipe number
to virtual link is available via the web interface on the
Experiment Information page for your experiment. Be sure to leave
the rest of the contents of the file as is. Once you have your
changes made, simply execute the file using the
<a
href=
"#UTT-2"
>
sudo
</a>
command.
Yes! Please see the
<a
href=
"tutorial/docwrapper.php3?docname=advanced.html"
>
advanced tutorial
</a>
. Note though, that these other parameters
can be specified for duplex links only (not lans), and that they
are not configurable with
<tt>
delay_config
</tt>
, but with a
different testbed utility call
<tt>
tevc
</tt>
(also described in
the advanced tutorial).
</p>
</ul>
...
...
www/tutorial/advanced.html
View file @
9eb9fb44
<!--
EMULAB-COPYRIGHT
Copyright (c) 2000-200
2
University of Utah and the Flux Group.
Copyright (c) 2000-200
3
University of Utah and the Flux Group.
All rights reserved.
-->
<center>
...
...
@@ -81,19 +81,22 @@ example.
<p>
Each link is has an NS "Queue" object associated with it, which you
can modify to suit your needs. (
<em>
currently, there is a single queue
object per duplex link; you can cannot set the parameters
asymmetrically
</em>
). The following parameters can be changed, and are
defined in the NS manual (see Section 7.3):
can modify to suit your needs (
<em>
currently, there are two queue
objects per duplex link; one for each direction. You need to set the
parameters for both directions, which means you can set the parameters
asymmetrically if you want
</em>
). The following parameters can be
changed, and are defined in the NS manual (see Section 7.3).
<b>
Note,
only duplex links have queue objects, lans do not
</b>
.
<code><pre>
set queue0 [[$ns link $nodeA $nodeB] queue]
$queue0 set gentle_ 0
$queue0 set red_ 0
$queue0 set queue-in-bytes_ 0
$queue0 set limit_
7
5
$queue0 set maxthresh_
20
$queue0 set thresh_
7
$queue0 set linterm_ 1
1
$queue0 set q_weight_ 0.00
4
</code></pre>
$queue0 set limit_ 5
0
$queue0 set maxthresh_
15
$queue0 set thresh_
5
$queue0 set linterm_ 1
0
$queue0 set q_weight_ 0.00
2
</code></pre>
</p>
<p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment