Specifications

Quality of Service Overview
May 09, 2011 Page 8 of 38
TxQ Scheduling
TxQscanbeconfiguredforTxQscheduling,alsoreferredtoasweightedfairqueuing.See
WeightedFairQueuingonpage 9foradetaileddiscussionofweightedfairqueuing.See
PreferentialQueueTreatmentforPacketForwardingonpage 8foradetaileddiscussionofall
queuetreatmenttypessupported.
TxQschedulingisconfigured
inCoSportconfigurationusingthearbsliceorarbpercentage
options.ThearbsliceoptionsegmentstheTxQschedulingtimeslicepoolbynumericvalues.The
arbpercentageoptionsegmentstheTxQschedulingtimeslicepoolbyapercentageofthepool.
WhenconfiguringTxQschedulingavalueis
specifiedforallqueuesinTxQorderfromlowestto
highest.A0isenteredforanyqueue(configurableorLLQ)notimeslicesareallocatedto.All
entriesinaconfigurationmustadduptoeitherthetotalnumberofslicessupportedor100percent
dependinguponthechosenoption.
Usetheshowportconfigtxqcommandtodisplaythetotal
numberofslicessupportedforyourdevice.Bydefault,thetotalnumberoftimeslicesisspecified
forthehighestuserconfigurable(nonLLQ)queue.
IfyouareusingadefaultTxQconfigurationforthisportgroup(youareneither
remappingCoS
prioritiesnorTxQs),TxQschedulingcanbeconfigureddirectlyinCoSportconfigurationwithout
CoSsettings,reference,orportresourceconfiguration.
Preferential Queue Treatment for Packet Forwarding
Therearethreetypesofpreferentialqueuetreatmentsforpacketforwarding:strictpriority,
weightedfair,andhybrid.
Strict Priority Queuing
WithStrictPriorityQueuing,ahigherpriorityqueuemust beemptybeforealowerpriorityqueue
cantransmitanypackets.StrictpriorityqueuingisdepictedinFigure 2.Inboundpacketsenteron
theupperleftandproceedtotheappropriatequeue,basedupontheTxQconfigurationinthe
CoS.Outboundpackets
exitthequeuesonthelowerright.Atthistimeonlyqueue3packetsare
forwarded.Thiswillbetrueuntilqueue3iscompletelyempty.Queue2packetswillthenbe
forwarded.Queue1packetswillonlyforwardifbothqueue2 andqueue 3areempty.Queue0
packets
willonlyforwardifallotherqueuesareempty.Strictpriorityqueuingassuresthatthe
highestpriorityqueuewithanypacketsinitwillget100percentofthebandwidthavailable.This
isparticularlyusefulforoneormoreprioritylevelswithlowbandwidthandlowtolerancefor
delay.The
problemwithstrictpriorityqueuingisthatshouldthehigherlevelqueuesneverfully
empty,lowerlevelqueu escanbestarvedofbandwidth.