ECS Exit code: 132 on Graviton3

0

I running my app written in Rust on ECS backed by Graviton3 EC2. It runs as expected.

After my attempt to optimize compilation using processor specific things RUSTFLAGS="-C target-cpu=neoverse-v1 -C target-feature=+sve2,+lse" the app starts even prints some Wellcome output and stops with Exit code: 132.

I started separate EC2 with Graviton3 processor. Installed Docker there and same app with same dokerfile works there like a charm.

Is there som additional tuning required to use +sve2,+lse on ECS?

profile picture
Smotrov
질문됨 2달 전411회 조회
1개 답변
0
수락된 답변

This was also asked in https://github.com/aws/aws-graviton-getting-started/issues/370, and the answer is for ECS you need to provision your EC2 cluster with this AL2 AMI: amzn2-ami-ecs-kernel-5.10-hvm-2.0.20240409-arm64-ebs to get the proper kernel support for SVE. The default AL2 ECS AMI uses the 4.14 kernel which does not support all the hardware features in Gv3.

AWS
답변함 12일 전
  • Yep. It was me there as well :-)

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

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

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

관련 콘텐츠