LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [CFT/RFC/PATCH] backport of the RS threshold limitation patch for 2.

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [CFT/RFC/PATCH] backport of the RS threshold limitation patch for 2.4.x kernels
From: julius <lfs@xxxxxxx>
Date: Sun, 22 Jun 2003 10:34:29 +0200
great work, will test this patch in the next days


On Wed, 18 Jun 2003 03:15:16 +0200
Roberto Nibali <ratz@xxxxxxxxxxxx> wrote:

> Hi,
> 
> I'm back again with rather good news :)
> 
> > I have to disappoint you as the per RS theshold patch is only available 
> > for 2.2.x and 2.5.x kernels. I'll have a look on how trivial it is to 
> > backport it to 2.4.x. Maybe not today because I have to finish other 
> > programming tasks for a project.
> 
> I magically lost the sources of the project I had to do, so I was forced 
> to work on a port to 2.4.x :). Attached is the patch against the 
> ipvs-1.0.9 tar-ball. It compiles and the output looks ok but I haven't 
> tested it.
> 
> I call for brave testers here or for some good eyes (Horms? Julian? Lars?)
> 
> Wensong, I think I will pose you some questions about the current 2.5.x 
> implementation, maybe even some patches. I am not sure about the 1/3 
> rule :). Otherwise if people test it and like it I suggest we include 
> it. I will definitely hit on it next week when I do another kernel round 
> for our company internal kernels.
> 
> To compile you might need to patch your kernel with the usual symbol 
> patches from the tar-ball. Then you patch with my threshold patch and 
> then you make the bloody thing.
> 
> A sample test output (didn't even crash the kernel) of my session:
> 
> root@laphish /data/lvs/ipvs-1.0.9-ratz # ./ipvsadm -L -n --thresholds
> IP Virtual Server version 1.0.16 (size=32768)
> Prot LocalAddress:Port            Uthreshold Lthreshold ActiveConn InActConn
>    -> RemoteAddress:Port
> root@laphish /data/lvs/ipvs-1.0.9-ratz # ./ipvsadm -A -t 10.10.10.10:80
> root@laphish /data/lvs/ipvs-1.0.9-ratz # ./ipvsadm -a -t 10.10.10.10:80 
> -r 10.10.10.1:80 -x 59 -y 234
> root@laphish /data/lvs/ipvs-1.0.9-ratz # ./ipvsadm -L -n --thresholds
> IP Virtual Server version 1.0.16 (size=32768)
> Prot LocalAddress:Port            Uthreshold Lthreshold ActiveConn InActConn
>    -> RemoteAddress:Port
> TCP  10.10.10.10:80 wlc
>    -> 10.10.10.1:80                59         234        0          0
> root@laphish /data/lvs/ipvs-1.0.9-ratz # uname -a
> Linux laphish.drugphish.ch 2.4.20-gentoo-r5 #2 Tue Jun 10 16:14:44 CEST 
> 2003 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
> root@laphish /data/lvs/ipvs-1.0.9-ratz #
> 
> Happiness rules until the stuff breaks the kernel!
> 
> Have fun,
> Roberto Nibali, ratz
> -- 
> echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc
> 
<Prev in Thread] Current Thread [Next in Thread>