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


Groups > linux.kernel > #1378365

Re: [PATCH v4] x86/hpet: Reduce HPET counter read contention

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH v4] x86/hpet: Reduce HPET counter read contention
Date 2016-04-14 02:30 +0200
Message-ID <rnDkt-1ob-1@gated-at.bofh.it> (permalink)
References <rnbxT-3BX-5@gated-at.bofh.it> <rnmjE-4Uv-7@gated-at.bofh.it> <rnv3z-3mt-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Apr 13, 2016 at 11:37:21AM -0400, Waiman Long wrote:
> The TSC clocksource, on the other hand, is per cpu. So there won't be much
> contention in accessing it. Normally TSC will be used the default clock
> source. However, if there is too much variation in the actual clock speeds
> of the individual CPUs, 

Does the system actually have a clock rate skew? Not an offset?

> it will cause the TSC calibration to fail and revert
> to use hpet as the clock source. During bootup, hpet will usually be
> selected as the default clock source first. After a short time, the TSC will
> take over as the default clock source. Problem can happen during that short
> period of transition time too. In fact, we have 16-socket Broadwell-EX
> systems that has this soft lockup problem once in a few reboot cycles which
> prompted me to find a solution to fix it.

This 16 socket system is a completely broken trainwreck. Trying to use
HPET with _that_ many CPUs is absolutely insane.

Please tell your hardware engineers to fix the TSC clock domain.

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


Thread

[PATCH v4] x86/hpet: Reduce HPET counter read contention Waiman Long <Waiman.Long@hpe.com> - 2016-04-12 20:50 +0200
  Re: [PATCH v4] x86/hpet: Reduce HPET counter read contention Ingo Molnar <mingo@kernel.org> - 2016-04-13 08:20 +0200
    Re: [PATCH v4] x86/hpet: Reduce HPET counter read contention Waiman Long <waiman.long@hpe.com> - 2016-04-13 17:40 +0200
      Re: [PATCH v4] x86/hpet: Reduce HPET counter read contention Peter Zijlstra <peterz@infradead.org> - 2016-04-14 02:30 +0200
        Re: [PATCH v4] x86/hpet: Reduce HPET counter read contention Waiman Long <waiman.long@hpe.com> - 2016-04-14 04:20 +0200

csiph-web