[Bug 221029] AMD Ryzen: strange compilation failures using poudriere or plain buildkernel/buildworld

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 14 17:27:47 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221029

Mark Millard <markmi at dsl-only.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markmi at dsl-only.net

--- Comment #70 from Mark Millard <markmi at dsl-only.net> ---
Summary. . . .

Overall: using a virtual machine and restricting
its "processor" count to match one per core does not
seem to change the "compilation" problems much, if
at all.

Details. . .

I have access to a Ryzen7 1800X system again: replacement
motherboard in place.

So I've been experimenting but in a different context:

FreeBSD 11.1-STABLE -r322433 running under a VirtualBox
virtual machine that is running on Windows 10 Pro.

Also I've tried assigning both cases of:

16 "processors" to the VM (a mean of 2 per core)
and:
8 "processors" to the VM (a mean of 1 per core)

Either way building ports gets failures where retrying
either fails at a different place or works. (I'm using
poudriere set to match PARALLEL_JOBS to the VM
"processor" count (8 in the poudriere.conf example below).
devel/ghc seems the most reliable/quickest to fail of the
things attempted so far (only a few failures still).

Via grep for Failed :

[02:26:39] [11] [00:08:55] Finished devel/llvm39 | llvm39-3.9.1_6: Failed:
build
[03:35:53] [03] [00:07:35] Finished lang/ghc | ghc-8.0.2_1: Failed: build
[04:03:15] [04] [00:10:32] Finished math/openblas | openblas-0.2.19_1,1:
Failed: build
[01:12:55] [09] [00:00:11] Finished net-im/farstream | farstream-0.2.7: Failed:
fetch
[03:43:13] [05] [03:22:48] Finished java/openjdk7 | openjdk-7.141.02,1: Failed:
build/runaway
[00:09:18] [01] [00:06:15] Finished lang/ghc | ghc-8.0.2_1: Failed: build
[00:14:21] [02] [00:11:18] Finished math/openblas | openblas-0.2.19_1,1:
Failed: build

(I have not yet to let poudriere run to completion: I've
been trying various variations in its and the VM's
settings.)

As stands I have:

# diff /usr/local/etc/poudriere.conf.sample /usr/local/etc/poudriere.conf
12a13
> ZPOOL=zrFBSDx6411SL
30c31,32
< FREEBSD_HOST=_PROTO_://_CHANGE_THIS_
---
> #FREEBSD_HOST=_PROTO_://_CHANGE_THIS_
> FREEBSD_HOST=ftp://ftp.freebsd.org
157a160
> PARALLEL_JOBS=8
196a200
> ALLOW_MAKE_JOBS_PACKAGES="pkg ccache py* gcc* llvm* ghc* *webkit* *office* chromium* iridium* mongodb*"
263c267
< #BUILD_AS_NON_ROOT=no
---
> BUILD_AS_NON_ROOT=no

(VirtualBox warns about setting more than 8
"processors". It does seem to avoid a massive
"system" overhead as seen in top in the FreeBSD
instances when 16 "processors" were in use.)

Task Manager's Performance tab's plots indicate
that 8 threads vastly dominate the CPU activity
at the system level when the VM is given 8
"processors".

I do have: kern.hz=100

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list