Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for additional platform MMU profile options #4921

Open
1 task done
dgonzalez85 opened this issue Jan 23, 2025 · 0 comments
Open
1 task done

Support for additional platform MMU profile options #4921

dgonzalez85 opened this issue Jan 23, 2025 · 0 comments
Labels
type: enhancement New feature or request

Comments

@dgonzalez85
Copy link

Enhancement summary

We are looking to replicate configurations for AI deployment. We need to modify some buffer allocation settings in some platforms.

In particular the headroom pool limit configuration as described in these TOIs:

https://www.arista.com/en/support/toi/eos-4-15-0f/19869-mmu-profiles-for-front-panel-ports
https://www.arista.com/en/support/toi/eos-4-21-3f/14110-mmu-profile-reservation-in-cells

switch(config)#platform trident mmu headroom-pool limit cells <cells>
switch(config)#platform trident mmu headroom-pool limit bytes <bytes>

(config)#platform trident mmu headroom-pool limit ?
  bytes         Specify the headroom pool limit (in bytes)
  cells         Specify the headroom pool limit (in cells)
  <1-33554432>  Max limit on headroom pool size

(config)#platform trident mmu headroom-pool limit cells ?
  <1-131072>  Max limit on headroom pool size

And also the ingress priority-group:

platform trident mmu queue profile CUSTOM
(queue-profile-<name>)# ingress priority-group <priority-group-num> reserved <bytes>

(config-queue-CUSTOM)#ingress priority-group ?
  <0-7>  The priority-group group number

(config-queue-CUSTOM)#ingress priority-group 0 ?
  reserved   Specify the amount of memory that should be reserved
  threshold  Specify the dynamic shared memory threshold

(config-queue-CUSTOM)#ingress priority-group 0 reserved ?
  bytes        Specify the amount of memory that should be reserved (in bytes)
  cells        Specify the amount of memory that should be reserved (in cells)
  <0-2097152>  Amount of memory that should be reserved (in bytes)

(config-queue-CUSTOM)#ingress priority-group 0 threshold ?
  1      alpha1
  1/128  alphaDiv128
  1/16   alphaDiv16
  1/2    alphaDiv2
  1/32   alphaDiv32
  1/4    alphaDiv4
  1/64   alphaDiv64
  1/8    alphaDiv8
  2      alpha2
  4      alpha4
  8      alpha8

This is currently not supported:
https://avd.arista.com/5.1/roles/eos_cli_config_gen/docs/input-variables.html#platform

Which component of AVD is impacted

eos_cli_config_gen

Use case example

Adjust trident buffer allocation for AI deployment.

Describe the solution you would like

Expand ip-platform section in eos_cli_config_gen to support this.

Describe alternatives you have considered

custom_structured_configuration_eos_cli: |
  platform trident mmu headroom-pool limit cells 10000

platform:
  trident:
    mmu:
      active_profile: CUSTOM
      queue_profiles:
        - name: CUSTOM
          unicast_queues:
            - id: 1
              threshold: 2
            - id: 3
              threshold: 8

But missing the priority group option.

Additional context

No response

Contributing Guide

  • I agree to follow this project's Code of Conduct
@dgonzalez85 dgonzalez85 added the type: enhancement New feature or request label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant