All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Harald Welte <laforge@netfilter.org>
Cc: Herve Eychenne <rv@wallfire.org>,
	Netfilter Development <netfilter-devel@lists.netfilter.org>
Subject: Re: RAM and conntrack performance: first draft of the document is online
Date: Wed, 26 Nov 2003 17:26:17 +0100	[thread overview]
Message-ID: <3FC4D429.3050401@trash.net> (raw)
In-Reply-To: <20031126113645.GF3121@obroa-skai.de.gnumonks.org>

Harald Welte wrote:

>>Don't you think it would be good to shrink the lists immediately?
>>Waiting til the number has dropped below the limit can take days...
>>    
>>
>
>well, it might be a good idea.  but I somehow doubt this is a valid
>scenario.  And if we would shrink the list:  how do we select which
>entries to evict?  I'd rather wait for ctnetlink to appear in mainstream
>kernels and then leave that to a userspace process.
>  
>

PF uses "adaptive timeouts" to scale down timeouts if the table gets full.
IIRC until some threshold is reached, all entries have 100% of their normal
timeouts, from then on its scaled down until 0% for a completly full table.
I've been thinking about adding this to ip_conntrack for some time because
I often have problems with my roommates edonkey and overflowing conntrack
table. I decided to experiment with it when the timeout handling of conntrack
is changed from beeing handled by a per-conntrack timer to a global cleanup
timer. I recall someone wanted to make a patch for this some time ago to
prevent timer storms, do you have any information if anyone is currently
working on this ? Otherwise I might just do both ..

Best regards,
Patrick

  reply	other threads:[~2003-11-26 16:26 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-28 15:10 RAM and conntrack performance Herve Eychenne
2003-11-03  8:12 ` Harald Welte
2003-11-25 15:35   ` Herve Eychenne
2003-11-25 20:57     ` Harald Welte
2003-11-26  3:42       ` RAM and conntrack performance: first draft of the document is online Herve Eychenne
2003-11-26  4:13         ` Henrik Nordstrom
2003-11-27  4:56           ` Herve Eychenne
2003-11-28 11:00             ` Willy Tarreau
2003-11-26 11:36         ` Harald Welte
2003-11-26 16:26           ` Patrick McHardy [this message]
2003-11-27 11:10             ` Harald Welte
2003-11-27  3:33           ` Herve Eychenne
2003-11-27  9:56             ` Henrik Nordstrom
2003-11-30 22:25             ` Harald Welte
2003-11-27  4:14           ` [PATCH] Re: hashsize available through /proc was " Herve Eychenne
2003-11-27 10:09             ` Henrik Nordstrom
2003-11-27 10:13               ` Henrik Nordstrom
2003-11-27 11:38               ` Herve Eychenne
2003-11-27 11:57                 ` Henrik Nordstrom
2003-11-27 11:14             ` Harald Welte

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=3FC4D429.3050401@trash.net \
    --to=kaber@trash.net \
    --cc=laforge@netfilter.org \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=rv@wallfire.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.