[PATCH] octeontx: add linux 5.10 testing kernel support

Daniel Danzberger daniel at dd-wrt.com
Mon Sep 6 20:43:17 PDT 2021


On Fri, 2021-09-03 at 15:08 +0200, Daniel Danzberger wrote:
> 
> > 
> > > +CONFIG_HZ=250
> > 
> > Why 250 Hz? Does the 100 Hz all other targets use cause any
> > measurable
> > increase in latency?
> > [snipped]
> I did not notice this changed. The config I made for 5.10 was before
> your commit 3326b5e75c277b4fac21bffd2085df4aa40d2775 which changed
> the
> default frequency to 100 Hz.
> There should be no issue with 100 Hz on octecontx, but I will confirm
> this with new builds on my test devices.
Confirmed. No issues here with 100 Hz.
> 
> > 
> > > +CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
> > 
> > CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y might not be a performance
> > win,
> > especially with only 1 GiB of RAM. Should be measured, otherwise
> > MADVISE should be selected instead.
> Same here, it was selected in the 5.4 kernel config and I have only
> run
> tested with this option so far.
> Let me do some benchmarking with MADVISE before we continue here ...
Looks like none of the processes running even gets a huge page:
--
root at OpenWrt:~# grep AnonHugePages /proc/meminfo 
AnonHugePages:         0 kB
root at OpenWrt:~# 
--
Even my test tool that just allocs one 8MB block doesn't get one.
Looks like CONFIG_TRANSPARENT_HUGEPAGE isn't working on this platform.

> > 
> > Best regards,
> > Rui
> > 
> 


-- 
Regards

Daniel Danzberger
embeDD GmbH, Alter Postplatz 2, CH-6370 Stans




More information about the openwrt-devel mailing list