From: Peter Zijlstra <peterz@infradead.org>
To: Mike Galbraith <umgwanakikbuti@gmail.com>
Cc: paul.szabo@sydney.edu.au, linux-kernel@vger.kernel.org
Subject: Re: [patch] sched: disable task group re-weighting on the desktop
Date: Sat, 10 Oct 2015 19:13:51 +0200 [thread overview]
Message-ID: <20151010171351.GN11639@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <20151010170142.GI3816@twins.programming.kicks-ass.net>
On Sat, Oct 10, 2015 at 07:01:42PM +0200, Peter Zijlstra wrote:
> On Sat, Oct 10, 2015 at 03:22:49PM +0200, Mike Galbraith wrote:
> > Ah, but now onward to interactivity...
> >
> > master, 8 groups of 1 (pert) vs desktop (mplayer BigBuckBunny-DivXPlusHD.mkv)
> > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ P COMMAND
> > 4068 root 20 0 8312 724 628 R 99.64 0.004 1:04.32 6 pert
> > 4065 root 20 0 8312 744 648 R 99.45 0.005 1:04.92 5 pert
> > 4071 root 20 0 8312 748 652 R 99.27 0.005 1:03.12 7 pert
> > 4077 root 20 0 8312 840 744 R 98.72 0.005 1:01.46 3 pert
> > 4074 root 20 0 8312 796 700 R 98.18 0.005 1:03.38 1 pert
> > 4079 root 20 0 8312 720 624 R 97.99 0.004 1:01.45 4 pert
> > 4062 root 20 0 8312 836 740 R 96.72 0.005 1:03.44 0 pert
> > 4059 root 20 0 8312 720 624 R 94.16 0.004 1:04.92 2 pert
> > 4082 root 20 0 1094400 154324 33592 S 4.197 0.954 0:02.69 0 mplayer
> > 1029 root 20 0 465332 151540 40816 R 3.285 0.937 0:24.59 2 Xorg
> > 1773 root 20 0 662592 73308 42012 S 2.007 0.453 0:12.84 5 konsole
> > 771 root 20 0 11416 1964 1824 S 0.730 0.012 0:10.45 0 rngd
> > 1722 root 20 0 2866772 65224 51152 S 0.365 0.403 0:03.44 2 kwin
> > 1769 root 20 0 711684 54212 38020 S 0.182 0.335 0:00.39 1 kmix
Ah wait, so you have 8 groups of cycle soakers vs 1 group of desktop?
That means your desktop will get 1/9 th of the total time and that is
almost so:
2.69+24.59+12.84+10.45+3.44+.39 = 54.4
vs
(64.32+64.92+63.12+61.46+63.38+61.45+63.44+64.92)/8 = 63.37625
Which isn't too far off.
This really appears to be a case where you get what you ask for.
next prev parent reply other threads:[~2015-10-10 17:13 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-05 21:48 CFS scheduler unfairly prefers pinned tasks paul.szabo
2015-10-06 2:45 ` Mike Galbraith
2015-10-06 10:06 ` paul.szabo
2015-10-06 12:17 ` Mike Galbraith
2015-10-06 20:44 ` paul.szabo
2015-10-07 1:28 ` Mike Galbraith
2015-10-08 8:19 ` Mike Galbraith
2015-10-08 10:54 ` paul.szabo
2015-10-08 11:19 ` Peter Zijlstra
2015-10-10 13:22 ` [patch] sched: disable task group re-weighting on the desktop Mike Galbraith
2015-10-10 14:03 ` kbuild test robot
2015-10-10 14:41 ` Mike Galbraith
2015-10-10 17:01 ` Peter Zijlstra
2015-10-10 17:13 ` Peter Zijlstra [this message]
2015-10-11 2:25 ` Mike Galbraith
2015-10-11 17:42 ` 4.3 group scheduling regression Mike Galbraith
2015-10-12 7:23 ` Peter Zijlstra
2015-10-12 7:44 ` Mike Galbraith
2015-10-12 8:04 ` Peter Zijlstra
2015-10-12 0:53 ` Yuyang Du
2015-10-12 9:12 ` Peter Zijlstra
2015-10-12 2:12 ` Yuyang Du
2015-10-12 10:23 ` Mike Galbraith
2015-10-12 19:55 ` Yuyang Du
2015-10-13 4:08 ` Mike Galbraith
2015-10-12 20:42 ` Yuyang Du
2015-10-13 8:06 ` Peter Zijlstra
2015-10-13 0:35 ` Yuyang Du
2015-10-13 8:10 ` Peter Zijlstra
2015-10-13 0:37 ` Yuyang Du
2015-10-12 11:47 ` Peter Zijlstra
2015-10-12 19:32 ` Yuyang Du
2015-10-13 8:07 ` Peter Zijlstra
2015-10-13 2:22 ` Mike Galbraith
2015-10-12 8:48 ` Mike Galbraith
2015-10-10 20:14 ` [patch] sched: disable task group re-weighting on the desktop paul.szabo
2015-10-11 2:38 ` Mike Galbraith
2015-10-11 9:25 ` paul.szabo
2015-10-11 12:49 ` Mike Galbraith
2015-10-11 19:46 ` paul.szabo
2015-10-12 1:59 ` Mike Galbraith
2015-10-08 14:25 ` CFS scheduler unfairly prefers pinned tasks Mike Galbraith
2015-10-08 21:55 ` paul.szabo
2015-10-09 1:56 ` Mike Galbraith
2015-10-09 2:40 ` Mike Galbraith
2015-10-11 9:43 ` paul.szabo
2015-10-10 3:59 ` Wanpeng Li
2015-10-10 7:58 ` Wanpeng Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151010171351.GN11639@twins.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul.szabo@sydney.edu.au \
--cc=umgwanakikbuti@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome