RE: iphash vs iptreemap

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

 



On Thu, 19 Jun 2008, Nishit Shah wrote:

> > 	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.
> 
> Just a clarification here. 
> 
> What I understand is, If I don't have entries with --timeout values in
> iptreemap (as currently --timeout is not supported in iptreemap), do we
> really need --gc ? 

Yes, because it still does garbage collection which can accumulate by 
adding and deleting entries.

> Can't we do it on ADD/UPDATE/DELETE/FLUSH events on set ?

You mean garbage collection? Flushing does, the others not :-).

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

[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