LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ipvs_syncmaster brings cpu to 100%

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: ipvs_syncmaster brings cpu to 100%
From: Luca Maranzano <liuk001@xxxxxxxxx>
Date: Thu, 15 Sep 2005 13:09:00 +0200
Just another curiosity:

debld1:~# ps aux|grep ipvs
root      3748  0.0  0.0      0     0 ?        D    12:09   0:00
[ipvs_syncmaster]
root      3757  0.0  0.0      0     0 ?        D    12:09   0:00
[ipvs_syncbackup]

Note the D status, i.e. Uninterruptible sleep (usually IO).
However I'm able to stop both the processes without any problem.

Later,
Luca


On 15/09/05, Luca Maranzano <liuk001@xxxxxxxxx> wrote:
> Hi Horms,
> 
> I've tried also Debian's linux-image-2.6.12-1-686 and the symptoms are the 
> same:
> 
> - Load average fixed at 2.00
> - Failover and failback works fine as in 2.6.11
> 
> the Sync Daemon get started with this command line:
> 
> $IPVSADM --start-daemon master --mcast-interface $IFACE
> $IPVSADM --start-daemon backup --mcast-interface $IFACE
> 
> where $IFACE is the NIC of the hearbeat LAN on the Bcm5700. I've also
> tried to use the Intel NIC but the problem is the same.
> 
> debld1:~# ipvsadm -v
> ipvsadm v1.24 2003/06/07 (compiled with popt and IPVS v1.2.0)
> 
> Horms, I can live with this load average but I suspect that it is not normal.
> 
> Another option, just to say to have tried all ;-), is with Debian Kernel 
> 2.4.27.
> 
> Really, is there some one on the list which is using this setup who
> can report about this?
> 
> Regards,
> Luca
> 
> PS: /proc/cpuinfo
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 15
> model           : 4
> model name      : Intel(R) Xeon(TM) CPU 3.40GHz
> stepping        : 3
> cpu MHz         : 3402.741
> cache size      : 2048 KB
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 5
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
> pni monitor ds_cpl est cid cx16 xtpr
> bogomips        : 6733.82
> 
> On 12/09/05, Horms <horms@xxxxxxxxxxxx> wrote:
> > On Fri, Sep 09, 2005 at 12:04:01PM +0200, Luca Maranzano wrote:
> > > Thanks to all for the replies.
> > >
> > > For Bruce Rosenthal: I cannot strace the ipvs_syncmaster since it is a
> > > kernel thread and strace IMVHO doesn't work.
> > >
> > > I'm doing some tests with Debian kernel 2.6.8-2-686-smp and the
> > > daemons starts and CPU load is very low (near 0.0) as it should be.
> > >
> > > For Horms: I've tryed also non-SMP kernel 2.6.11 (always debian) and
> > > the result is the same (100% cpu hog). May be I should try to disable
> > > Hyperthreading to be sure that it is not the cause. Are you using a
> > > Debian Kernel 2.6.11 or some other version? (Debian kernels are
> > > slightly different from stock Linus' kernels)
> >
> > Doesn't using a non-SMP kernel disable hyperthreading?
> >
> > I've tried Debian's linux-image-2.6.12-1-686-smp on the following system, 
> > and
> > I can't see the problem at all. Ditto for linux-image-2.6.11-2-686
> > (which seems to disable hyperthreading).
> >
> > --
> > Horms
> >
> > processor       : 0
> > vendor_id       : GenuineIntel
> > cpu family      : 15
> > model           : 2
> > model name      : Intel(R) Pentium(R) 4 CPU 2.40GHz
> > stepping        : 9
> > cpu MHz         : 2401.072
> > cache size      : 512 KB
> > physical id     : 0
> > siblings        : 2
> > core id         : 0
> > cpu cores       : 1
> > fdiv_bug        : no
> > hlt_bug         : no
> > f00f_bug        : no
> > coma_bug        : no
> > fpu             : yes
> > fpu_exception   : yes
> > cpuid level     : 2
> > wp              : yes
> > flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
> > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
> > bogomips        : 4751.36
> >
> > processor       : 1
> > vendor_id       : GenuineIntel
> > cpu family      : 15
> > model           : 2
> > model name      : Intel(R) Pentium(R) 4 CPU 2.40GHz
> > stepping        : 9
> > cpu MHz         : 2401.072
> > cache size      : 512 KB
> > physical id     : 0
> > siblings        : 2
> > core id         : 0
> > cpu cores       : 1
> > fdiv_bug        : no
> > hlt_bug         : no
> > f00f_bug        : no
> > coma_bug        : no
> > fpu             : yes
> > fpu_exception   : yes
> > cpuid level     : 2
> > wp              : yes
> > flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
> > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
> > bogomips        : 4784.12
> >
> >
>

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