Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2019 00:14:11 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Ian Lepore <ian@freebsd.org>
Cc:        Poul-Henning Kamp <phk@phk.freebsd.dk>, Mark Millard via freebsd-hackers <freebsd-hackers@freebsd.org>, Konstantin Belousov <kib@freebsd.org>, bde@freebsd.org, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: powerpc64 head -r344018 stuck sleeping problems: th->th_scale * tc_delta(th) overflows unsigned 64 bits sometimes [patched failed]
Message-ID:  <CE25DF14-1CBC-4902-98AB-D6FBB57D745F@yahoo.com>
In-Reply-To: <210dfd0f50ee6b1149c914ee503502654eb5f328.camel@freebsd.org>
References:  <D3D7E9F4-9A5E-4320-B3C8-EC5CEF4A2764@yahoo.com> <20190228145542.GT2420@kib.kiev.ua> <20190228150811.GU2420@kib.kiev.ua> <962D78C3-65BE-40C1-BB50-A0088223C17B@yahoo.com> <28C2BB0A-3DAA-4D18-A317-49A8DD52778F@yahoo.com> <20190301112717.GW2420@kib.kiev.ua> <679402FF-907C-43AF-B18C-8C9CC857D7A6@yahoo.com> <6669.1551473821@critter.freebsd.dk> <210dfd0f50ee6b1149c914ee503502654eb5f328.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2019-Mar-1, at 13:11, Ian Lepore <ian at freebsd.org> wrote:

> On Fri, 2019-03-01 at 20:57 +0000, Poul-Henning Kamp wrote:
>> --------
>> In message <679402FF-907C-43AF-B18C-8C9CC857D7A6@yahoo.com>, Mark
>> Millard via freebsd-hackers writes:
>> 
>>>> I must admit that 2 seconds of interval where the timehands where
>>>> not updated is too much.
>> 
>> I have no idea how you got in that situation, but it is very far
>> from how timecounters were designed to work.
>> 
> 
> I wonder if it's fallout from reducing the number of timehands to 2,
> which always struck me as a really bad idea. I know of at least one arm
> configuration which fails because of it (it takes a combo of a single-
> core system, and a pps capture driver that uses hardware latching of
> the timer and the polling method for reading the latched value; given
> all that, at least 4 sets of timehands are needed to avoid losing PPS
> events due to generation changes).

Thanks for the suggestion.

I tried putting back having 10 timehands structures with my
variant of the original binuptime code. (My investigative
code records some information.) Unfortunately, having the
extra timehands's did not change the PowerMac G5's behavior.


===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE25DF14-1CBC-4902-98AB-D6FBB57D745F>