LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Patch: proc entries for synchronisation daemon

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Patch: proc entries for synchronisation daemon
From: Horms <horms@xxxxxxxxxxxx>
Date: Mon, 1 Jul 2002 15:21:48 +0900
Hi,

The attached 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.


I have also updated 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.


Thanks

-- 
Horms
        

Attachment: ipvs-1.0.3.proc.sys.ip_vs_sync_max_msg_size
Description: Text document

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