|
From: <bro...@us...> - 2007-08-27 16:20:22
|
Revision: 31
http://gridsim.svn.sourceforge.net/gridsim/?rev=31&view=rev
Author: brobergj
Date: 2007-08-26 23:48:48 -0700 (Sun, 26 Aug 2007)
Log Message:
-----------
Added tags to support the 5 flow networking variants: INV-LAT, INV-LAT-BOUNDED, INV-RTT, INV-RTT-BOUNDED and MAX-MIN.
Modified Paths:
--------------
branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java
Modified: branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java
===================================================================
--- branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java 2007-08-27 06:22:18 UTC (rev 30)
+++ branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java 2007-08-27 06:48:48 UTC (rev 31)
@@ -33,9 +33,24 @@
// TODO: new additions
public static final int NET_PACKET_LEVEL = NETBASE + 11;
+ // TODO: NET_FLOW_LEVEL should default to NET_FLOW_LEVEL_INV_RTT_BOUND
public static final int NET_FLOW_LEVEL = NETBASE + 12;
public static final int NET_BUFFER_PACKET_LEVEL = NETBASE + 13;
-
+
+ // TODO: different flow sharing models
+ // INV-LAT flows are weighted proportionally to the bottleneck latency
+ public static final int NET_FLOW_LEVEL_INV_LAT = NETBASE + 14;
+ // INV-LAT-BOUND flows are weighted proportionally to the bottleneck latency
+ // with bounded bandwidth availability
+ public static final int NET_FLOW_LEVEL_INV_LAT_BOUND = NETBASE + 15;
+ // INV-RTT flows are weighted proportionally to the bottleneck RTT
+ public static final int NET_FLOW_LEVEL_INV_RTT = NETBASE + 16;
+ // INV-RTT flows are weighted proportionally to the bottleneck RTT
+ // with bounded bandwidth availability
+ public static final int NET_FLOW_LEVEL_INV_RTT_BOUND = NETBASE + 17;
+ // MAX-MIN flows are equally weighted so all flows get equal share
+ public static final int NET_FLOW_LEVEL_MAX_MIN = NETBASE + 18;
+
//////////////////////////////////////////////////////////////////////
/** Denotes boolean <tt>true</tt> in <tt>int</tt> value */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|