Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2018 14:33:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 232204] 11.2-RELEASE on Raspberry Pi2 ignoring one CPU.
Message-ID:  <bug-232204-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232204

            Bug ID: 232204
           Summary: 11.2-RELEASE on Raspberry Pi2 ignoring one CPU.
           Product: Base System
           Version: 11.2-RELEASE
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: steve@oldmillretro.co.uk

I have 2 Raspberry Pi2s running FreeBSD 11.2-RELEASE, one is using the late=
st
image
(https://download.freebsd.org/ftp/releases/ISO-IMAGES/11.2/FreeBSD-11.2-REL=
EASE-arm-armv6-RPI2.img.xz),
the other I have built from source (r338421). Both seemed to function perfe=
ctly
with no stability issues but I noticed some odd load values. Despite being
98%-100% idle, the systems show load values in the region of but never less
than 1.00. After some brief investigation only CPU 0,1 and 3 are being util=
ised
despite all 4 cores being discovered on boot. CPU 2 remains 100% idle at all
times on both machines.=20

root@pi2:~ # sysctl hw.ncpu
hw.ncpu: 4

Running top -P at idle shows :-

last pid:  9083;  load averages:  1.09,  1.09,  1.03    up 3+01:04:56  06:2=
5:53
21 processes:  1 running, 20 sleeping
CPU 0:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU 1:  5.3% user,  0.0% nice,  0.0% system,  0.0% interrupt, 94.7% idle
CPU 2:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU 3:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Mem: 4464K Active, 31M Inact, 72M Wired, 29M Buf, 688M Free
Swap:

Running top -P with make -j8 buildworld :-

last pid: 10475;  load averages:  8.62,  3.53,  2.06    up 3+01:16:06  14:2=
9:56
67 processes:  12 running, 55 sleeping
CPU 0: 73.7% user,  0.0% nice, 12.5% system, 13.7% interrupt,  0.0% idle
CPU 1: 89.0% user,  0.0% nice, 11.0% system,  0.0% interrupt,  0.0% idle
CPU 2:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU 3: 82.0% user,  0.0% nice,  6.7% system, 11.4% interrupt,  0.0% idle
Mem: 113M Active, 92M Inact, 93M Wired, 38M Buf, 498M Free
Swap:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232204-7>