Messages in this thread | | | Date | Thu, 17 Sep 2015 10:31:41 +0800 | From | Yuyang Du <> | Subject | Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by capacity_orig |
| |
On Wed, Sep 16, 2015 at 10:06:24AM -0700, bsegall@google.com wrote: > > The point really is, metrics (if not many ) need resolution, not just NICE_0_LOAD does. > > You can choose to either hardcode a number, like SCHED_CAPACITY_SHIFT now, > > or you can use SCHED_RESOLUTION_SHIFT, which is even as simple as a sign to say what > > the defined is (the scaled one with a better resolution vs. the original one). > > I guess this is to say we now have a (no-big-deal) resolution system. > > Yes they were chosen for similar reasons, but they are not conceptually > related, and you couldn't decide to just bump up all the resolutions by > changing SCHED_RESOLUTION_SHIFT, so doing this would just be misleading.
Yes, it appears they are made seemingly conceptually related. But probably it isn't worth a concern, if one knows it is just a scaled integer metric.
| |