[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] nortel diffserv code [previously no title, which isn't useful]
On Thu, 14 Sep 2000, Kaleelazhicathu R R Kumar wrote:
> hi all,
> i am getting the following make error while incorporating Nortel
> diffserv in ns2.1b6.
> dsPolicy.cc: In method `int Policy::mark(class Packet *)':
> dsPolicy.cc:532: no match for `ns_addr_tag & >> int' dsPolicy.cc:532:
> no match for `ns_addr_tag & >> int'
> make: *** [dsPolicy.o] Error 1
>
> have anyone come across this earlier??please let me know...
I posted patches for that to this list. Twice.
http://www.isi.edu/nsnam/archive/ns-users/webarch/2000/msg03653.html
You will also want to read the archive for the patches Nortel posted
since their 'schedular' regresssion tests turned out not to be
regression tests, exposing a bug in release 6 of their code.
Except I can't find that in the archive, which appears to be lossy,
just like the berkeley archive was. So I've appended a copy below.
real schedular test results are available from:
http://www.ee.surrey.ac.uk/Personal/L.Wood/ns/
I see the released version of the nortel code available from their
webpages is still at release 6 for which these were done, so anyone
using it must apply these
patches.
L.
<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>
Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Fri, 04 Aug 2000 17:33:52 +0100
Received: from mailf.surrey.ac.uk ([131.227.102.11])
by phoebe.eim.surrey.ac.uk with smtp (Exim 3.03 #1)
id 13KkPw-0004E6-00
for [email protected]; Fri, 04 Aug 2000 17:33:52 +0100
Received: from zephyr.isi.edu by mailf.surrey.ac.uk with SMTP (PP) with ESMTP; Fri, 4 Aug 2000 17:32:44 +0100
Received: (from majordom@localhost)
by zephyr.isi.edu (8.9.3/8.9.3) id JAA06286
for ns-users-outgoing; Fri, 4 Aug 2000 09:29:04 -0700 (PDT)
Received: from nitro.isi.edu (nitro.isi.edu [128.9.208.207])
by zephyr.isi.edu (8.9.3/8.9.3) with ESMTP id JAA06281
for <[email protected]>; Fri, 4 Aug 2000 09:29:03 -0700 (PDT)
Received: from mash.CS.Berkeley.EDU (mash.CS.Berkeley.EDU [128.32.130.10])
by nitro.isi.edu (8.9.3/8.9.3) with ESMTP id JAA15120
for <[email protected]>; Fri, 4 Aug 2000 09:30:07 -0700 (PDT)
Received: from smtprch1.nortel.com (smtprch1.nortelnetworks.com [192.135.215.14])
by mash.CS.Berkeley.EDU (8.9.3/8.9.1) with ESMTP id JAA02147
for <[email protected]>; Fri, 4 Aug 2000 09:30:06 -0700 (PDT)
Received: from zrchh190 by smtprch1.nortel.com; Fri, 4 Aug 2000 10:52:31 -0500
Received: from zcard00p.ca.nortel.com by zrchh190;
Fri, 4 Aug 2000 10:55:03 -0500
Received: from nortelnetworks.com (pcard1mc.ca.nortel.com [47.23.80.171])
by zcard00p.ca.nortel.com
with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2652.39)
id QCDZ0YDS; Fri, 4 Aug 2000 11:52:04 -0400
Message-ID: <[email protected]>
Date: Fri, 04 Aug 2000 11:52:58 -0400
From: "Mandeep Baines" <[email protected]>
Reply-To: "Mandeep Baines" <[email protected]>
Organization: Nortel Networks
X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.2.12-20 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: [email protected]
Subject: [ns] [Fwd: Nortel Networks DiffServ Model Schedular Regression Test
discrepancy]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Orig: <[email protected]>
Sender: [email protected]
Precedence: bulk
> Thanks to the comments posted on the ns-users mailing list we were able
> to find a bug in the initialization code in the dsred.c module. The bug
> fix will be posted in a later release of our code. Below is a diff of
> the fixed and unfixed released code for any who want to fix this now.
>
> 102c102
> < for (i = 0; i < MAX_QUEUES; i++)
> ---
> > for (i = 0; i < numQueues_; i++)
> 109c109
> < for (int i = 0; i < MAX_QUEUES; i++)
> ---
> > for (int i = 0; i < numQueues_; i++)
> 395c395
> < for (i = 0; i < MAX_QUEUES; i++)
> ---
> > for (i = 0; i < numQueues_; i++)
> 422c422
> < for (i = 0; i < MAX_QUEUES; i++)
> ---
> > for (i = 0; i < numQueues_; i++)
> 529c529
> < for (int i = 0; i < MAX_QUEUES; i++)
> ---
> > for (int i = 0; i < numQueues_; i++)
>
> This bug accounts for the discrepancy found with the Schedular
> Regression test results. We noticed that in our ns setup we had
> Queue/dsRED numQueues_ set to 1 and not 4 as we suggest in our
> installation instructions. This should not affect the regression results
> but it does hence the bug fix. The correct regression results for the
> fixed code for all cases and the released code for the case where
> numQueues_ is set to 4 appears in this file as an attachment. Notice,
> these are the same results as those posted by L Wood earlier.
>
> Cheers!
> Mandeep Baines
>
> ------------------------------------------------------------------------
> ********************************************************************************
> Author: Mandeep Baines
> Date: July 20, 2000
>
> The Tcl scripts in this directory can be used to test each of the Schedular types
> currently found in the ns Diffserv code. These scripts can be used for
> regression testing, since the previous results of executing each script are
> listed in this file.
>
> In order to retain the ability for regression testing, any modifications should
> be performed on copies of these files.
> ********************************************************************************
>
> --------------------------------------------------------------------------------
> Results|
> --------
>
> 1 Priority
>
> File: "ds-cbr-tb-PRI.tcl"
>
> Output:
>
> Policy Table(2):
> Flow (0 to 5): Token Bucket policer, initial code point 20, CIR 1000000.0 bps, CBS 10000.0 bytes.
> Flow (1 to 5): Token Bucket policer, initial code point 10, CIR 1000000.0 bps, CBS 10000.0 bytes.
>
> Policer Table:
> Token Bucket policer code point 10 is policed to code point 11.
> Token Bucket policer code point 20 is policed to code point 21.
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 19989 12537 6870 582
> 10 2508 2313 195 0
> 11 7486 4895 2285 306
> 20 2508 2329 179 0
> 21 7487 3000 4211 276
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 39989 25048 13662 1279
> 10 5008 4611 397 0
> 11 14986 9643 4671 672
> 20 5008 4721 287 0
> 21 14987 6073 8307 607
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 59989 37566 20515 1908
> 10 7508 6904 604 0
> 11 22486 14337 7155 994
> 20 7508 7163 345 0
> 21 22487 9162 12411 914
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 79989 50043 27409 2537
> 10 10008 9189 819 0
> 11 29986 19041 9628 1317
> 20 10008 9591 417 0
> 21 29987 12222 16545 1220
>
> --------------------------------------------------------------------------------
>
> 2. Round Robin
>
> File: "ds-cbr-tb-RR.tcl"
>
> Output:
>
> Policy Table(2):
> Flow (0 to 5): Token Bucket policer, initial code point 20, CIR 1000000.0 bps, CBS 10000.0 bytes.
> Flow (1 to 5): Token Bucket policer, initial code point 10, CIR 1000000.0 bps, CBS 10000.0 bytes.
>
> Policer Table:
> Token Bucket policer code point 10 is policed to code point 11.
> Token Bucket policer code point 20 is policed to code point 21.
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 19989 12527 6672 790
> 10 2508 2472 36 0
> 11 7486 3784 3327 375
> 20 2508 2491 17 0
> 21 7487 3780 3292 415
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 39989 25021 13340 1628
> 10 5008 4972 36 0
> 11 14986 7540 6660 786
> 20 5008 4991 17 0
> 21 14987 7518 6627 842
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 59989 37529 20002 2458
> 10 7508 7472 36 0
> 11 22486 11290 9993 1203
> 20 7508 7491 17 0
> 21 22487 11276 9956 1255
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 79989 50036 26698 3255
> 10 10008 9972 36 0
> 11 29986 15044 13313 1629
> 20 10008 9991 17 0
> 21 29987 15029 13332 1626
>
> --------------------------------------------------------------------------------
>
> 3. Weighted Round Robin
>
> File: "ds-cbr-tb-WRR.tcl"
>
> Output:
>
> Policy Table(2):
> Flow (0 to 5): Token Bucket policer, initial code point 20, CIR 1000000.0 bps, CBS 10000.0 bytes.
> Flow (1 to 5): Token Bucket policer, initial code point 10, CIR 1000000.0 bps, CBS 10000.0 bytes.
>
> Policer Table:
> Token Bucket policer code point 10 is policed to code point 11.
> Token Bucket policer code point 20 is policed to code point 21.
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 19989 12530 6713 746
> 10 2508 2387 121 0
> 11 7486 1391 5959 136
> 20 2508 2508 0 0
> 21 7487 6244 633 610
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 39989 25032 13401 1556
> 10 5008 4887 121 0
> 11 14986 2638 12051 297
> 20 5008 5008 0 0
> 21 14987 12499 1229 1259
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 59989 37531 20120 2338
> 10 7508 7387 121 0
> 11 22486 3887 18138 461
> 20 7508 7508 0 0
> 21 22487 18749 1861 1877
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 79989 50038 26841 3110
> 10 10008 9887 121 0
> 11 29986 5139 24248 599
> 20 10008 10008 0 0
> 21 29987 25004 2472 2511
>
> --------------------------------------------------------------------------------
>
> 4. Weighted Interleaved Round Robin
>
> File: "ds-cbr-tb-WIRR.tcl"
>
> Output:
>
> Policy Table(2):
> Flow (0 to 5): Token Bucket policer, initial code point 20, CIR 1000000.0 bps, CBS 10000.0 bytes.
> Flow (1 to 5): Token Bucket policer, initial code point 10, CIR 1000000.0 bps, CBS 10000.0 bytes.
>
> Policer Table:
> Token Bucket policer code point 10 is policed to code point 11.
> Token Bucket policer code point 20 is policed to code point 21.
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 19989 12545 6720 724
> 10 2508 2384 124 0
> 11 7486 1396 5968 122
> 20 2508 2499 9 0
> 21 7487 6266 619 602
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 39989 25036 13432 1521
> 10 5008 4884 124 0
> 11 14986 2641 12069 276
> 20 5008 4999 9 0
> 21 14987 12512 1230 1245
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 59989 37541 20155 2293
> 10 7508 7384 124 0
> 11 22486 3894 18180 412
> 20 7508 7499 9 0
> 21 22487 18764 1842 1881
>
> Packets Statistics
> =======================================
> CP TotPkts TxPkts ldrops edrops
> -- ------- ------ ------ ------
> All 79989 50039 26896 3054
> 10 10008 9884 124 0
> 11 29986 5143 24305 538
> 20 10008 9999 9 0
> 21 29987 25013 2458 2516
>
> --------------------------------------------------------------------------------