[AMD Official Use Only - AMD Internal Distribution Only]
> > >
> > > > 1. if there are specific SoC which do not populate the information
> > > > at all? If yes are they in DTS?
> > >
> > > This information is populated correctly for all SOCs, comment was on
> > > the script.
> >
> > Please note,
> >
> > For instance, in Neoverse N1 can disable the use of SLC as LLC (a BIOS
> > setting) If SLC is not used as LLC, then your script would report the
> > unified L2
> as an LLC.
>
> Does `disabling SLC as LLC` disable L3? I think not, and what you are
> implying is
> the ` ls -d /sys/bus/cpu
[AMD Official Use Only - AMD Internal Distribution Only]
> >Some SOCs may only show upper-level caches here, therefore
> > cannot be use blindly without knowing the SOC.
> >
> > Can you please help us understand
> >
>
> For instance, in Neoverse N1 can disable the use of SLC as LLC (a B
On Tue, Sep 03, 2024 at 05:54:22PM +, Wathsala Wathawana Vithanage wrote:
> > Some SOCs may only show upper-level caches here, therefore cannot
> > be use blindly without knowing the SOC.
> >
> > Can you please help us understand
> >
>
> For instance, in Neoverse N1 can disable the use
>Some SOCs may only show upper-level caches here, therefore cannot
> be use blindly without knowing the SOC.
>
> Can you please help us understand
>
For instance, in Neoverse N1 can disable the use of SLC as LLC (a BIOS setting)
If SLC is not used as LLC, then your script would report th
-unsigned int rte_get_next_lcore(unsigned int i, int skip_main, int wrap)
+#define LCORE_GET_LLC \
+ "ls -d /sys/bus/cpu/devices/cpu%u/cache/index[0-9] | sort -r
| grep -m1 index[0-9] | awk -F '[x]' '{print $2}' "
This won't work for some SOCs.
Thank you for your response. ple
+ "ls -d /sys/bus/cpu/devices/cpu%u/cache/index[0-9] | sort -r | grep
-m1 index[0-9] | awk -F '[x]' '{print $2}' "
NAK
Running shell commands from EAL is non-portable and likely to be flagged by
security scanning tools.
Do it in C please.
Thank you Stephen, for pointing this ou
> -unsigned int rte_get_next_lcore(unsigned int i, int skip_main, int wrap)
> +#define LCORE_GET_LLC \
> + "ls -d /sys/bus/cpu/devices/cpu%u/cache/index[0-9] | sort -r
> | grep -m1 index[0-9] | awk -F '[x]' '{print $2}' "
>
This won't work for some SOCs.
How to ensure the index yo
On Tue, 27 Aug 2024 20:40:13 +0530
Vipin Varghese wrote:
> + "ls -d /sys/bus/cpu/devices/cpu%u/cache/index[0-9] | sort -r
> | grep -m1 index[0-9] | awk -F '[x]' '{print $2}' "
NAK
Running shell commands from EAL is non-portable and likely to be flagged by
security scanning tools.
9 matches
Mail list logo