[dummynet] Several queues connected to one pipe: "dummynet: OUCH! pipe should have been idle!"

From: Maxim Ignatenko <gelraen.ua_at_gmail.com>
Date: Sun, 26 Apr 2009 17:32:45 +0300
Hi,

I have next dummynet configuration:

    ipfw pipe 3 bw 3Mbit/s
    ipfw queue 10 config pipe 3 weight 10 mask src-ip 0xffffffff
    ipfw queue 11 config pipe 3 weight 10 mask dst-ip 0xffffffff

Two queues for different traffic directions connected to one pipe.
After update to r191410 my /var/log/messages filled with:

    Apr 24 16:33:31 imax kernel: dummynet: OUCH! pipe should have been idle!
    Apr 24 16:33:59 imax last message repeated 8 times
    Apr 24 16:35:53 imax last message repeated 519 times
    Apr 24 16:38:55 imax last message repeated 50 times

Then I've changed ip_dummynet.c little, to see actual value of
pipe->scheduler_heap.elements
Here what I've got with one dynamic queue per parent:

    Apr 25 16:16:34 imax kernel: dummynet: OUCH! pipe should have been
idle!SCH len: 2
    Apr 25 16:17:05 imax last message repeated 462 times
    Apr 25 16:18:48 imax last message repeated 1269 times

With two queues per parent:

    Apr 26 16:51:34 imax kernel: dummynet: OUCH! pipe should have been
idle!SCH len: 4
    Apr 26 16:51:34 imax kernel: dummynet: OUCH! pipe should have been
idle!SCH len: 3
    Apr 26 16:51:34 imax kernel: dummynet: OUCH! pipe should have been
idle!SCH len: 4
    Apr 26 16:51:34 imax kernel: dummynet: OUCH! pipe should have been
idle!SCH len: 3
    Apr 26 16:51:34 imax kernel: dummynet: OUCH! pipe should have been
idle!SCH len: 4

Thanks for attention, awaiting your comments and/or suggestions.
Received on Sun Apr 26 2009 - 12:32:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:46 UTC