Specifications
Quality of Service Overview
May 09, 2011 Page 8 of 38
TxQ Scheduling
TxQscanbeconfiguredforTxQscheduling,alsoreferredtoasweightedfairqueuing.See
WeightedFairQueuingonpage 9foradetaileddiscussionofweightedfairqueuing.See
PreferentialQueueTreatmentforPacketForwardingonpage 8foradetaileddiscussionofall
queuetreatmenttypessupported.
TxQschedulingisconfigured
inCoSportconfigurationusingthearb‐sliceorarb‐percentage
options.Thearb‐sliceoptionsegmentstheTxQschedulingtimeslicepoolbynumericvalues.The
arb‐percentageoptionsegmentstheTxQschedulingtimeslicepoolbyapercentageofthepool.
WhenconfiguringTxQschedulingavalueis
specifiedforallqueuesinTxQorderfromlowestto
highest.A0isenteredforanyqueue(configurableorLLQ)notimeslicesareallocatedto.All
entriesinaconfigurationmustadduptoeitherthetotalnumberofslicessupportedor100percent
dependinguponthechosenoption.
Usetheshowport‐configtxqcommandtodisplaythetotal
numberofslicessupportedforyourdevice.Bydefault,thetotalnumberoftimeslicesisspecified
forthehighestuserconfigurable(non‐LLQ)queue.
IfyouareusingadefaultTxQconfigurationforthisportgroup(youareneither
remappingCoS
prioritiesnorTxQs),TxQschedulingcanbeconfigureddirectlyinCoSportconfigurationwithout
CoSsettings,reference,orport‐resourceconfiguration.
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.