Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1015189imm; Fri, 15 Jun 2018 09:48:03 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLk0N/SfSzToMREmSxs7KEKCN6OrBwbue8/ZVfSvBb7xEZvTR6Us13GsZdo3HlXqcxR6oxn X-Received: by 2002:a63:7f4e:: with SMTP id p14-v6mr2289369pgn.27.1529081283149; Fri, 15 Jun 2018 09:48:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529081283; cv=none; d=google.com; s=arc-20160816; b=suK+b15co54my7qAGg+NmrAtV3Dz//X6pNoNq1rbldfzABpxwwxWIGC4Nn9pHok0/I 0B4A7w1Fq2oqPV88oP/3mNy88osCc85LOxrYPfb4do/GkJm46LbFepXT+/jsvs/DYBkj flCdH1p9e6kaNS8lcyUTig6X0kvDuFLLeGL5L05vYU6iqjii3Rt11FqY74uuBMdaeSBZ nDiz2eAflfMJKojxz6lZE+8fuqzY7RAz/SCmONmcztRV6GFN1W6hrTQ4+Q8/bdiCMHXs OALKb1p4vghP6ejotnjCHM0YTit9QJg25/l1OLwgO5Z8L76MpCEZCWAl+iBoI4YR6gMO llbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=h0jBAqUMODS2Xx9+D9SsYwAH+zQMalefZrcG8C7H+vA=; b=d5KvYcdQMDWNGzQugqNpR9N9imp8Itf0ZD0/7Uo/u8eZgE+Wtvnnbif3kbyIlJCehH seH/wP1NDl9Ad1ISd7OCcfOPrw8kDXhKyeqpkEIASkj0p6In82msOQL8Xysm7d0GGE8D ma4ro6VWUso/kf5idS3+Q3gwmbydNe5dGXLk/s3FKv5V/uuVAvsDd/HosysVZ/yXz03h uoU2dtYr0eSlB2r5K2J1PmhOwoqtaY7q1qSJ9TRvroAPYsPFssYPnZ0NST/ZqBpetiKu 6sq68Js0JOp5XL2SvdYHoQpLVs9a27ggDkZJQ6n3B4o9+Tmlz6yNVRqxf0zKkulzCKYi 5n8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x70-v6si7065394pgx.576.2018.06.15.09.47.48; Fri, 15 Jun 2018 09:48:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966337AbeFOQqO (ORCPT + 99 others); Fri, 15 Jun 2018 12:46:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:40488 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966083AbeFOQqM (ORCPT ); Fri, 15 Jun 2018 12:46:12 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1DBCA208B2; Fri, 15 Jun 2018 16:46:11 +0000 (UTC) Date: Fri, 15 Jun 2018 12:46:09 -0400 From: Steven Rostedt To: Mikulas Patocka Cc: Alan Stern , Thomas Gleixner , Ming Lei , Greg Kroah-Hartman , USB list , Kernel development list Subject: Re: [PATCH] usb: don't offload isochronous urb completions to ksoftirq Message-ID: <20180615124609.7726924b@gandalf.local.home> In-Reply-To: References: <20180613183145.17564d82@gandalf.local.home> <20180614183546.7e04024c@gandalf.local.home> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 15 Jun 2018 12:41:10 -0400 (EDT) Mikulas Patocka wrote: > BTW. when I subject the machine to a ping flood (ping -f), the > non-realtime kernel (with the patch to avoid offloading ehci urb > callbacks) performs better than the real-time kernel. > > With the real-time kernel, all the networking work is done in the thread > "irq/12-eth0", that has (by default) priority -51, it consumes 30% CPU > time and causes sound skipping. I can avoid the skipping by lowering the > priority of "irq/12-eth0". That's actually the correct thing to do. When dealing with RT applications, one needs to modify the priority of the interrupts that are required (or lower the ones that are not). > > With non-realtime kernel, no such problem during ping flood exists. But that was with a patched kernel? -- Steve