Re: [PATCH] netfilter: remove modulo operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 2010-10-25 05:19, Maciej Åenczykowski wrote:

>> To be read as: one OV is reachable by 13 input values; 5 OVs are each
>> reachable by 12 input values (IV) (i.e. a group of 60 IV lead to only 5
>> OV), etc.
>
>I don't quite follow what you are doing here.

See the code at the end of the mail; that will probably help some 
people more than my description.

>> You can surely agree with me that this looks very much like at least
>> one queue will be at a disadvantage (getting less packets).
>>
>> And indeed, with total_queues=4 I get a packet distribution of
>>
>> Â24.41404 25.58534 25.00025 25.00037
>>
>> percent. With more queues, I suspect the variance will go up.
>
>This suggests the hash function is bad.

Well, the hash function is not necessarily bad, it just is not a 
perfect hash function for the given input domain.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux