Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2025 14:31:44 +0900
From:      FUKAUMI Naoki <naoki@radxa.com>
To:        freebsd-arm@freebsd.org
Cc:        Andrew Turner <andrew@fubar.geek.nz>, Warner Losh <imp@bsdimp.com>, Mark Millard <marklmi@yahoo.com>
Subject:   Re: Radxa Orion O6
Message-ID:  <B515BDCC93A267DC%2B8c4fd64e-edf7-414d-8ca4-94bac75f07fa@radxa.com>
In-Reply-To: <5784648BD0765DC0%2B5569efd0-5ca1-4f4a-be98-60b66b793561@radxa.com>
References:  <EDDF572D3560B2F6%2Bc4a27a6d-9a19-40df-9eef-42bbb4e9aa39@radxa.com> <087C4A9F-288B-40EA-BE1B-ACFD32C86DF2@yahoo.com> <C7599FF0E0B3381D%2Be0606559-357c-435c-8534-7353a2055749@radxa.com> <9B90ADE3-9E1E-448A-B592-509B0E61B197@yahoo.com> <C7C5CBC3CFEF3079%2B0371ac55-6f32-4017-8916-4e3fbb971ad7@radxa.com> <1B4F62E3-A269-4611-B9ED-1A72298FFC85@yahoo.com> <6591E59D-4E91-4325-8A77-46E182303927@yahoo.com> <9581F4025795F7C5%2B10590950-836c-4d9c-9c05-43b25b880e08@radxa.com> <9EDB5AF9-B11B-474E-8541-6C10098574CE@yahoo.com> <CANCZdfobczXAct-C9Vvffe2mmj0Y5kpj-W-ywVbMQg_O5cctNg@mail.gmail.com> <289A1E5B1EB26246%2B02035adf-93b2-432e-aac7-8b9135ff600e@radxa.com> <77D55F7BE57B9E43%2B9557bea2-4356-4525-bb9e-c4ea885895f5@radxa.com> <066b43d33f04acffe617eebdfc1384bb@fubar.geek.nz> <AAC33341703DF020%2Beee0b7f5-0106-49e3-beb7-4e2235a421b1@radxa.com> <5784648BD0765DC0%2B5569efd0-5ca1-4f4a-be98-60b66b793561@radxa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/23/25 10:01, FUKAUMI Naoki wrote:
> $ sysctl dev.cpu.0
> dev.cpu.0.cx_usage_counters: 0
> dev.cpu.0.cx_usage: 0.00% last 1000000us
> dev.cpu.0.cx_lowest: C8
> dev.cpu.0.cx_supported: C1/1/0
> dev.cpu.0.%iommu:
> dev.cpu.0.%parent: acpi0
> dev.cpu.0.%pnpinfo: _HID=ACPI0007 _UID=0 _CID=none
> dev.cpu.0.%location: handle=\_SB_.CPU0
> dev.cpu.0.%driver: cpu
> dev.cpu.0.%desc: ACPI CPU
> 
> cpufreq is not available.

The default CPU frequency appears to be 1.8GHz for all cores.

# i=0; while [ $i -lt 12 ]; do cpuset -c -l $i openssl speed aes-256-cbc 
2> /dev/null | tail -1; i=$((i+1)); done
aes-256-cbc     737905.58k   936395.22k   996622.93k  1004410.86k 
1009625.77k  1010661.42k
aes-256-cbc     198178.40k   369839.05k   472743.53k   508200.77k 
521173.73k   520607.17k
aes-256-cbc     196727.52k   370131.22k   473509.83k   508849.19k 
520569.84k   521502.47k
aes-256-cbc     196992.29k   369904.27k   472674.38k   508958.68k 
521323.51k   520443.22k
aes-256-cbc     196616.90k   370527.78k   472879.06k   508328.49k 
521011.53k   521220.04k
aes-256-cbc     735567.06k   933901.07k   995878.32k  1008526.69k 
1008604.18k  1009893.46k
aes-256-cbc     737226.87k   937428.60k   995819.27k  1007473.03k 
1007155.91k  1009727.73k
aes-256-cbc     738611.32k   937202.69k   996591.33k  1005814.89k 
1009484.35k  1009851.84k
aes-256-cbc     737521.05k   937070.42k   996347.43k  1005990.58k 
1008898.20k  1010892.29k
aes-256-cbc     738793.99k   935527.23k   996968.12k  1005908.05k 
1011278.18k  1008093.48k
aes-256-cbc     737865.55k   936350.44k   995071.51k  1006892.53k 
1009415.42k  1011091.43k
aes-256-cbc     739641.34k   934752.18k   995666.71k  1008430.61k 
1007396.77k  1010653.86k


Below is information about cpufreq for Linux (ACPI).

$ ls
boost  policy0  policy1  policy5  policy7  policy9
$ cat policy?/affected_cpus
0 11
1 2 3 4
5 6
7 8
9 10

# cpu#    core#  : My guess
# cpu0    core10 : big
# cpu1-4  core0-3: lit
# cpu5-8  core4-7: mid
# cpu9-10 core8-9: big
# cpu11   core11 : big

$ cat policy?/scaling_max_freq
2500000
1800000
2300000
2200000
2400000
$ i=0; while [ $i -lt 12 ]; do taskset -c $i openssl speed aes-256-cbc 
2> /dev/null | tail -1; i=$((i+1)); done
aes-256-cbc     768191.62k  1238841.62k  1368941.59k  1393525.76k 
1401536.51k  1402322.94k
aes-256-cbc     146726.51k   318507.19k   450908.21k   503286.41k 
520959.14k   520219.31k
aes-256-cbc     146661.67k   318549.40k   450976.79k   501633.37k 
520967.36k   522003.01k
aes-256-cbc     146682.93k   318521.56k   449474.90k   503246.34k 
520956.40k   521986.57k
aes-256-cbc     146661.88k   318479.07k   450677.30k   503208.33k 
520879.69k   521926.29k
aes-256-cbc     705901.15k  1130593.24k  1252619.78k  1285611.79k 
1289494.53k  1290048.85k
aes-256-cbc     705389.81k  1132025.75k  1252733.10k  1285599.46k 
1289499.99k  1290016.09k
aes-256-cbc     675272.50k  1082396.80k  1198085.97k  1229700.71k 
1233425.75k  1233939.11k
aes-256-cbc     676121.08k  1082715.95k  1201655.35k  1225589.42k 
1233417.56k  1233933.65k
aes-256-cbc     739871.85k  1189212.65k  1309772.37k  1337832.45k 
1345519.62k  1346267.82k
aes-256-cbc     738046.04k  1189132.95k  1309929.56k  1342307.83k 
1345530.54k  1346273.28k
aes-256-cbc     768548.89k  1238815.06k  1364581.63k  1398357.62k 
1401607.51k  1402399.40k

$ cat policy?/scaling_max_freq
800000
800000
800000
800000
800000
$ i=0; while [ $i -lt 12 ]; do taskset -c $i openssl speed aes-256-cbc 
2> /dev/null | tail -1; i=$((i+1)); done
aes-256-cbc     245431.36k   397451.15k   436316.16k   445638.66k 
449661.35k   448413.70k
aes-256-cbc      65056.21k   141270.86k   200673.33k   223922.34k 
231000.70k   232196.47k
aes-256-cbc      65234.86k   141232.44k   200611.05k   223137.48k 
231715.39k   231348.66k
aes-256-cbc      65029.04k   141654.31k   199914.60k   223847.77k 
230932.21k   232135.99k
aes-256-cbc      65033.16k   141677.90k   199926.41k   223887.29k 
231737.39k   231376.05k
aes-256-cbc     245261.82k   394392.64k   435291.99k   445318.83k 
449661.35k   448370.01k
aes-256-cbc     245201.47k   393567.87k   436665.19k   445318.14k 
448151.55k   449831.21k
aes-256-cbc     245625.21k   395064.51k   435282.01k   445314.73k 
449669.57k   448359.08k
aes-256-cbc     245178.20k   394719.19k   435258.45k   445308.59k 
449647.65k   448337.24k
aes-256-cbc     245660.55k   397384.63k   436276.31k   445598.38k 
449642.17k   448380.93k
aes-256-cbc     245626.25k   396094.04k   437699.90k   445597.35k 
448173.40k   449918.89k
aes-256-cbc     246568.38k   396150.85k   437740.74k   445612.71k 
448157.01k   449902.45k

$ cat policy?/scaling_max_freq
1800000
1800000
1800000
1800000
1800000
$ i=0; while [ $i -lt 12 ]; do taskset -c $i openssl speed aes-256-cbc 
2> /dev/null | tail -1; i=$((i+1)); done
aes-256-cbc     552575.39k   894847.98k   982395.65k  1003268.10k 
1008964.95k  1009451.01k
aes-256-cbc     146698.40k   317453.63k   450901.28k   503192.23k 
520898.87k   521827.66k
aes-256-cbc     146658.16k   318615.63k   450943.66k   501585.24k 
520882.43k   521805.74k
aes-256-cbc     146687.99k   318486.09k   450938.95k   501529.60k 
520898.87k   521882.46k
aes-256-cbc     146677.12k   318474.81k   449393.07k   503202.85k 
520896.13k   521948.21k
aes-256-cbc     554925.99k   885799.59k   979905.62k  1002591.23k 
1009016.83k  1012832.58k
aes-256-cbc     552346.11k   885587.26k   983388.04k  1002622.63k 
1009022.29k  1009440.09k
aes-256-cbc     554113.61k   883601.00k   979817.98k  1002566.66k 
1008978.60k  1012772.30k
aes-256-cbc     552126.49k   885761.15k   983083.41k  1002620.25k 
1009000.45k  1009445.55k
aes-256-cbc     554740.52k   891779.03k   982270.04k  1003201.19k 
1008975.87k  1009532.93k
aes-256-cbc     553320.14k   891745.34k   985468.83k  1003236.35k 
1008992.26k  1009543.85k
aes-256-cbc     554808.47k   891796.59k   982230.02k  1003227.82k 
1008970.41k  1009543.85k

Best regards,

--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B515BDCC93A267DC%2B8c4fd64e-edf7-414d-8ca4-94bac75f07fa>