From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Vladimir Getselevich" Subject: flushtimeout in ipt_ULOG question Date: Sat, 17 May 2003 12:55:19 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <004001c31c62$cebb4ce0$0200c80a@vladcomp> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003D_01C31C73.92252330" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_003D_01C31C73.92252330 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable If I set flushtimeout=3D0 in ipt_ULOG module how much milliseconds will = pass after a message was arrived to a linux host, that is guaranteed to me that the message will = be moved to the userspace? I run linux on Intel box and I saw the comments in ipt_ULOG.c code that: = "* Specify, after how many clock ticks (intel: 100 per second) the = queue * should be flushed even if it is not full yet. Does it mean that with flushtimeout=3D0 it will be moved to userspace = somewhere in interval between=20 0 and 10 ms? If it so can I somehow accelerate it? and what means HZ variable in: "static unsigned int flushtimeout =3D = 10 * HZ; " Also is it a right syntax to run module with flushtimeout=3D0? 'insmod ipt_ULOG set flushtimeout=3D0"=20 Please respond on my email (too): vladg@tx.technion.ac.il Thank you, Vladimir ------=_NextPart_000_003D_01C31C73.92252330 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
If I set flushtimeout=3D0 in ipt_ULOG = module how=20 much milliseconds will pass after a message was
arrived to a linux host, that is = guaranteed to=20 me that the message will be moved to the userspace?
I run linux on Intel box and I = saw the=20 comments in ipt_ULOG.c code that:
 
"*   Specify, after how many = clock ticks=20 (intel: 100 per second) the queue
 * should be flushed even if = it is not=20 full yet.
 
Does it mean that with flushtimeout=3D0 = it will be=20 moved to userspace somewhere in interval between
0 and 10 ms? If it so can I somehow = accelerate=20 it?
and what means HZ variable = in:  =20 "static unsigned int flushtimeout =3D 10 * HZ; "
 
Also is it a right syntax to run module with flushtimeout=3D0?
'insmod ipt_ULOG set flushtimeout=3D0" =
 
Please respond on my email (too):  = vladg@tx.technion.ac.il
 
Thank you,
 =20 Vladimir
------=_NextPart_000_003D_01C31C73.92252330--