Could you test an included patch?

Eugene L Kovalenja wrote:

Time in three days traffic via ipfw doesn't go. In top:
  21 root         1 -44    -     0K     8K WAIT   7   2:15  99.02% dummynet
(this is example, not copy\paste)

Also sw1: net increases from 5-10% to 30-35%...

I am helped only by reboot.

In what can consist the problem?


--- sys/netinet/ip_dummynet.c.orig      2009-03-20 12:08:47.000000000 +0300
+++ sys/netinet/ip_dummynet.c   2009-03-20 12:09:31.000000000 +0300
@@ -145,8 +145,8 @@
 static void    ready_event_wfq(struct dn_pipe *p, struct mbuf **head,
                    struct mbuf **tail);
 
-#define        HASHSIZE        16
-#define        HASH(num)       ((((num) >> 8) ^ ((num) >> 4) ^ (num)) & 0x0f)
+#define        HASHSIZE        255
+#define        HASH(num)       ((((num) >> 8) ^ ((num) >> 4) ^ (num)) & 0xff)
 static struct dn_pipe_head     pipehash[HASHSIZE];     /* all pipes */
 static struct dn_flow_set_head flowsethash[HASHSIZE];  /* all flowsets */
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "[email protected]"

Reply via email to