Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2009 17:32:45 +0300
From:      Maxim Ignatenko <gelraen.ua@gmail.com>
To:        freebsd-current@freebsd.org, freebsd-net@freebsd.org
Subject:   [dummynet] Several queues connected to one pipe: "dummynet: OUCH!  pipe should have been idle!"
Message-ID:  <ac42db050904260732t74caa942x89d305dabfff5158@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ac42db050904260732t74caa942x89d305dabfff5158>