Hi,
I'm trying to tune dummynet to shape a lot of traffic. I saw some
opinions that the following patch will improve dummynet performance:
in /sys/netinet/ipfw/ip_dummynet.c
-#define HASHSIZE 16
-#define HASH(num) ((((num) >> 8) ^ ((num) >> 4) ^ (num)) & 0x0f)
+#define HASHSIZE 256
+#define HASH(num) ((((num) >> 8) ^ ((num) >> 4) ^ (num)) & 0xff)
The question is: will it increase dummynet performance? What will it
actually do internally (luigi, question for you :) ?
Best regards,
Andrey Kropachev
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "[email protected]"