Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1292271

Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

From Mark Rutland <mark.rutland@arm.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings
Date 2015-12-15 16:40 +0100
Message-ID <qFZRM-64B-27@gated-at.bofh.it> (permalink)
References (5 earlier) <qFEDF-gS-27@gated-at.bofh.it> <qFWTT-42L-1@gated-at.bofh.it> <qFY9l-4Mo-33@gated-at.bofh.it> <qFYsG-58o-7@gated-at.bofh.it> <qFZoJ-5LF-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Dec 15, 2015 at 03:08:13PM +0000, Mark Brown wrote:
> On Tue, Dec 15, 2015 at 02:01:36PM +0000, Mark Rutland wrote:
> 
> > I really don't want to see a table of magic numbers in the kernel.
> 
> Right, there's pitfalls there too although not being part of an ABI
> does make them more manageable.  

I think that people are very likely to treat them exactly like an ABI,
w.r.t. any regressions in performance that result from their addition,
modification, or removal. That becomes really horrible when new CPUs
appear.

> One thing it's probably helpful to establish here is how much the
> specific numbers are going to matter in the grand scheme of things.  If
> the specific numbers *are* super important then nobody is going to want
> to touch them as they'll be prone to getting tweaked.  If instead the
> numbers just need to be ballpark accurate so the scheduler starts off in
> roughly the right place and the specific numbers don't matter it's a lot
> easier and having a table in the kernel until we think of something
> better (if that ever happens) gets a lot easier.

I agree that we first need to figure out the importance of these
numbers. I disagree that our first step should be to add a table.

> My expectation is that we just need good enough, not perfect, and that
> seems to match what Juri is saying about the expectation that most of
> the fine tuning is done via other knobs.

My expectation is that if a ballpark figure is good enough, it should be
possible to implement something trivial like bogomips / loop_per_jiffy
calculation.

Thanks,
Mark.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Juri Lelli <juri.lelli@arm.com> - 2015-12-14 13:40 +0100
  Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Brown <broonie@kernel.org> - 2015-12-14 18:00 +0100
    Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Juri Lelli <juri.lelli@arm.com> - 2015-12-15 13:30 +0100
      Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Brown <broonie@kernel.org> - 2015-12-15 14:50 +0100
        Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Rutland <mark.rutland@arm.com> - 2015-12-15 15:10 +0100
          Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Juri Lelli <juri.lelli@arm.com> - 2015-12-15 15:30 +0100
            Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Rutland <mark.rutland@arm.com> - 2015-12-15 16:00 +0100
              Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Juri Lelli <juri.lelli@arm.com> - 2015-12-15 16:40 +0100
          Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Brown <broonie@kernel.org> - 2015-12-15 16:10 +0100
            Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Rutland <mark.rutland@arm.com> - 2015-12-15 16:40 +0100
              Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Juri Lelli <juri.lelli@arm.com> - 2015-12-15 16:50 +0100
                Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Rutland <mark.rutland@arm.com> - 2015-12-15 17:00 +0100
                Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Catalin Marinas <catalin.marinas@arm.com> - 2015-12-15 17:30 +0100
                Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Rutland <mark.rutland@arm.com> - 2015-12-15 17:50 +0100
                Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings Vincent Guittot <vincent.guittot@linaro.org> - 2015-12-15 18:10 +0100
                Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Rutland <mark.rutland@arm.com> - 2015-12-15 18:20 +0100
                Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings Vincent Guittot <vincent.guittot@linaro.org> - 2015-12-15 18:50 +0100
                Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Rutland <mark.rutland@arm.com> - 2015-12-15 19:40 +0100
              Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Brown <broonie@kernel.org> - 2015-12-15 18:20 +0100
                Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Rutland <mark.rutland@arm.com> - 2015-12-15 18:30 +0100
                Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Brown <broonie@kernel.org> - 2015-12-15 18:50 +0100
                Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Rutland <mark.rutland@arm.com> - 2015-12-15 19:20 +0100
                Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Mark Brown <broonie@kernel.org> - 2015-12-15 19:50 +0100
                Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity  bindings Juri Lelli <juri.lelli@arm.com> - 2015-12-17 10:10 +0100
      Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings Vincent Guittot <vincent.guittot@linaro.org> - 2015-12-15 15:00 +0100

csiph-web