From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933818AbcBCS6B (ORCPT ); Wed, 3 Feb 2016 13:58:01 -0500 Received: from smtprelay0045.hostedemail.com ([216.40.44.45]:37570 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933040AbcBCS6A (ORCPT ); Wed, 3 Feb 2016 13:58:00 -0500 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:1801:2393:2553:2559:2562:3138:3139:3140:3141:3142:3352:3622:3867:3872:3874:4605:5007:6261:7875:7903:9040:10004:10400:10848:10967:11026:11232:11658:11914:12517:12519:12555:12663:12740:13069:13311:13357:13870:14581:14659:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: point42_7f98f5c97c529 X-Filterd-Recvd-Size: 2499 Date: Wed, 3 Feb 2016 13:57:55 -0500 From: Steven Rostedt To: Peter Zijlstra , Ingo Molnar Cc: LKML , Clark Williams , John Kacur , Daniel Bristot de Oliveira , Juri Lelli Subject: Re: [BUG] Corrupted SCHED_DEADLINE bandwidth with cpusets Message-ID: <20160203135755.07f59bc2@gandalf.local.home> In-Reply-To: <20160203135550.5f95ecb2@gandalf.local.home> References: <20160203135550.5f95ecb2@gandalf.local.home> X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.29; 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 3 Feb 2016 13:55:50 -0500 Steven Rostedt wrote: > # grep dl /proc/sched_debug > dl_rq[0]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : -104857 > dl_rq[1]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : -104857 > dl_rq[2]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : -104857 > dl_rq[3]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : -104857 > dl_rq[4]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : -104857 > dl_rq[5]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : -104857 > dl_rq[6]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : -104857 > dl_rq[7]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : -104857 > > They all went negative! > > Not good, but we can recover... Even though we can recover, I'm betting we can easily overcommit deadline tasks here. It probably wouldn't be too hard to come up with a test case that does so. -- Steve