LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] ipvs connections sync and CPU usage

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] ipvs connections sync and CPU usage
From: "Aleksey Chudov" <aleksey.chudov@xxxxxxxxx>
Date: Fri, 16 Dec 2011 17:46:44 +0200
Hello!

 

I have a pair of heavy loaded LVS servers.

 

HW configuration:

HP ProLiant DL360 G7, 2x X5675 @ 3.07GHz, 16GB RAM, Intel 82599EB 10-Gigabit
NIC

 

Linux Kernel 2.6.39.4 was patched to prevent "ip_vs_send_async error" as
previously discussed in

http://archive.linuxvirtualserver.org/html/lvs-users/2009-12/msg00058.html

 

ipvs_master and ipvs_backup running all the time with the following options

master sync daemon (mcast=eth3, syncid=1)

backup sync daemon (mcast=eth3, syncid=1)

 

With the default sysctl parameters net.ipv4.vs.sync_threshold = "3  50"

there is 60% difference in persistent connections between Master and Backup
nodes.

After lowering sync_threshold to "2  10" the difference was less than 9%.

 

ipvs_backup process on Backup node use 35% on single CPU core0 with "3  50"

ipvs_backup process on Backup node use 50% on single CPU core0 with "2  10"

 

I any case looks like ipvs_backup process will be a bottleneck soon.

 

Is it possible to lower cpu usage of ipvs_backup?

 

Is it possible to distribute cpu usage of ipvs_backup on multiple CPU cores?

 

 

Best regards,

Aleksey

 

_______________________________________________
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>