[Top] [All Lists]

Re: ipvs_syncmaster brings cpu to 100%

To: Nishanth Aravamudan <nacc@xxxxxxxxxx>
Subject: Re: ipvs_syncmaster brings cpu to 100%
From: Julian Anastasov <ja@xxxxxx>
Date: Thu, 29 Sep 2005 10:00:12 +0300 (EEST)
Cc: Luca Maranzano <liuk001@xxxxxxxxx>, Dave Miller <davem@xxxxxxxxxxxxx>, Wensong Zhang <wensong@xxxxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <>
References: <> <> <> <> <> <> <> <> <> <> <>
Sender: netdev-bounce@xxxxxxxxxxx

On Wed, 28 Sep 2005, Nishanth Aravamudan wrote:

> Yes, the information in that thread is the same as what Luca said. It's
> a load average problem, not a CPU utilisation problem (those threads are
> sleeping!) If Luca could test the msleep_interruptible() version of the
> patch and it works (like I said, performance should not change, but the
> load average will drop to by 2), then I will ACK the patch for mainline
> acceptance.

        Agreed. It seems your initial conversion was based on wrong
assumptions, quoting you:

> Description: Use ssleep() instead of schedule_timeout() to guarantee the task
> delays as expected. The first two replacements use TASK_INTERRUPTIBLE but do
> not
> check for signals, so ssleep() should be appropriate.

        As all signals are blocked from daemonize and even explicitly
later it was not necessary to convert to non-interruptible variant.


Julian Anastasov <ja@xxxxxx>

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