clang arm code slow ?

Calling all the arm users ...

can anybody try on aarch64 ?
 
i have used rk3399 for 3 months as a complete router and actively used and tested loaded system sources
pf , ipfw, dummynet and not feel system slowness
but there was a weird thing that there was builtin 4GB ram chip on it it reduced to 1GB
 
was builtin 4GB ram chip on it it reduced to 1GB
To debug this check with u-boot. On the u-boot command line you can run a memory check.
See how much shows up to u-boot.
FreeBSD hardware detection on Arm is limited. I wonder if its just a setting in the DTS/DTB.
 
So if you escape the u-boot loader and proceed to command prompt the command bdinfo shows board info.
Code:
=> bdinfo
boot_params = 0x10000100
DRAM bank   = 0x00000000
-> start    = 0x10000000
-> size     = 0x40000000

So there is the memory size u-boot is using on my platform.
Hex code 0x40000000=1G

Here it shows how to modify the dts.

Maybe a DTBO Overlay would be best way without wrangling code.
 
When I looked at this deeper the u-boot memsize should be detected automatically by get_ram_size()
But I do see where Number of Memory Chips and Memory Bank numbers come to play.
Very deep rabbit hole.
 
Back
Top