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


Groups > linux.kernel > #1429661

Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of sleep_length

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of sleep_length
Date 2016-06-23 12:20 +0200
Message-ID <rN9TP-8sv-7@gated-at.bofh.it> (permalink)
References (8 earlier) <rN7fj-6FF-7@gated-at.bofh.it> <rN8bn-7gE-5@gated-at.bofh.it> <rN8l3-7kx-3@gated-at.bofh.it> <rN8l3-7kx-1@gated-at.bofh.it> <rN8uK-7ox-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 23 Jun 2016, Zhaoyang Huang wrote:
> On 23 June 2016 at 16:35, Thomas Gleixner <tglx@linutronix.de> wrote:
> >> Hi, Thomas. If the entry,exit,min time of one idle state sums up to
> >> 500us in some platform, the 100us callback which should be common as
> >> caused by cache miss would also generate 20% imprecision. Don't you
> >
> > A cache miss is causing a 100us callback? What are you talking about?
> >
> By a serials of memory access which maybe missed on cache all. Anyway,
> we can require the callback not to introduce schedule etc, but can not
> ask them to ensure their own executing time, which they can not
> control.

I really do not understand what you are trying to solve. If the enter to idle
code is delayed by cache misses for 100us then you have other serious problems
than the accuracy of that time stamp.

Thanks,

	tglx

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


Thread

[RESEND PATCH v2 1/2] power/cpuidle: enhance the precision of state select Zhaoyang Huang <zhaoyang.huang@linaro.org> - 2016-06-17 11:20 +0200
  [RESEND PATCH v2 2/2] power/idle: enhance the precision of sleep_length Zhaoyang Huang <zhaoyang.huang@linaro.org> - 2016-06-17 11:20 +0200
    Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of  sleep_length Thomas Gleixner <tglx@linutronix.de> - 2016-06-17 11:30 +0200
      Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of sleep_length Zhaoyang Huang <zhaoyang.huang@linaro.org> - 2016-06-17 13:20 +0200
        Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of  sleep_length Thomas Gleixner <tglx@linutronix.de> - 2016-06-17 14:00 +0200
          Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of sleep_length Zhaoyang Huang <zhaoyang.huang@linaro.org> - 2016-06-20 03:20 +0200
            Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of sleep_length Zhaoyang Huang <zhaoyang.huang@linaro.org> - 2016-06-22 05:10 +0200
              Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of  sleep_length Thomas Gleixner <tglx@linutronix.de> - 2016-06-23 09:10 +0200
                Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of sleep_length Zhaoyang Huang <zhaoyang.huang@linaro.org> - 2016-06-23 09:30 +0200
                Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of  sleep_length Thomas Gleixner <tglx@linutronix.de> - 2016-06-23 10:30 +0200
                Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of  sleep_length Thomas Gleixner <tglx@linutronix.de> - 2016-06-23 10:40 +0200
                Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of sleep_length Zhaoyang Huang <zhaoyang.huang@linaro.org> - 2016-06-23 10:50 +0200
                Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of  sleep_length Thomas Gleixner <tglx@linutronix.de> - 2016-06-23 12:20 +0200
                Re: [RESEND PATCH v2 2/2] power/idle: enhance the precision of sleep_length Zhaoyang Huang <zhaoyang.huang@linaro.org> - 2016-06-23 10:40 +0200
  Re: [RESEND PATCH v2 1/2] power/cpuidle: enhance the precision of  state select "Rafael J. Wysocki" <rafael@kernel.org> - 2016-06-25 03:10 +0200
    Re: [RESEND PATCH v2 1/2] power/cpuidle: enhance the precision of  state select Zhaoyang Huang <zhaoyang.huang@linaro.org> - 2016-06-27 03:20 +0200

csiph-web