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. |
From: <bro...@us...> - 2008-02-19 00:34:06
|
Revision: 108 http://gridsim.svn.sourceforge.net/gridsim/?rev=108&view=rev Author: brobergj Date: 2008-02-18 16:34:06 -0800 (Mon, 18 Feb 2008) Log Message: ----------- *Added tags required for GridSim flow implementation 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 2008-02-19 00:31:31 UTC (rev 107) +++ branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java 2008-02-19 00:34:06 UTC (rev 108) @@ -33,23 +33,35 @@ // 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 + // Denotes flow en-route to destination + public static final int FLOW_SUBMIT = NETBASE + 13; + + // Denotes flow acknowledgement en-route to source + public static final int FLOW_RETURN = NETBASE + 14; + + // Internal message to check forecast of flow duration + public static final int FLOW_HOLD = NETBASE + 15; + + // Message to update forecast of flow duration + public static final int FLOW_UPDATE = NETBASE + 16; + + public static final int NET_BUFFER_PACKET_LEVEL = NETBASE + 17; + + // TODO: different flow sharing models - not sure if I will need these // INV-LAT flows are weighted proportionally to the bottleneck latency - public static final int NET_FLOW_LEVEL_INV_LAT = NETBASE + 14; + // public static final int NET_FLOW_LEVEL_INV_LAT = NETBASE + 15; // 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; + // 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; + // 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; + // public static final int NET_FLOW_LEVEL_MAX_MIN = NETBASE + 18; ////////////////////////////////////////////////////////////////////// @@ -192,6 +204,7 @@ * {@link gridsim.net.Output} entities. */ public static final int EMPTY_PKT = NETBASE + 8; + /** Denotes that this packet will be sent to a packet scheduler by a router * for enqueing. @@ -207,7 +220,6 @@ */ public static final int SCHEDULER_DEQUE = NETBASE + 10; - ///////////////////////////////////////////////////////////// // I intentionally put a gap to incorporate future tags // so I don't have to change the numbers! This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bro...@us...> - 2008-03-13 05:15:18
|
Revision: 155 http://gridsim.svn.sourceforge.net/gridsim/?rev=155&view=rev Author: brobergj Date: 2008-03-12 22:15:21 -0700 (Wed, 12 Mar 2008) Log Message: ----------- Consolidation / tidy up of tags needed by Flow model 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 2008-03-13 05:10:26 UTC (rev 154) +++ branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java 2008-03-13 05:15:21 UTC (rev 155) @@ -31,37 +31,39 @@ // starting constant value for AR-related tags (also negative numbers) private static final int ARBASE = 200; - // TODO: new additions public static final int NET_PACKET_LEVEL = NETBASE + 11; public static final int NET_FLOW_LEVEL = NETBASE + 12; - // Denotes flow en-route to destination - public static final int FLOW_SUBMIT = NETBASE + 13; + // Denotes flow en-route to destination (used manually by entities) + public static final int FLOW_SUBMIT = NETBASE + 13; - // Denotes flow acknowledgement en-route to source - public static final int FLOW_RETURN = NETBASE + 14; - // Internal message to check forecast of flow duration - public static final int FLOW_HOLD = NETBASE + 15; + public static final int FLOW_HOLD = NETBASE + 14; // Message to update forecast of flow duration - public static final int FLOW_UPDATE = NETBASE + 16; + public static final int FLOW_UPDATE = NETBASE + 15; + + // Denotes flow ack en-route to destination (used manually by entities) + public static final int FLOW_ACK = NETBASE + 16; + + // identify a flow as a junk flow used for background traffic + // public static final int JUNK_FLOW = NETBASE + 17; - public static final int NET_BUFFER_PACKET_LEVEL = NETBASE + 17; + public static final int NET_BUFFER_PACKET_LEVEL = NETBASE + 18; // TODO: different flow sharing models - not sure if I will need these // INV-LAT flows are weighted proportionally to the bottleneck latency - // public static final int NET_FLOW_LEVEL_INV_LAT = NETBASE + 15; + // public static final int NET_FLOW_LEVEL_INV_LAT = NETBASE + x; // INV-LAT-BOUND flows are weighted proportionally to the bottleneck latency // with bounded bandwidth availability // INV-RTT flows are weighted proportionally to the bottleneck RTT - // public static final int NET_FLOW_LEVEL_INV_RTT = NETBASE + 16; + // public static final int NET_FLOW_LEVEL_INV_RTT = NETBASE + x; // 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; + // public static final int NET_FLOW_LEVEL_INV_RTT_BOUND = NETBASE + x; // MAX-MIN flows are equally weighted so all flows get equal share - // public static final int NET_FLOW_LEVEL_MAX_MIN = NETBASE + 18; + // public static final int NET_FLOW_LEVEL_MAX_MIN = NETBASE + x; ////////////////////////////////////////////////////////////////////// @@ -810,6 +812,7 @@ */ public static final int AR_CREATE_FAIL_RESOURCE_FULL_IN_45_HOURS = -28; + /////////////////////////////////////////////////////////////// /** Private Constructor */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <aca...@us...> - 2008-05-29 16:41:31
|
Revision: 176 http://gridsim.svn.sourceforge.net/gridsim/?rev=176&view=rev Author: acaminero Date: 2008-05-29 09:40:25 -0700 (Thu, 29 May 2008) Log Message: ----------- added new tags for the gridsim.net.fnb package?\195?\167 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 2008-05-27 07:55:44 UTC (rev 175) +++ branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java 2008-05-29 16:40:25 UTC (rev 176) @@ -32,30 +32,30 @@ private static final int ARBASE = 200; public static final int NET_PACKET_LEVEL = NETBASE + 11; - + public static final int NET_FLOW_LEVEL = NETBASE + 12; - + // Denotes flow en-route to destination (used manually by entities) - public static final int FLOW_SUBMIT = NETBASE + 13; - + public static final int FLOW_SUBMIT = NETBASE + 13; + // Internal message to check forecast of flow duration public static final int FLOW_HOLD = NETBASE + 14; - + // Message to update forecast of flow duration public static final int FLOW_UPDATE = NETBASE + 15; - + // Denotes flow ack en-route to destination (used manually by entities) public static final int FLOW_ACK = NETBASE + 16; - + // identify a flow as a junk flow used for background traffic - // public static final int JUNK_FLOW = NETBASE + 17; - + // public static final int JUNK_FLOW = NETBASE + 17; + public static final int NET_BUFFER_PACKET_LEVEL = NETBASE + 18; - + // TODO: different flow sharing models - not sure if I will need these // INV-LAT flows are weighted proportionally to the bottleneck latency // public static final int NET_FLOW_LEVEL_INV_LAT = NETBASE + x; - // INV-LAT-BOUND flows are weighted proportionally to the bottleneck latency + // INV-LAT-BOUND flows are weighted proportionally to the bottleneck latency // with bounded bandwidth availability // INV-RTT flows are weighted proportionally to the bottleneck RTT // public static final int NET_FLOW_LEVEL_INV_RTT = NETBASE + x; @@ -64,7 +64,7 @@ // public static final int NET_FLOW_LEVEL_INV_RTT_BOUND = NETBASE + x; // MAX-MIN flows are equally weighted so all flows get equal share // public static final int NET_FLOW_LEVEL_MAX_MIN = NETBASE + x; - + ////////////////////////////////////////////////////////////////////// /** Denotes boolean <tt>true</tt> in <tt>int</tt> value */ @@ -206,8 +206,8 @@ * {@link gridsim.net.Output} entities. */ public static final int EMPTY_PKT = NETBASE + 8; - + /** Denotes that this packet will be sent to a packet scheduler by a router * for enqueing. * This tag is used by a router to an active packet scheduler, such as @@ -273,9 +273,73 @@ */ public static final int GRIDLET_MOVE_ACK = BASE + 30; + /////////////////////////////////////////////////////////////// + // For the gridsim.net.fnb package + /**This is to simulate the finite buffers. This constant is to tell an entity + * that a packet has been dropped*/ + public static final int FNB_PACKET_DROPPED = BASE + 31; + + + /**This is to simulate the finite buffers. This constant is used when an Output + * port tells a user that a gridlet has failed because at least of his packets + * has been dropped*/ + public static final int FNB_GRIDLET_FAILED_BECAUSE_PACKET_DROPPED = BASE + 32; + + /**This is to simulate the finite buffers. A FIFO dropping algorithm*/ + public static final int FNB_FIFO = BASE + 33; + + /**This is to simulate the finite buffers. A RED (Random Early Detection) dropping algorithm*/ + public static final int FNB_RED = BASE + 34; + + /**This is to simulate the finite buffers. The event used to capture the number + * of dropped pkts. This event is sent form a SCFScheduler to itself every T time*/ + public static final int FNB_COUNT_DROPPED_PKTS = BASE + 35; + + /**This is to simulate the finite buffers. Adaptative RED (Random Early Detection) dropping algorithm*/ + public static final int FNB_ARED = BASE + 36; + + /**This is to update the parameters of ARED*/ + public static final int FNB_UPDATE_ARED_PARAMETERS = BASE + 37; + + /**This is to update the parameters of ARED. The time period between updates (0.5 seconds)*/ + public static final double FNB_UPDATE_ARED_PARAMETERS_PERIOD = 0.5; + + /** + * When a router drops a packet, it has to tell to user, so that he does not get jammed. + * But it does not do it immediately (when the dropping ocurs) but with a given delay (this delay).*/ + public static final double FNB_DROPPING_DELAY = 0.01; // 10 milliseconds + /////////////////////////////////////////////////////////////// + /** + * This is to simulate resource failure. The RegioalGIS will send this event + * to itself, so that it can decide which time the event is sent. Also, The RegionalGIS + * will send this event to the GridResource to make it "fail" for a period of time. + * This tag is also used when a failed resource receives a ping request. + * In this case, the resource will use this tag in the ping response */ + public static final int GRIDRESOURCE_FAILURE = 10000 + 31; + + /** + * This is used when a resource which has failed comes back to life. */ + public static final int GRIDRESOURCE_RECOVERY = 10000 + 32; + + /** + * This is used when the user polls the resource to find out if they are out of order. */ + public static final int GRIDRESOURCE_FAILURE_INFO = 10000 + 33; + + /** + * This is used when the user polls the resources . */ + public static final int GRIDRESOURCE_POLLING = 10000 + 34; + + /** The polling interval for users*/ + public static final int POLLING_TIME_USER = 100; // 5; + + /** The polling interval for the GISs entities*/ + public static final int POLLING_TIME_GIS = 2000; //10; + + /////////////////////////////////////////////////////////////// + // The below tags are sent by AdvanceReservation to ARGridResource class /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |