On Thu, 19 Jun 2008, Nishit Shah wrote: > Can you suggest me guidelines for doing the same (i.e which things > to look out while tests are running or type of tests)? You can test the speed by adding IP addresses to the sets and then test them one-by-one and measure the elapsed time. (It's worth to test entries missing from the set as well!) Unfortunately you cannot exclude the userspace-kernel communication overhead. > can /proc/slabinfo help to identify the memory usage ? The hash types use a fixed size hash (which is resized if required), so you can calculate the required memory directly from the hash size. The iptree types use slab caches, so /proc/slabinfo can be used. > Also, what is significant of --gc parameter in iptreemap ? > Does it make difference in testing ? It governs how often garbage collector is run to release empty leaves and branches. Of course it has an effect on the current memory usage. Best regards, Jozsef - E-mail : kadlec@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxx PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt Address : KFKI Research Institute for Particle and Nuclear Physics H-1525 Budapest 114, POB. 49, Hungary -- 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