From owner-freebsd-arm@freebsd.org Tue Jul 14 01:46:30 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 73D21350D90 for ; Tue, 14 Jul 2020 01:46:30 +0000 (UTC) (envelope-from freebsd-arm@darkain.com) Received: from MTA-06-4.privateemail.com (mta-06-4.privateemail.com [198.54.122.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B5NfF4fkcz3bDC; Tue, 14 Jul 2020 01:46:29 +0000 (UTC) (envelope-from freebsd-arm@darkain.com) Received: from MTA-06.privateemail.com (localhost [127.0.0.1]) by MTA-06.privateemail.com (Postfix) with ESMTP id 1FE8A6003D; Mon, 13 Jul 2020 21:46:26 -0400 (EDT) Received: from mail-io1-f47.google.com (unknown [10.20.151.206]) by MTA-06.privateemail.com (Postfix) with ESMTPA id D650960043; Tue, 14 Jul 2020 01:46:25 +0000 (UTC) Received: by mail-io1-f47.google.com with SMTP id a12so15609702ion.13; Mon, 13 Jul 2020 18:46:25 -0700 (PDT) X-Gm-Message-State: AOAM532Imjjay5BKBwTp9z2ubg7Ns72JCyk3zxDzH8K0Ftu6lM/4kNPP H0rG2CMCFJ0vUmzp15hKX/+8OTs/Q/ilk1T3n2c= X-Google-Smtp-Source: ABdhPJxyh2MFur+uVZF5xLWrCmfcr04kkGb5Y06hsKb6QtE8htvZrN7cXpBNljo6aH7kGy8M1FmTQERQjHcEmKFNvLc= X-Received: by 2002:a02:8796:: with SMTP id t22mr3398579jai.90.1594691185227; Mon, 13 Jul 2020 18:46:25 -0700 (PDT) MIME-Version: 1.0 References: <878sfnz61y.wl-bsd@zeppelin.net> In-Reply-To: From: Vincent Milum Jr Date: Mon, 13 Jul 2020 18:46:14 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: big.LITTLE status for rk3399/rockpro64? To: =?UTF-8?Q?Danilo_Eg=C3=AAa_Gondolfo?= Cc: freebsd-arm@freebsd.org X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4B5NfF4fkcz3bDC X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-arm@darkain.com designates 198.54.122.56 as permitted sender) smtp.mailfrom=freebsd-arm@darkain.com X-Spamd-Result: default: False [-1.55 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.54.122.32/27]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[darkain.com]; NEURAL_HAM_LONG(-1.01)[-1.009]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; NEURAL_HAM_SHORT(-0.24)[-0.244]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[198.54.122.56:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:22612, ipnet:198.54.122.0/24, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[198.54.122.56:from] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2020 01:46:30 -0000 Some more observations. I've full power cycled the Pinebook Pro a few times now rather than just software rebooted, and the keyboard/trackpad issue has not come back yet. All 6 cores seem to be working, but not optimally. The big cores are not boosting to their max frequency. Regardless, 6 cores is still 50% more than 4 cores, so more compute power! This is observed while compiling the FreeBSD kernel directly on the Pinebook Pro. dev.cpu.5.freq_levels: 1800/-1 1608/-1 1416/-1 1200/-1 1008/-1 816/-1 600/-1 408/-1 dev.cpu.5.freq: 1416 dev.cpu.4.freq_levels: 1800/-1 1608/-1 1416/-1 1200/-1 1008/-1 816/-1 600/-1 408/-1 dev.cpu.4.freq: 1416 dev.cpu.3.freq_levels: 1416/-1 1200/-1 1008/-1 816/-1 600/-1 408/-1 dev.cpu.3.freq: 1416 dev.cpu.2.freq_levels: 1416/-1 1200/-1 1008/-1 816/-1 600/-1 408/-1 dev.cpu.2.freq: 1416 dev.cpu.1.freq_levels: 1416/-1 1200/-1 1008/-1 816/-1 600/-1 408/-1 dev.cpu.1.freq: 1416 dev.cpu.0.freq_levels: 1416/-1 1200/-1 1008/-1 816/-1 600/-1 408/-1 dev.cpu.0.freq: 1416 hw.temperature.CPU: 56.1C hw.temperature.GPU: 51.1C On Mon, Jul 13, 2020 at 1:24 PM Vincent Milum Jr wrote: > I've enabled all 6 cores now. > > Unsure if it is related, but there were initialization issues with the > keyboard and trackpad after reboot. On first reboot, the keyboard entirel= y > locked up while typing the user name. On second reboot, keyboard > functioned, but there was no trackpad once I got into the X session. Afte= r > some time, it eventually started working on its own, no idea why. > > Hardware aside, compute so far seems to work as expected. I tried opening > large YouTube videos, and watched it stress all 6 cores without issue. > > On Mon, Jul 13, 2020 at 11:06 AM Danilo Eg=C3=AAa Gondolfo > wrote: > >> On Mon, Jul 13, 2020 at 6:27 PM Vincent Milum Jr >> wrote: >> >>> I'm curious about this, too. I recently got the Pinebook Pro up and >>> running, and would like to start testing all 6 CPU cores for doing >>> compilation tasks. >>> >>> On Mon, Jul 13, 2020 at 10:19 AM Josh Howard wrote: >>> >>> > It looks like it's been a couple of months since there's been any new= s >>> > around it. Anything in particular still needed as far as testing or >>> > debugging that goes? I have a Rockpro64 and a RockPi4e (though I don'= t >>> have >>> > that booting yet.) that I could potentially test on. >>> > >>> > Thanks >>> > >>> > >>> > _______________________________________________ >>> > freebsd-arm@freebsd.org mailing list >>> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org= " >>> > >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >>> >> >> The number of CPUs was limited here >> https://svnweb.freebsd.org/base?view=3Drevision&revision=3D360321 >> >> If you remove the hw.ncpu from your loader.conf you'll be able to use >> all the 6 cores. >> >> Although the commit message mentions a "known issue" with the big.LITTLE >> architecture, I was able to use all the 6 cores to rebuild the entire >> system and I didn't face any issue. >> >> Maybe manu@ could give us some context about that. >> >