search for: dequeu

Displaying 20 results from an estimated 346 matches for "dequeu".

Did you mean: dequeue
2004 Apr 15
6
When the inside functions of a sfq are called ?
I read the sched/qdiscs code from kernel source ... and I have some questions : When the .enqueue, .dequeue, .drop, .requeue functions are called ? What is the event that triggers them and how often this event apears ( per second ? ) ? When a qdisc is dequeued ( when it''s limit is reached ) ? Thanks _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a....
2002 May 05
16
More on qdiscs
I notice one other small problem with my modified version of SFQ. The fact that packets can be dropped at dequeue time is incompatible with the way HTB (and probably CBQ and others modeled on it) keep statistics. When I fill a low rate queue causing packets to expire and be dropped at dequeue I get interesting statistics like this: This is my variant of SFQ qdisc plfq 8016: dev eth1 ... Sent 17468 bytes...
2005 Mar 22
1
Mechanism for Enqueue and Dequeue?
...#39;ve a few questions about the mechanism. I dont'' think that I''d have any questions if I just wanted to know how to configure the Shaping method but I''m trying to get into the nuts and bolts. Basically I''m trying to find out the mechanism of the Enqueue and Dequeue operations. The utility tc which is used to configure the queues is external to the Kernel so it doesn''t configure the Kernel. I assume it just configures the tables that the Kernel uses. When the Kernel what''s to Queue something does it ask another process to do that? And simila...
2019 Jul 18
1
[PATCH v3 2/2] balloon: fix up comments
...t, use balloon_page_list_enqueue instead. "To enqueue a list of pages" ? > */ > void balloon_page_enqueue(struct balloon_dev_info *b_dev_info, > struct page *page) > @@ -157,14 +156,24 @@ EXPORT_SYMBOL_GPL(balloon_page_enqueue); > > /* > * balloon_page_dequeue - removes a page from balloon's page list and > returns > - * the its address to allow the driver release the page. > + * its address to allow the driver to release the page. > * @b_dev_info: balloon device decriptor where we will grab a page from. > * > - * Drive...
2019 Jul 18
2
[PATCH v3 1/2] mm/balloon_compaction: avoid duplicate page removal
From: Wei Wang <wei.w.wang at intel.com> A #GP is reported in the guest when requesting balloon inflation via virtio-balloon. The reason is that the virtio-balloon driver has removed the page from its internal page list (via balloon_page_pop), but balloon_page_enqueue_one also calls "list_del" to do the removal. This is necessary when it's used from balloon_page_enqueue_list,
2005 May 13
1
Qdisc requeue should be void?
There is an design problem with the qdisc interface that causes qlen related bugs in netem, tbf, and other qdisc''s that peek at the top of the queue. The problem is that requeue needs to be called from the dequeue function but requeue can fail. If requeue fails, then the calling qdisc can not properly handle the error. If it returns NULL, then the parent''s expectation about qlen gets messed up. Example: prio (qlen = 1) skb = netem dequeue skb = htb dequeue ... decides not to send this...
2002 Oct 20
1
Can I allocate memory dynamically when enqueue or dequeue? (adding some algorithms in kernel)
Hi, I''m adding a queuing disc. inside kernel. I am confused that it seems few other qdiscs allocate memory dynamically. Is it invalid to use memory calls like molloc or just a suggest that do not use it often? Thanks for your help. bon ----------------------------------------------------------------- < 每天都 Yahoo!奇摩 > www.yahoo.com.tw
2019 Jul 18
2
[PATCH v4 1/2] mm/balloon_compaction: avoid duplicate page removal
From: Wei Wang <wei.w.wang at intel.com> A #GP is reported in the guest when requesting balloon inflation via virtio-balloon. The reason is that the virtio-balloon driver has removed the page from its internal page list (via balloon_page_pop), but balloon_page_enqueue_one also calls "list_del" to do the removal. This is necessary when it's used from balloon_page_enqueue_list,
2003 Jul 18
10
[HTB] htb_dequeue_tree assertion (kernel 2.4.21-ac4)
Hello, I think the BUG_TRAP() in the htb_dequeue_tree() is wrong. First it checks if the class pointer "cl" is NULL, which is obviously right. But I do not understand why we also check whenever the queue length of the leaf queue is zero "cl->un.leaf.q->q.qlen". I would have put that in the expression of the "if...
2005 Sep 30
1
Dequeue
Hi, Does the ''tc'' tool show dequeue statistics? If so what switches does one use to see this. If not which is the best way to see these statistics? Thanks.
2004 Jan 29
5
Question(s) for the programming gurus
Hi all. I''m quite new to the concepts of the "traffic control" framework, and I''ve got a programming-related question. Hopefully someone has the answer... Is it possible, either for the device driver itself or for a userspace program, to get information about how many packets are currently queued for a given network interface? Let''s describe it a little
2004 Mar 29
11
New IMQ device implementation supporting device EOS
Hello All Its first time i posting to this mail list :). I have done something (maybe) important. I write new IMQ device driver based from Martin Devera and Patrick McHardy implementation with device EOS support. My current implementation supporting only egress trafic shaping and kernel 2.4.25. For more details, source and examples have look at my page http://hyperfighter.jinak.cz/qos Ill
2019 Jul 18
0
[PATCH v3 2/2] balloon: fix up comments
...definetively releasing it back to the guest system. + * balloon pages before definitively releasing it back to the guest system. * This function tries to remove @n_req_pages from the ballooned pages and * return them to the caller in the @pages list. * - * Note that this function may fail to dequeue some pages temporarily empty due - * to compaction isolated pages. + * Note that this function may fail to dequeue some pages even if the balloon + * isn't empty - since the page list can be temporarily empty due to compaction + * of isolated pages. * - * Return: number of pages that were ad...
2019 Jul 18
0
[PATCH v4 2/2] balloon: fix up comments
...definetively releasing it back to the guest system. + * balloon pages before definitively releasing it back to the guest system. * This function tries to remove @n_req_pages from the ballooned pages and * return them to the caller in the @pages list. * - * Note that this function may fail to dequeue some pages temporarily empty due - * to compaction isolated pages. + * Note that this function may fail to dequeue some pages even if the balloon + * isn't empty - since the page list can be temporarily empty due to compaction + * of isolated pages. * - * Return: number of pages that were ad...
2019 Jul 18
1
[PATCH v5 1/2] mm/balloon_compaction: avoid duplicate page removal
From: Wei Wang <wei.w.wang at intel.com> A #GP is reported in the guest when requesting balloon inflation via virtio-balloon. The reason is that the virtio-balloon driver has removed the page from its internal page list (via balloon_page_pop), but balloon_page_enqueue_one also calls "list_del" to do the removal. This is necessary when it's used from balloon_page_enqueue_list,
2007 Jun 20
3
Prio class HTB
...+++++ ++++++++++++++++++++++++++ ++++++++++++++++++++++ | | | | | | --------------------------------------------------------------------- | | (dequeue to hardware) | The configuration script is : $ tc class add dev ath0 parent 1: classed 1:1 htb rate 100kbps ceil 100kbps burst 2k $ tc class add dev ath0 parent 1:1 classed 1:10 htb rate 30kbps ceil 60kbps burst 2k prio 0 $ tc class add dev ath0 parent 1:1 classed 1...
2004 Jan 26
1
HTB/SFQ dequeueing in pairs
...the sender go into congestion control quicker. However this is not the reason for this post. I tested by capturing with tcpdump before and after the queue. I noticed that the packets were being released in pairs, which probably doesn''t help either. I assume it is htb that calls esfq to dequeue a packet - but I don''t know. For the test my DWIFLIMIT bandwidth was set at 51kbit/s which is 10% of my bandwidth. My mtu is set at 1478 as it''s slightly more efficient for adsl using pppoa/vcmux in the UK. I used - $TC class add dev $DWIF parent 1:2 classid 1:21 htb rate $...
2017 Mar 21
0
[PATCH net-next 1/8] ptr_ring: introduce batch dequeuing
Signed-off-by: Jason Wang <jasowang at redhat.com> --- include/linux/ptr_ring.h | 65 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/include/linux/ptr_ring.h b/include/linux/ptr_ring.h index 6c70444..4771ded 100644 --- a/include/linux/ptr_ring.h +++ b/include/linux/ptr_ring.h @@ -247,6 +247,22 @@ static inline void *__ptr_ring_consume(struct
2017 Mar 21
1
[PATCH net-next 1/8] ptr_ring: introduce batch dequeuing
Hello! On 3/21/2017 7:04 AM, Jason Wang wrote: > Signed-off-by: Jason Wang <jasowang at redhat.com> > --- > include/linux/ptr_ring.h | 65 ++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 65 insertions(+) > > diff --git a/include/linux/ptr_ring.h b/include/linux/ptr_ring.h > index 6c70444..4771ded 100644 > --- a/include/linux/ptr_ring.h > +++
2017 Mar 21
1
[PATCH net-next 1/8] ptr_ring: introduce batch dequeuing
Hello! On 3/21/2017 7:04 AM, Jason Wang wrote: > Signed-off-by: Jason Wang <jasowang at redhat.com> > --- > include/linux/ptr_ring.h | 65 ++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 65 insertions(+) > > diff --git a/include/linux/ptr_ring.h b/include/linux/ptr_ring.h > index 6c70444..4771ded 100644 > --- a/include/linux/ptr_ring.h > +++