Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1308723

Re: [ANNOUNCE] 4.4-rc6-rt1

From Grygorii Strashko <grygorii.strashko@ti.com>
Newsgroups linux.kernel
Subject Re: [ANNOUNCE] 4.4-rc6-rt1
Date 2016-01-13 19:40 +0100
Message-ID <qQyuS-3Ce-25@gated-at.bofh.it> (permalink)
References <qJ0xY-74S-5@gated-at.bofh.it> <qLOgV-6Ka-9@gated-at.bofh.it> <qM2ae-76b-7@gated-at.bofh.it> <qQxSb-37P-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01/13/2016 07:58 PM, Sebastian Andrzej Siewior wrote:
> * Mike Galbraith | 2016-01-01 08:19:41 [+0100]:
>
>>>    PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
>>>      3 root      -2   0       0      0      0 S  37.3  0.0 307:52.44 ksoftirqd/0
>>>     32 root      -2   0       0      0      0 S  37.3  0.0 308:08.72 ksoftirqd/2
>>>     42 root      -2   0       0      0      0 R  37.3  0.0 308:32.84 ksoftirqd/3
>>>     22 root      -2   0       0      0      0 S  26.9  0.0 222:29.82 ksoftirqd/1
>>>      1 root      20   0   46628   6980   4976 S   1.3  0.2   0:13.98 systemd
>>> 22358 williams  20   0  159980   4552   3780 R   1.0  0.1   0:00.39 top
>>
>> Heh, I didn't notice immediately because I throttle nohz, am seeing
>> only tiny utilization (but nohz idle isn't working).  With throttle
>> patch removed, box is screaming, expires=4294990471 pokes eyeball.
>
> This is due to NO_HZ as far as I can tell. My AMD A10 in idle mode has
> 0.7% utilisation of ksoftirqd/ with CONFIG_HZ_PERIODIC and with
> CONFIG_NO_HZ_FULL it shows about 25% on all CPU threads.
>

I might be wrong completely, but could below two patches affect on
CPU utilization of ksoftirqd?

6047967 ksoftirqd: Use new cond_resched_rcu_qs() function
28423ad ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

above two patches are not applied on -RT part of softirqs processing.

static void run_ksoftirqd(unsigned int cpu)
{
	local_irq_disable();
	current->softirq_nestcnt++;

	do_current_softirqs();
	current->softirq_nestcnt--;
	rcu_note_context_switch();

^^^ IRQs disabled
	local_irq_enable();
}

-- 
regards,
-grygorii

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [ANNOUNCE] 4.4-rc6-rt1 Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-01-13 19:00 +0100
  Re: [ANNOUNCE] 4.4-rc6-rt1 Grygorii Strashko <grygorii.strashko@ti.com> - 2016-01-13 19:40 +0100
    Re: [ANNOUNCE] 4.4-rc6-rt1 Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-01-14 16:00 +0100
  Re: [ANNOUNCE] 4.4-rc6-rt1 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-01-14 10:40 +0100
  Re: [ANNOUNCE] 4.4-rc6-rt1 Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-01-14 15:20 +0100
    Re: [ANNOUNCE] 4.4-rc6-rt1 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-01-14 15:40 +0100
      Re: [ANNOUNCE] 4.4-rc6-rt1 Thomas Gleixner <tglx@linutronix.de> - 2016-01-14 15:40 +0100
        Re: [ANNOUNCE] 4.4-rc6-rt1 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-01-14 16:00 +0100
          Re: [ANNOUNCE] 4.4-rc6-rt1 Thomas Gleixner <tglx@linutronix.de> - 2016-01-14 16:10 +0100
            Re: [ANNOUNCE] 4.4-rc6-rt1 Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-01-14 17:10 +0100

csiph-web