Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1209025
| From | John Stultz <john.stultz@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection |
| Date | 2015-08-18 05:40 +0200 |
| Message-ID | <pYFUJ-2x9-9@gated-at.bofh.it> (permalink) |
| References | <pYzvX-1vo-3@gated-at.bofh.it> <pYzvZ-1vo-29@gated-at.bofh.it> <pYALo-3sv-11@gated-at.bofh.it> <pYAV3-3DY-5@gated-at.bofh.it> <pYFi2-1yY-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 17, 2015 at 7:57 PM, Shaohua Li <shli@fb.com> wrote: > On Mon, Aug 17, 2015 at 03:17:28PM -0700, John Stultz wrote: >> That said, I agree the "should"s and other vague qualifiers in the >> commit description you point out should have more specifics to back >> things up. And I'm fine delaying this (and the follow-on) patch until >> those details are provided. > > It's not something I guess. We do see the issue from time to time. The > IPMI driver accesses some IO ports in softirq and hog cpu for a very > long time, then the watchdog alert. The false alert on the other hand > has very worse effect. It forces to use HPET as clocksource, which has > very big performance penality. We can't even manually switch back to TSC > as current interface doesn't allow us to do it, then we can only reboot > the system. I agree the driver should be fixed, but the watchdog has > false alert, we definitively should fix it. I think Thomas is requesting that some of the vague terms be quantified. Seeing the issue "from time to time" isn't super informative. When the IPMI driver hogs the cpu "for a very long time", how long does that actually take? You've provided the HPET frequency, and the wrapping interval on your hardware. Do these intervals all line up properly? I sympathize that the "show-your-work" math problem aspect of this request might be a little remedial and irritating, esp when the patch fixes the problem for you. But its important, so later on when some bug crops up in near by code, folks can easily repeat your calculation and know the problem isn't from your code. > The 1s interval is arbitary. If you think there is better way to fix the > issue, please let me know. I don't think 1s is necessarily arbitrary. Maybe not much conscious thought was put into it, but clearly .001 sec wasn't chosen, nor 10minutes for a reason. So given the intervals you're seeing the problem with, would maybe a larger max interval (say 30-seconds) make more or less sense? What would the tradeoffs be? (ie: Would that exclude clocksources with faster wraps from being used as watchdogs, with your patches?). I'm sure an good interval could be chosen with some thought, and the rational be explained. :) thanks -john -- 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 | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/9] Time items for 4.3 John Stultz <john.stultz@linaro.org> - 2015-08-17 22:50 +0200
[PATCH 2/9] time: Fix nanosecond file time rounding in timespec_trunc() John Stultz <john.stultz@linaro.org> - 2015-08-17 22:50 +0200
Re: [PATCH 2/9] time: Fix nanosecond file time rounding in timespec_trunc() Thomas Gleixner <tglx@linutronix.de> - 2015-08-18 00:20 +0200
[PATCH 6/9] time: Introduce current_kernel_time64() John Stultz <john.stultz@linaro.org> - 2015-08-17 22:50 +0200
[PATCH 1/9] timer_list: Add the base offset so remaining nsecs are accurate for non monotonic timers John Stultz <john.stultz@linaro.org> - 2015-08-17 22:50 +0200
Re: [PATCH 1/9] timer_list: Add the base offset so remaining nsecs are accurate for non monotonic timers Shuah Khan <shuahkh@osg.samsung.com> - 2015-08-17 23:10 +0200
Re: [PATCH 1/9] timer_list: Add the base offset so remaining nsecs are accurate for non monotonic timers John Stultz <john.stultz@linaro.org> - 2015-08-17 23:10 +0200
Re: [PATCH 1/9] timer_list: Add the base offset so remaining nsecs are accurate for non monotonic timers Shuah Khan <shuahkh@osg.samsung.com> - 2015-08-17 23:10 +0200
[PATCH 3/9] time: Always make sure wall_to_monotonic isn't positive John Stultz <john.stultz@linaro.org> - 2015-08-17 22:50 +0200
[PATCH 7/9] time: Introduce timespec64_to_jiffies()/jiffies_to_timespec64() John Stultz <john.stultz@linaro.org> - 2015-08-17 22:50 +0200
[PATCH 4/9] time: Add the common weak version of update_persistent_clock() John Stultz <john.stultz@linaro.org> - 2015-08-17 22:50 +0200
[PATCH 8/9] clocksource: Improve unstable clocksource detection John Stultz <john.stultz@linaro.org> - 2015-08-17 22:50 +0200
Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection Thomas Gleixner <tglx@linutronix.de> - 2015-08-18 00:10 +0200
Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection John Stultz <john.stultz@linaro.org> - 2015-08-18 00:20 +0200
Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection Shaohua Li <shli@fb.com> - 2015-08-18 05:00 +0200
Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection John Stultz <john.stultz@linaro.org> - 2015-08-18 05:40 +0200
Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection Thomas Gleixner <tglx@linutronix.de> - 2015-08-18 11:00 +0200
Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection Thomas Gleixner <tglx@linutronix.de> - 2015-08-18 10:40 +0200
Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection John Stultz <john.stultz@linaro.org> - 2015-08-18 19:50 +0200
Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection Thomas Gleixner <tglx@linutronix.de> - 2015-08-18 21:30 +0200
Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection Thomas Gleixner <tglx@linutronix.de> - 2015-08-18 22:20 +0200
Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection John Stultz <john.stultz@linaro.org> - 2015-08-18 22:20 +0200
csiph-web