LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] LVS and receive packet steering

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] LVS and receive packet steering
From: Siim Põder <siim@xxxxxxxxxxxxxxx>
Date: Wed, 13 Jan 2010 13:42:00 +0200
Hi

Currently LVS scales to the maximum of different network interfaces
used for moving traffic. For DR it would most likely be 1 cpu core,
for NAT 2 cores. So multicore machines can't really be used
effectively (most cores will be idle).

I saw "receive packet steering" patch being mentioned a few weeks back
(http://lwn.net/Articles/361440/). Essentially it hashes src/dst
ip/port (for tcp and udp) to select the CPU that will handle any
packet (hence keeping a flow on a single CPU core). Would also allow
ipvs module code to be run on multiple processors in parallel (of
course, it CAN run in parallel, but usually it will just not do it
currently, as the incoming packets from an interface will be handled
sequentially)?

I'd imagine that the patch should just transparently make general
networking, ipvs (and netfilter) code scale to all CPU cores, unless
I'm misunderstanding something about this patch. I was wondering if
someone had already tried this or could speculate whether this should
be the case?

Thanks,
Siim

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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