[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netfilter
Subject:    Re: ipset - understanding hash size and maxelem
From:       Vladimir <ml () foomx ! de>
Date:       2013-04-12 8:53:43
Message-ID: 20130412105343.40ba965d () vd ! bk ! hosteurope ! de
[Download RAW message or body]

On Thu, 11 Apr 2013 16:05:59 +0200
Jimmy Thrasibule <thrasibule.jimmy@gmail.com> wrote:

> hashsize default value is 1024, minimum seems to be 64 on my system.
> You can specify hashsize to gain memory or have a bigger hash. If you
> already know the maximum size of your set, you can specify hashsize
> near to that value and maxelem to limit the set (for example to
> prevent accidental additions).  

Thanks for your answer. Is there a way to calculate the memory footprint
of certain number of ipset entries? For example 100.000 entries need
100.000 x 2 byte... Or is it possible to display it somehow for an
existing set? 

@jimmy: sorry for double sending. 
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic