Linux Netfilter discussions
 help / color / mirror / Atom feed
From: tedemo <tedemo@free.fr>
To: netfilter@lists.netfilter.org
Subject: Re: ipset memory usage
Date: Mon, 26 Sep 2005 13:03:44 +0200	[thread overview]
Message-ID: <4337D590.1000909@free.fr> (raw)
In-Reply-To: <Pine.LNX.4.58.0509261020310.11331@blackhole.kfki.hu>

Jozsef Kadlecsik a écrit :

>Please write it exactly what you do and what happens. Do you create, fill
>up and delete the *same* sets with exactly the *same* content, in a loop?
>
>  
>
Yes I execute those commands in a loop on the same set (a nethash of 150 
000 entries).

the commands in the loop are :
ipset -X neth
ipset --restore < ip.sets

The obtained results are :
iteration 1: neth size 25856860    VmallocUsed 108004 kB
iteration 2: neth size 25856860    VmallocUsed 108004 kB
iteration 3: neth size 38785290    VmallocUsed 158168 kB
iteration 6: neth size 25856860    VmallocUsed 108004 kB
iteration 9: neth size 58177935    VmallocUsed 235844 kB

This seems a lot for 0.15 million entries.
Are the 230Mo of Vmalloc'ed memory really used by the kernel ?

>What is your kernel and ipset versions?
>
>  
>
ipset v2.2.2 Protocol version 2
iptables v1.3.2
Linux 2.6.13 i686





  reply	other threads:[~2005-09-26 11:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-25  6:31 ipset memory usage tedemo
2005-09-26  6:54 ` Jozsef Kadlecsik
2005-09-26  8:17   ` tedemo
2005-09-26  9:28     ` Jozsef Kadlecsik
2005-09-26 11:03       ` tedemo [this message]
2005-09-26 11:16         ` Jozsef Kadlecsik
2005-09-26 12:10           ` tedemo
2005-09-27  3:01       ` tedemo
2005-09-27  6:55         ` Jozsef Kadlecsik
  -- strict thread matches above, loose matches on Subject: below --
2015-08-25 12:05 Akshat Kakkar
2015-08-26  6:08 ` Akshat Kakkar
2015-08-26 18:22 ` Jozsef Kadlecsik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4337D590.1000909@free.fr \
    --to=tedemo@free.fr \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox