ipf states once more

ipf states once more

Post by Kovacs Rob » Tue, 14 Nov 2000 04:00:00



Hi,

Just one more question.
Are these options safe?

# define        IPSTATE_SIZE    2049
# define        IPSTATE_MAX     16384    /* Maximum number of states held */

Am I right, if I think, that all I need for this is enough RAM?

thanx
r

 
 
 

ipf states once more

Post by Peter Str?mbe » Wed, 15 Nov 2000 04:00:00



>Hi,

>Just one more question.
>Are these options safe?

># define        IPSTATE_SIZE    2049
># define        IPSTATE_MAX     16384    /* Maximum number of
>states held */

>Am I right, if I think, that all I need for this is enough RAM?

>thanx
>r

The rule of thumb is that MAX should be 70% of SIZE, and that SIZE
and MAX are primes. (more buckets then state entries, for good
hashtable performance)

--
Peter Str?mberg