Skip to content

[Feature]: Add benchmark for queue clearing and saturation #309

Description

@jtechapps

Problem Statement

There should be E2E tests that function as benchmarks that spin up queue implementation and async-processor instance and generate load and record how long it takes the requests to be serviced and the saturation metrics. This can be used to show and prevent performance regressions and ensure flow control is working.

Proposed Solution

For the initial benchmark we assume homogenous inference requests:

  1. Generate homogenous inference requests and add to queue using producer.
  2. Start mock inference backend
  3. Start llm-d-async with a given config
  4. Record saturation metric and time how long it takes for all the inference requests to be completed.

See the results posted in #304

Alternatives Considered

No response

Willingness to Contribute

Yes, I can submit a PR

Additional Context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Fields

No fields configured for Task.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions