LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

One-packet scheduling for kernel 2.6

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: One-packet scheduling for kernel 2.6
From: Nicolas Baradakis <nbk@xxxxxxxxxxxxx>
Date: Thu, 29 Sep 2005 16:02:21 +0200
I'm using LVS with the patch ops written by Julian Anastasov. It's
very very useful in my case, as I need to load balance RADIUS packets
for approximately a half-million users.

The RADIUS protocol per RFC 2865 is based on UDP: each request is a
single independant packet. Many RADIUS implementations use only a
single UDP socket to send their requests, and LVS mistakenly think it
is a persistant connection. Things are worse when using a RADIUS
proxy: there is only one source IP and all the packets go to the same
real server.

The one-packet scheduling for UDP connections is the only solution
there: I have successfully used the patch ops in production for more
than a year.

http://www.ssi.bg/~ja/#lvs_patches

Now I'd like to upgrade my LVS servers to kernel 2.6.13, that's why I
had to port the set of patches to newer versions of the kernel and
related utilities.

New patches are in attachement, in hope they can be useful to other
people. Please consider merging them in LVS sources, too.

-- 
Nicolas Baradakis

Attachment: ops-ipvs-2.6.13.diff
Description: Text document

Attachment: ops-ipvsadm-1.24.diff
Description: Text document

Attachment: ops-keepalived-1.1.11.diff
Description: Text document





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