Re: Clang-6 and GNUisms.

2018-03-11 Thread Mark Linimon
The problem is even worse on armv6/armv7/aarch64, and much worse on powerpc64/sparc64, which still have gcc in base. I have not been saving up the emails where ports committers have been fixing various failure modes. I hesitate to start making harmless- seeming patches myself for fear of my

Re: Strange ARC/Swap/CPU on yesterday's -CURRENT

2018-03-11 Thread Jeff Roberson
On Sun, 11 Mar 2018, O. Hartmann wrote: Am Wed, 7 Mar 2018 14:39:13 +0400 Roman Bogorodskiy schrieb: Danilo G. Baio wrote: On Tue, Mar 06, 2018 at 01:36:45PM -0600, Larry Rosenman wrote: On Tue, Mar 06, 2018 at 10:16:36AM -0800, Rodney W. Grimes wrote: On Tue, Mar

Clang-6 and GNUisms.

2018-03-11 Thread Ian FREISLICH
Hi There's been some fallout in ports land since clang-6 around null pointer arithmetic and casts.  I cannot think of a good reason for doing the following but then I've not dabbled in the arcane much: # define __INT_TO_PTR(P) ((P) + (char *) 0) So far I've encountered these in lang/v8 and

Re: Strange ARC/Swap/CPU on yesterday's -CURRENT

2018-03-11 Thread Mark Millard
As I understand, O. Hartmann's report ( ohartmann at walstatt.org ) in: https://lists.freebsd.org/pipermail/freebsd-current/2018-March/068806.html includes a system with a completely non-ZFS context: UFS only. Quoting that part: > This is from a APU, no ZFS, UFS on a small mSATA device, the

Re: Strange ARC/Swap/CPU on yesterday's -CURRENT

2018-03-11 Thread Matthew D. Fuller
On Sun, Mar 11, 2018 at 10:43:58AM -1000 I heard the voice of Jeff Roberson, and lo! it spake thus: > > First, I would like to identify whether the wired memory is in the > buffer cache. Can those of you that have a repro look at sysctl > vfs.bufspace and tell me if that accounts for the bulk of

Re: Strange ARC/Swap/CPU on yesterday's -CURRENT

2018-03-11 Thread Tom Rushworth
Hi All, On 11/03/2018 13:43, Jeff Roberson wrote: [snip] > > Hi Folks, > > This could be my fault from recent NUMA and concurrency related work. I > did touch some of the arc back-pressure mechanisms. First, I would like > to identify whether the wired memory is in the buffer cache. Can

Re: Strange ARC/Swap/CPU on yesterday's -CURRENT

2018-03-11 Thread Jeff Roberson
On Sun, 11 Mar 2018, Mark Millard wrote: As I understand, O. Hartmann's report ( ohartmann at walstatt.org ) in: https://lists.freebsd.org/pipermail/freebsd-current/2018-March/068806.html includes a system with a completely non-ZFS context: UFS only. Quoting that part: This is from a APU,

Speed up CD/DVD-based FreeBSD

2018-03-11 Thread O. Hartmann
We have a special case of running FreeBSD (actually a NanoBSD) from a CD/DVD. The reason behind using a CD/DVD is to prevent manipulations. Now, after the GUI hass started, the system autologin a user and autostarts Firefox. But starting Firefox takes ~ 5 - 7 minutes, while the operating system