Hi Joe,
Thanks for the post. And I was wrong.. :(
Joseph Mack NA3T wrote:
> On Thu, 5 Jun 2008, hirantha wrote:
>
>> I am assuming the connection hash table size (default size=4096) is
>> equal to number of client connections established+other state in the
>> director.
>
> no. read about it in the HOWTO
>
> Joe
>
So now I know the requirement. I expect 300 connections per second and each
connection keep for 200
seconds. So my value on the connection hash table should be 16 (2^16=65536)
Now.. how do I set this value without recompiling the kernel. The way I'm doing
is that how ipvsadm
.rpm package patch the kernel to support lvs. The default .rpm package's hash
table value is 4096
and I need this to alter to 65536 by using src.rpm package. There is a kernel
patch
ipvsadm-1.24-kernhdr-1.2.0.path where I can change the default value:
+#ifndef CONFIG_IP_VS_TAB_BITS
+#define CONFIG_IP_VS_TAB_BITS 12
+#endif
to
+#ifndef CONFIG_IP_VS_TAB_BITS
+#define CONFIG_IP_VS_TAB_BITS 16
+#endif
and build the .rpm package. There is no luck on this method. Do I really need
to re-compile the
kernel..?
Please help
Regards
Hirantha
|