lvs sync, unusual load

Horms horms at verge.net.au
Fri Nov 10 01:14:43 GMT 2006


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/


Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list