LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[PATCH] additional proc entries for synchronisation

To: LVS Users <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [PATCH] additional proc entries for synchronisation
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 15 Nov 2002 14:53:20 +0900
Hi,

I would like to resumbit this patch, which I have now updated for ipvs
1.0.7.  The patch adds two new proc entries that effect the operation of
the synchronisation daemon.

/proc/sys/net/vs/sync_frequency

This is a companion to the existing /proc/sys/net/vs/sync_threshold proc
entry.  It sets how often a packet will be synchronised. The default is
50, which was the hard-coded value for this.

/proc/sys/net/vs/sync_msg_max_size

This sets the maximum size of messages sent by the synchronisation
daemon in bytes. The intention is to be able to fine tune this for
networks whose MTU may be other than 1500 bytes. One example that
springs to mind would be a (Gigabit) network that uses jumbo frames of
6000 bytes. The default is 1228 which is the old hard-coded value, plus
a little extra space to allow 50 simple connections to be transmitted by
having an extra 24 bytes to allow for the case where the last connection
is a full connection.

The patch also: 

   Updates the ipvsadm(8) man pages to document the functionality of
   these proc entries, as well as the existing
   /proc/sys/net/vs/sync_threshold proc entry that was previously
   undocumented.

   Fixes various spelling and gramatical errors in the ipvsadm(8)
   man page

   Cleans up the name space of some symbols. For instance FULL_CONN_SIZE
   becomes IP_VS_SUNC_FULL_CONN_SIZE

   Changes my email address. Ok, so that isn't actually imporatnt :)

Thanks

-- 
Horms
        

Attachment: ipvs-0.1.7-sync_proc.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>