Skip to content

Validate enclave concurrency against TCS capacity - #147

Merged
ikehara merged 1 commit into
feature/explicit-state-parallelizationfrom
fix/enclave-concurrency-tcs-validation
Jun 29, 2026
Merged

Validate enclave concurrency against TCS capacity#147
ikehara merged 1 commit into
feature/explicit-state-parallelizationfrom
fix/enclave-concurrency-tcs-validation

Conversation

@ikehara

@ikehara ikehara commented Jun 29, 2026

Copy link
Copy Markdown

Summary

  • derive the enclave TCS capacity from signed SGX metadata
  • fail service startup when the dedicated ECALL pool size exceeds that TCS capacity
  • log the detected TCS capacity and warn when speculative concurrency exceeds it

Verification

  • cargo test -p lcp-types tcs_num -- --nocapture
  • cargo test -p lcp enclave_parallelism -- --nocapture
  • cargo check -p lcp --bin lcp

@ikehara
ikehara merged commit db6cc7c into feature/explicit-state-parallelization Jun 29, 2026
0 of 2 checks passed
@ikehara
ikehara deleted the fix/enclave-concurrency-tcs-validation branch June 29, 2026 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant