Re: Performance tuning (single/dual cpu)

To: Florin Andrei <elf_too@xxxxxxxxx>
Subject: Re: Performance tuning (single/dual cpu)
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, "Pat O'Rourke" <orourke@xxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Sat, 30 Dec 2000 10:33:14 +0000 (GMT)

On Fri, 29 Dec 2000, Florin Andrei wrote:

> --- Michael E Brown <michael_e_brown@xxxxxxxx> wrote:
> >
> > The other obvious tuning recommendation: Pick a stable 2.4 kernel and use
> > that. Any (untuned) 2.4 kernel will blow away 2.2 in a multiprocessor
> > configuration. If I remember correctly 2.4.0test 10-11 are pretty stable.
> Yes, but LVS for 2.4 is really stable for production?

        It looks good. The only problem: you can't use the LVS box as
gateway for non-LVS connections in NAT mode. I.e. a working setup can be:

LVS box:

        external addresses:


        internal addresses:

        ipvsadm -a -t -r -m

real server: - network for non-LVS traffic - network for LVS traffic

        ip rule add prio 100 from table 100
        ip route add table 100 via dev eth0 src

        route add default gw

        LVS box    default gateway (, masq box)     \ /

        You have to use source routing and to split the traffic to
a LVS and non-LVS related. One day if/when LVS can coexist with
ip_conntrack/iptable_nat such tricks will not be needed.

> =====
> Florin Andrei


Julian Anastasov <ja@xxxxxx>

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