Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2020 10:05:42 -0700
From:      Josh Howard <bsd@zeppelin.net>
To:        freebsd-arm@freebsd.org
Subject:   Re: big.LITTLE status for rk3399/rockpro64?
Message-ID:  <873659szkp.wl-bsd@zeppelin.net>
In-Reply-To: <DE4590E3-B14F-4972-B65C-EBD1CEB40E4E@dsllsn.net>
References:  <878sfnz61y.wl-bsd@zeppelin.net> <CAOWUMWGY%2B=w%2B9jJ8yhb9Lew6MjGorVquvATgok1_fyRMUBS6vg@mail.gmail.com> <CAFU7VyNzbFbOP5rMuVEZiMpHs_pdaD3X0Cp0GJRZTyd2pXTHPQ@mail.gmail.com> <20200714094519.f61b85e267d24c02f6a1c09f@bidouilliste.com> <87y2n6tcqr.wl-bsd@zeppelin.net> <20200728123143.GB96119@cicely18.cicely.de> <CAOWUMWEMPR9M8wTLsyrA4S_fkhAKL9Z_mjydZC4tARp3jD-kDg@mail.gmail.com> <CAOWUMWFicnTLnHL_F7k-X_455-VLfdDHk=Ka5oBKv=NiWcu=oA@mail.gmail.com> <DE4590E3-B14F-4972-B65C-EBD1CEB40E4E@dsllsn.net>

index | next in thread | previous in thread | raw e-mail

On Thu, 30 Jul 2020 09:02:56 -0700,
William Carson via freebsd-arm wrote:
> 
> 
> > On Jul 28, 2020, at 10:43 AM, Vincent Milum Jr <freebsd-arm@darkain.com> wrote:
> > 
> > The downside is that the two big cores are not fully clocking up to their max
> > speed, because FreeBSD doesn't have support yet to clock cores or groups of
> > cores independently.
> 
> Is this true? I'm running r363091 on a RockPro64 with sysutils/powerdxx and it
> supports the different frequencies just fine:
> 
> # sysctl dev.cpu.{0,1,2,3,4,5}.freq
> dev.cpu.0.freq: 1416
> dev.cpu.1.freq: 1416
> dev.cpu.2.freq: 1416
> dev.cpu.3.freq: 1416
> dev.cpu.4.freq: 1800
> dev.cpu.5.freq: 1800

powerdxx definitely does help. I think the other issue is that if you set ncpu=4,
you get get the max freq_levels of 1512 for the 4 CPUs, but when all 6 are
enabled, it finds the highest common freq, which is 1416. Furthermore, we only
set the big cores at 1800, but they should be 2016.



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?873659szkp.wl-bsd>