Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759907AbeAIQv6 convert rfc822-to-8bit (ORCPT + 1 other); Tue, 9 Jan 2018 11:51:58 -0500 Received: from mout.gmx.net ([212.227.15.15]:49436 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755925AbeAIQvz (ORCPT ); Tue, 9 Jan 2018 11:51:55 -0500 MIME-Version: 1.0 Message-ID: From: "Josef Griebichler" To: "Jesper Dangaard Brouer" Cc: "Peter Zijlstra" , "Mauro Carvalho Chehab" , "Alan Stern" , "Greg Kroah-Hartman" , linux-usb@vger.kernel.org, "Eric Dumazet" , "Rik van Riel" , "Paolo Abeni" , "Hannes Frederic Sowa" , linux-kernel , netdev , "Jonathan Corbet" , LMML , "David Miller" , torvalds@linux-foundation.org Subject: Aw: Re: dvb usb issues since kernel 4.9 Content-Type: text/plain; charset=UTF-8 Date: Tue, 9 Jan 2018 17:51:09 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <20180108231656.3bbd1968@redhat.com> References: <20180107090336.03826df2@vento.lan> <20180108074324.3c153189@vento.lan> <20180108223109.66c91554@redhat.com> <20180108214427.GT29822@worktop.programming.kicks-ass.net> <20180108231656.3bbd1968@redhat.com> Content-Transfer-Encoding: 8BIT X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:DoJDliiiXC2gW5fSxv+s/+0OVEEpCR+eIPIXOdlB5Jh Lb/m7ZK3XmXFfkBxMLlrta8Xhul4mnI4iMF/CLB6U6fQFq2LJB j1IE2Ofy9gVb1MdYnXejYh7d5TKMuNluE4NgmrEqFyJIbrLADS cCw72hS6Y1EgtG3YGB1Bw9Hyex3GZmW3VYIglHypgM6SVUyJrd 8zbTcwbeY+10mZ+J4yIRoKglj52UlsDSLhzm5QxtdeiEghN0BD Qh3/isRNUJ/wcijud01wiytKh1Fxh+qvGo+1SpIuCQwAPwtVVH AfImGo= X-UI-Out-Filterresults: notjunk:1;V01:K0:FjhPpgh9bO4=:r89AAcSq3i5nwZvhOn4/ZH 1qxDIugQWDP8wJcdhKcqQJKROQTAygP7TiWxrF/odpFDN0RVEKLXawwkxPUXAWOhnk3eeq42G 8OL6yTW/LOioSlcf8L7MsfGg1EHVm3hcGhNdacOkXcqDpkBFn8Dpr93VYsHryRFBrWF6WEba+ CpiWnS8dm3FslHmpOFobQoqGctlnX1YhlH7wz9X1kBK4Nm8cBo/XeQHnZUR4xKSWmHE7AsTda tHGc2WQgSDGLAaOzrIyCuQRA1HY1ffqx4cexW/RjRi0/CcHMxhsDiAHPwTaXInssd5j5VIqed yLGf5LdgpwPeWWNr44BZprVLfgYNMhEKETspPZOmwTuQBX6kuQ9Z7CRhi+33MeZgmyXtcUTnD GMUNylHKEDOkemGFDgy8sQYDp/COlNamZHBAwVDPyUldktuE68Xqc4Sj3ixZrEXZHrivT4tQ4 3bZE6aGRLNKKH4beRO0R1lpI9bKXTQPp32hhS1diXZvgVRT3fEhf Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi Linus, your patch works very good for me and others (please see https://forum.libreelec.tv/thread/4235-dvb-issue-since-le-switched-to-kernel-4-9-x/?postID=77006#post77006). No errors in recordings any more. The patch was also tested on x86_64 (Revo 3700) with positive effect. I agree with the forum poster, that there's still an issue when recording and watching livetv at same time. I also get audio dropouts and audio is out of sync. According to user smp kernel 4.9.73 with your patch on rpi and according to user jahutchi kernel 4.11.12 on x86_64 have no such issues. I don't know if this dropouts are related to this topic. If of any help I could provide perf output on raspberry with libreelec and tvheadend. Regards, Josef    Gesendet: Montag, 08. Januar 2018 um 23:16 Uhr Von: "Jesper Dangaard Brouer" An: "Peter Zijlstra" Cc: "Josef Griebichler" , "Mauro Carvalho Chehab" , "Alan Stern" , "Greg Kroah-Hartman" , linux-usb@vger.kernel.org, "Eric Dumazet" , "Rik van Riel" , "Paolo Abeni" , "Hannes Frederic Sowa" , linux-kernel , netdev , "Jonathan Corbet" , LMML , "David Miller" , torvalds@linux-foundation.org Betreff: Re: dvb usb issues since kernel 4.9 On Mon, 8 Jan 2018 22:44:27 +0100 Peter Zijlstra wrote: > On Mon, Jan 08, 2018 at 10:31:09PM +0100, Jesper Dangaard Brouer wrote: > > I did expected the issue to get worse, when you load the Pi with > > network traffic, as now the softirq time-budget have to be shared > > between networking and USB/DVB. Thus, I guess you are running TCP and > > USB/mpeg2ts on the same CPU (why when you have 4 CPUs?...) > > Isn't networking also over USB on the Pi ? Darn, that is true. Looking at the dmesg output in http://ix.io/DOg: [ 0.405942] usbcore: registered new interface driver smsc95xx [ 5.821104] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 I don't know enough about USB... is it possible to control which CPU handles the individual USB ports, or on some other level (than ports)? -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer[http://www.linkedin.com/in/brouer]