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
gefragt vor 2 Monaten412 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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
beantwortet vor 12 Tagen
  • Yep. It was me there as well :-)

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen