All of lore.kernel.org
 help / color / mirror / Atom feed
* VQs in Gred!
@ 2004-12-29  7:54 Zhenyu Wu
  2004-12-29 15:49 ` Thomas Graf
  0 siblings, 1 reply; 4+ messages in thread
From: Zhenyu Wu @ 2004-12-29  7:54 UTC (permalink / raw)
  To: linux-kernel

Hello,

We know, VQs are used in Gred to offer different schedulers, in order to make
clear what the 
VQs are, I have read the sch_gred.c in net/sched/. In the function gred_enqueue(),
at first it will 
find the VQ(q) according to the lower four bits of the skb->tc_index, then some
parameters of the
q is modified, such as q->packetsin and q->bytesin. At last the packet was put
into the  physical
Queue using __skb_queue_tail(). When dequeue the packet, only the function
__skb_dequeue()
is called, and the VQ parameters are modified. Then the packets from all VQS will
enter and 
store in the physical queue (sch->q), and be dequeued from there. HOW does the
Gred schedule
packets of differnet priorities?

Thanks,




^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: VQs in Gred!
@ 2004-12-30  1:36 Zhenyu Wu
  2004-12-30  0:58 ` Thomas Graf
  0 siblings, 1 reply; 4+ messages in thread
From: Zhenyu Wu @ 2004-12-30  1:36 UTC (permalink / raw)
  To: tgraf; +Cc: linux-kernel


> > HOW does the Gred schedule packets of differnet priorities?
> 
> The packets are all enqueued onto the same queue. Gred is not
> about prioritizing but only about dropping, hence once the packet
> is enqueued it doesn't make sense to differ anymore. The difference

Ok. Then, if the average packet(qave) does not exceed the threshhold, that is, the
packet has not been dropped, it will be enqueued into the physical queue, right?
So we can't see the different process of scheduling packets which are from
different kinds of traffic, we just know which packet might be dropped, right?

> to normal red is that one can use separate red calculation
> parameters per tcindex flow. tcindex is usually set via dsmark/
> tcindex with contents of the dscp field. You might want to use a
> more aggressive set of parameters for your bulk flows and treat
> your interactive flows with more respect.

what does "the more aggressive set of parameters" mean? The parameters to Gred?

Thank you very much!
Best,



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-12-30  0:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-29  7:54 VQs in Gred! Zhenyu Wu
2004-12-29 15:49 ` Thomas Graf
  -- strict thread matches above, loose matches on Subject: below --
2004-12-30  1:36 Zhenyu Wu
2004-12-30  0:58 ` Thomas Graf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.