LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs sync, unusual load

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: lvs sync, unusual load
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 10 Nov 2006 10:14:43 +0900
On Thu, Nov 09, 2006 at 10:17:36AM +0100, Sebastian Vieira wrote:
> This happens on my systems as well. Running one sync daemon results in an
> increase of 1.00 load avg. Both daemons:  2.00 load avg. Some time ago Horms
> created a patch for ip_vs_sync.c   It basicly involves changing:
> 
> - __set_current_state(TASK_INTERRUPTIBLE);
> - schedule_timeout(HZ);
> 
> for
> 
> + ssleep(1);
> 
> Recompile kernel (and ipvsadm?) reboot and the load will be normal again.
> I've tested this on six lvs's and all of them perform normally after the
> patch.

Ahh, that old gem. Dean, can you check to see if this change is present
in ip_vs_sync.c?

Also, its unrelated to ipvsadm, so you won't need to touch that.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


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