Discussion:
IPF state tables
(too old to reply)
Edgar Fuß
2013-01-11 16:53:48 UTC
Permalink
Two questions on IPF's state tables:

1. What units are fr_state{size,max} in and how many of these do I need to
store one state? Or the other way round: If I want to keep n states, what
do I set these to and how much kernel memory will that cost?
2. How can I find out how many states ipf is currently remembering? I.e. how
close am I currently to losing state?

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Darren Reed
2013-01-11 21:18:20 UTC
Permalink
Post by Edgar Fuß
1. What units are fr_state{size,max} in and how many of these do I need to
store one state? Or the other way round: If I want to keep n states, what
do I set these to and how much kernel memory will that cost?
If you're not using -current, the best way is to recompile the kernel with
specific options...
Post by Edgar Fuß
2. How can I find out how many states ipf is currently remembering? I.e. how
close am I currently to losing state?
The latter question is answered with "ipfstat -s".

Darren


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Edgar Fuß
2013-01-11 21:41:14 UTC
Permalink
EF> 1. What units are fr_state{size,max} in and how many of these do I need to
EF> store one state? Or the other way round: If I want to keep n states,
EF> what do I set these to and how much kernel memory will that cost?
DR> If you're not using -current, the best way is to recompile the kernel with
DR> specific options...
I don't see how that answers my question.
Is fr_statesize in number of states, bytes, words, pages or which unit?
If I want to be able to deal with 2000 active states, do I need
fr_statesize=2000 or 2000*16 or 200*5746 or what multiplicator?
Post by Darren Reed
The latter question is answered with "ipfstat -s".
Ah yes, thanks.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...