Re: huge nanosleep variance on 11-stable

2016-11-02 Thread Ian Smith
On Wed, 2 Nov 2016 18:28:08 +0200, Konstantin Belousov wrote: > On Wed, Nov 02, 2016 at 09:18:15AM -0700, Jason Harmening wrote: > > I think you are probably right. Hacking out the Intel-specific > > additions to C-state parsing in acpi_cpu_cx_cst() from r282678 (thus > > going back to sti;hlt

Re: stable/11 -r308135 Build for RPI2 failed for: . . ./bcm2835_ft5406.c:65:10: fatal error: 'mbox_if.h' file not found

2016-11-02 Thread Mark Millard
Quick top post reporting that a build-order-race for -j use seems likely: the clean-then-build sequence > Command: env __MAKE_CONF=/root/src.configs/make.conf > SRC_ENV_CONF=/root/src.configs/src.conf.rpi2-clang-bootstrap.amd64-host > WITH_META_MODE=yes MAKEOBJDIRPREFIX=/usr/obj/rpi2_clang make

Re: huge nanosleep variance on 11-stable

2016-11-02 Thread Konstantin Belousov
On Wed, Nov 02, 2016 at 09:18:15AM -0700, Jason Harmening wrote: > I think you are probably right. Hacking out the Intel-specific > additions to C-state parsing in acpi_cpu_cx_cst() from r282678 (thus > going back to sti;hlt instead of monitor+mwait at C1) fixed the problem > for me. But r282678

Re: huge nanosleep variance on 11-stable

2016-11-02 Thread Jason Harmening
On 11/02/16 00:55, Konstantin Belousov wrote: > On Tue, Nov 01, 2016 at 02:29:13PM -0700, Jason Harmening wrote: >> repro code is at http://pastebin.com/B68N4AFY if anyone's interested. >> >> On 11/01/16 13:58, Jason Harmening wrote: >>> Hi everyone, >>> >>> I recently upgraded my main amd64 serv

Re: huge nanosleep variance on 11-stable

2016-11-02 Thread George Mitchell
On 11/01/16 23:45, Kevin Oberman wrote: > On Tue, Nov 1, 2016 at 2:36 PM, Jason Harmening > wrote: > >> Sorry, that should be ~*30ms* to get 30fps, though the variance is still >> up to 500ms for me either way. >> >> On 11/01/16 14:29, Jason Harmening wrote: >>> repro code is at http://pastebin.c

stable/11 -r308135 Build for RPI2 failed for: . . ./bcm2835_ft5406.c:65:10: fatal error: 'mbox_if.h' file not found

2016-11-02 Thread Mark Millard
Lack of dependency? Race? (I've not isolated why this happened yet but I was using -j 5 for buildworld buildkernel .) This was a cross-build attempt from an amd64 context: # uname -apKU FreeBSD FreeBSDx64 11.0-STABLE FreeBSD 11.0-STABLE #1 r308135M: Tue Nov 1 23:48:47 PDT 2016 root@FreeBS

Re: huge nanosleep variance on 11-stable

2016-11-02 Thread Konstantin Belousov
On Tue, Nov 01, 2016 at 02:29:13PM -0700, Jason Harmening wrote: > repro code is at http://pastebin.com/B68N4AFY if anyone's interested. > > On 11/01/16 13:58, Jason Harmening wrote: > > Hi everyone, > > > > I recently upgraded my main amd64 server from 10.3-stable (r302011) to > > 11.0-stable (r