[Kamailio-Users] question about htable size

Edson - Lists 4lists at gmail.com
Wed Sep 2 16:40:54 CEST 2009


Some time ago, Daniel explained exactly Your question... I'm trying to 
find the thread, but maybe is quickier if you look also for it... it 
involved Alex, Daniel and someone else and discussed htable hash table 
size...

Edson.

Juha Heinanen escreveu:
> htable module readme says abotu htable param:
> 
> size - number specifying the size of hash table. The number of entries
> in the table is 2^size
> 
> does it mean the size of the hash table or how many entries can be
> stored in hash table?
> 
> in lcr module, for example, lcr_hash_size param specifies the former and
> there is no limit on how many entries a hash table can contain:
> 
> Defines the size of hash table used to store <prefix, from_pattern,
> priority> tuples. Hashing is done based on prefix. Larger value means
> less collisions with other prefixes. Hash size value should be a power
> of 2.
> 
> it is the same with htable size param?
> 
> -- juha
> 
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
> 



More information about the Users mailing list