From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933871AbcIANAC (ORCPT ); Thu, 1 Sep 2016 09:00:02 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:33409 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932589AbcIANAA (ORCPT ); Thu, 1 Sep 2016 09:00:00 -0400 Message-ID: <1472734643.5019.9.camel@edumazet-glaptop3.roam.corp.google.com> Subject: Re: [PATCH] softirq: let ksoftirqd do its job From: Eric Dumazet To: Jesper Dangaard Brouer Cc: Peter Zijlstra , David Miller , Rik van Riel , Paolo Abeni , Hannes Frederic Sowa , linux-kernel , netdev , Jonathan Corbet Date: Thu, 01 Sep 2016 05:57:23 -0700 In-Reply-To: <20160901143859.730826ed@redhat.com> References: <1472650472.14381.317.camel@edumazet-glaptop3.roam.corp.google.com> <1472650688.32433.115.camel@redhat.com> <1472652643.14381.320.camel@edumazet-glaptop3.roam.corp.google.com> <20160831164216.2901190c@redhat.com> <1472661956.14381.335.camel@edumazet-glaptop3.roam.corp.google.com> <1472665349.14381.356.camel@edumazet-glaptop3.roam.corp.google.com> <20160831214043.2f44cf08@redhat.com> <1472676150.14381.363.camel@edumazet-glaptop3.roam.corp.google.com> <20160831235116.33b1946b@redhat.com> <20160901130231.58355405@redhat.com> <20160901115356.GT10153@twins.programming.kicks-ass.net> <20160901142925.63a5031b@redhat.com> <20160901143859.730826ed@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2016-09-01 at 14:38 +0200, Jesper Dangaard Brouer wrote: > Correction, on the server-under-test, I'm actually running RHEL7.2 > > > > How do I verify/check if I have enabled a cpu-cgroup? > > Hannes says I can look in "/proc/self/cgroup" > > $ cat /proc/self/cgroup > 7:net_cls:/ > 6:blkio:/ > 5:devices:/ > 4:perf_event:/ > 3:cpu,cpuacct:/ > 2:cpuset:/ > 1:name=systemd:/user.slice/user-1000.slice/session-c1.scope > > And that "/" indicate I've not enabled cgroups, right? > In my experience, I found that times displayed by top are often off for softirq processing. Before applying my patch, top shows very small amount of cpu time for udp_rcv and ksoftirqd/0 , while obviously cpu 0 is completely busy. Make sure to try latest Linus tree, as I did yesterday, because apparently things are better than a few weeks back. BTW, even 'perf top' has sometimes problems showing me cycles spent in softirq. I need to make sure the cpu processing NIC interrupts also spend cycles in some user space program to get meaningful results.