Hi,
I'm trying to set up two data streams using STC GUI. I'm running into a problem where I configure the LoadUnit for "KILOBITS_PER_SECOND" but the actual data rate is much higher. Is there some option I am not properly setting that is keeping the LoadUnit option from being applied?
Here are the settings for the two streams:
StreamBlock Active : true AllowInvalidHeaders : false BurstSize : 1 ConstantFillPattern : 0 Destination : Device 1 EnableBidirectionalTraffic : false EnableControlPlane : false EnableFcsErrorInsertion : false EnableStreamOnlyGeneration : true EnableTxPortSendingTrafficToSelf : false EndpointMapping : ONE_TO_ONE FillType : CONSTANT FixedFrameLength : 128 FrameLengthMode : FIXED Id : 1 InsertSig : true InterFrameGap : 12 Load : 1.0 LoadMode : FIXED LoadUnit : KILOBITS_PER_SECOND MaxFrameLength : 256 MinFrameLength : 128 Name : RemoteToHost Port : 1 Priority : 0 RxPorts : Source : Device 1 StartDelay : 0 StepFrameLength : 1 TrafficPattern : PAIR StreamBlock Active : true AllowInvalidHeaders : false BurstSize : 1 ConstantFillPattern : 0 Destination : Device 1 EnableBidirectionalTraffic : false EnableControlPlane : false EnableFcsErrorInsertion : false EnableStreamOnlyGeneration : true EnableTxPortSendingTrafficToSelf : false EndpointMapping : ONE_TO_ONE FillType : CONSTANT FixedFrameLength : 128 FrameLengthMode : FIXED Id : 1 InsertSig : true InterFrameGap : 12 Load : 1.0 LoadMode : FIXED LoadUnit : KILOBITS_PER_SECOND MaxFrameLength : 256 MinFrameLength : 128 Name : HostToRemote Port : 2 Priority : 0 RxPorts : Source : Device 1 StartDelay : 0 StepFrameLength : 1 TrafficPattern : PAIR
Note in the above settings that "Load" is set to 1.0 and "LoadUnit" is set to KILOBITS_PER_SECOND. I was expecting this to generate a stream of 128 byte packets at 1Kbps. However, it appears the rate is much higher. See the GeneratorBitRate in the below output:
showStats: GeneratorPortResults Port CounterTimestamp GeneratorAbortFrameCount GeneratorAbortFrameRate GeneratorBitRate --------------------------------------------------------------------------------------------- 1 0 0 0 86486392 2 0 0 0 86486232