]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commitdiff
Created document containing basic description of suitable qdiscs.
authorRostislav Lisovy <lisovy@gmail.com>
Tue, 30 Aug 2011 15:15:15 +0000 (17:15 +0200)
committerRostislav Lisovy <lisovy@gmail.com>
Wed, 23 May 2012 08:45:12 +0000 (10:45 +0200)
doc/canprio/qdiscs_review.txt
doc/canprio/suitable_qdiscs-basic_info.txt [new file with mode: 0644]

index e19eb01f2aac4be2ebc1746fae3801b34b17fe24..a01c62eaf8712b10be24b22409919ede320e61e1 100644 (file)
@@ -20,7 +20,7 @@ Priority queues
 
 * pfifo_fast
   -- cons: Classless (contains so called Bands).
-           Packets are classified accordint their TOS bits or assigned (from 
+           Packets are classified according their TOS bits or assigned (from 
              socket() syscall?) priority.
 
 Throttling
@@ -38,7 +38,7 @@ Throttling
 
 * SFB
   -- more info: http://www.pps.jussieu.fr/~jch/software/sfb/README
-  -- cons: Doesn't treat every flow the same.
+  -- cons: Doesn't treat every flow the same way.
 
   -- Abstract of paper describing general SFB algorithm:
        This paper describes and evaluates Stochastic Fair Blue (SFB), a
@@ -62,7 +62,7 @@ Round-robin dequeuing
              multiple queues.
 
 * mq
-  -- cons: Only for NICs with more than 1 TX queues.
+  -- cons: Only for NICs with more than 1 TX queue.
 
 * drr
   -- cons: Seems to be classful although all classes have to be of type "drr".
diff --git a/doc/canprio/suitable_qdiscs-basic_info.txt b/doc/canprio/suitable_qdiscs-basic_info.txt
new file mode 100644 (file)
index 0000000..6523fa1
--- /dev/null
@@ -0,0 +1,47 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  Basic info about selected (i.e. suitable) qdiscs
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+More information sources
+========================
+For more info check:
+* manpages (tc-bfifo, tc-htb, tc-pfifo_fast, tc-tbf, tc-pfifo, tc-prio, tc-sfq)
+* "official manual": http://lartc.org/howto/
+* not so precise manual (but with quite nice images): http://opalsoft.net/qos/DS.htm
+* mailing lists / source code / etc.
+
+
+Disclaimer: This document contains very limited information (copied mostly from 
+            manpages or webpages describing TC in Linux) -- its purpose is to 
+            give the reader basic overview after 5 minutes reading.
+
+
+Prio qdisc
+==========
+The PRIO qdisc is a simple classful queueing discipline that contains an 
+arbitrary number of classes of differing priority.
+When dequeueing, band 0 is tried first and only if it did not deliver a packet
+does PRIO try band 1, and so onwards. Maximum reliability packets should 
+therefore go to band 0, minimum delay to band 1 and the rest to band 2.
+
+TBF qdisc
+=========
+The Token Bucket Filter is a classless queueing discipline that only passes 
+packets arriving at a rate which is not exceeding some administratively set rate, 
+but with the possibility to allow short bursts in excess of this rate.
+
+SFQ qdisc
+=========
+Stochastic Fairness Queueing is a classless queueing discipline.
+The SFQ qdisc attempts to fairly distribute opportunity to transmit data to 
+the network among an arbitrary number of flows. It accomplishes this by using
+a hash function to separate the traffic into separate (internally maintained)
+FIFOs which are dequeued in a round-robin fashion. 
+
+Pfifo_head_drop qdisc
+=====================
+In difference to pfifo or pfifo_fast this queuing discipline will drop the 
+first packet in the case of queue congestion. As a result the queue contain 
+always the freshest packets.
+
+