All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sébastien CRAMATTE" <s.cramatte@wanadoo.fr>
To: lartc@vger.kernel.org
Subject: [LARTC] ip_conntrack: falling back to vmalloc.
Date: Wed, 14 Nov 2007 14:55:14 +0000	[thread overview]
Message-ID: <473B0C52.80402@wanadoo.fr> (raw)

Hello

I've got  a server with 3Gb of ram and I want to keep 256 for the system
and allocate  the rest to conntrack ...

I've tried to change the HASHSIZE of the  ip_conntrack  but  dmesg
return me this error !

ip_conntrack version 2.4 (2097152 buckets, 16777216 max) - 236 bytes per
conntrack
ip_conntrack: falling back to vmalloc.

....

I've use this "math"  to calculate it :


(3072 - 256)  x 1024^2  -  236 = 12511822,1027

The near "power of 2"  seems to be 2^23 = 8388608

With this result I've change my "sysctl.conf" file  

net.ipv4.netfilter.ip_conntrack_max = 8388608
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established= 28800

and  I've to change the HASHSIZE to  ip_conntrack_max / 4 ...


What is wrong ! How can I solve the problem ...
I'm waiting for a server with 8Gb (8192) of ram  most of available to
use with conntrack !

Regards




_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

                 reply	other threads:[~2007-11-14 14:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=473B0C52.80402@wanadoo.fr \
    --to=s.cramatte@wanadoo.fr \
    --cc=lartc@vger.kernel.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.