LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: a probelm about VS-TUN

To: "Wensong Zhang" <wensong@xxxxxxxxxxxx>
Subject: Re: a probelm about VS-TUN
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: hewt@xxxxxxxxxx (He Weitao)
Date: Tue, 28 Mar 2000 00:05:30 +0800
>
> You need user-space daemon to monitor the real server, if the real server
> is down, the daemon tell the kernel to remove the real server from the
> scheduling list or to disable it.
>
> Wensong
>

Thanks. I find the answer of  this question in LVS_2.2.13-HOWTO, blush. :)
these days I am too busy to read the HOWTO, I will check it out tomorrow.

and the HOWTO said:
"The hash table is used to speed up the connection lookup. The connection
entry is used keep state so that packets belongs to a connection from
the client will be sent to the server previously allocated for the
connection. The default number of connections (== number of entries
in hash table) is 2^12. This can be configured when building the kernel
Makefile."

    I find some files about this:
include/net/ip_vs.h
net/ipv4/ip_masq.c
net/ipv4/ip_vs.c
  but  I cannot find '2^12' and where can I change this parameter.

Suppose there are 6000 connections to Director at the same, and the ppc is
default,
what should this parameter be set to ?
and what is the upper limit of this parameter?

thanks again.

ttao.


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