Re: ipvs_syncmaster brings cpu to 100%
From: Julian Anastasov <ja@ssi.bg>
Date: 2005-09-29 07:00:12
Hello, 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. Regards -- Julian Anastasov [off-list ref]