ipset memory usage

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

 



As per info in http://lists.netfilter.org/pipermail/netfilter/2005-September/062859.html,
ipset of iphash of 20Million IPs, takes around only 80MB. I understand
that this might be simply multiplication of 20Million with 4 bytes
which IP takes if stored normally.

But when I try to replicate this I am getting size in memory as
506,481,176 (around 483MB) for number of entries 16,581,375.

This comes to around 30Bytes per IP.

I have got this values from ipset -L command

Is this much size anticipated?
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux