ARM bare metal servers

0

Hi,

We are planning to get arm based bare metal systems like m6g.metal or m6gd.metal We need to use the hardware ARM SPE feature on these systems.

Is this feature enabled by default or something we need to request AWS to enable on this system?

Thanks

Jantoo
질문됨 5달 전526회 조회
2개 답변
0

As long as you in the allowed region, you can just select it for your ec2 instance: https://aws.amazon.com/blogs/aws/new-m6g-ec2-instances-powered-by-arm-based-aws-graviton2/

Now it’s your turn to give it a try in one the following AWS Regions : US East (N. Virginia), US East (Ohio), US West (Oregon), Europe (Ireland), Europe (Frankfurt), and Asia Pacific (Tokyo), or watch to learn about our other recent Graviton2-based instances.

profile picture
전문가
답변함 5달 전
profile picture
전문가
검토됨 5달 전
0

On metal platforms for Graviton, you do indeed get access to the ARM SPE feature. You need to check that the OS you're using has CONFIG_ARM_SPE_PMU set to y or m (modprobe arm_spe_pmu to activate it if its configured as a module). On platforms like Ubuntu you may need to install an extra package to get the module, in this case for ubuntu its apt install linux-modules-extra-$(uname -r). One wrinkle is the way SPE works and how its integrated into your chosen distro may require you to disable the kpti security feature at boot with kpti=off on the kernel command line. So I recommend only to use it for debugging.

After you check the feature is enabled for your distro, check that the PMU is available in /sys/devices/arm_spe_0 and have fun gathering precise information about instructions. A good resource for processing the traces I've used in the past is: https://gitlab.arm.com/telemetry-solution/telemetry-solution/-/tree/spe-parser-prototype/tools/spe-parser. It imports the trace into a parquet file for later processing.

GeoffB
답변함 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠