Skip to content

[TASK][Timpani-n] Use gPTP-synchronized time for schedule activation #120

@LGSI-KarumuriHari

Description

@LGSI-KarumuriHari

📝 Task Description

Implement CPU affinity assignment, RT priority configuration, and sched_setattr() syscalls.

📋 Checklist

  • Use gPTP-synchronized time for activation
  • Implement sched_setattr() for SCHED_DEADLINE
  • Set runtime, deadline, and period parameters
  • Apply CPU affinity before activation
  • Coordinate activation across nodes
  • Monitor scheduling policy compliance

🔗 Related Requirement

Relates to time synchronization
Relates to #27 (Scheduler Logic)
Relates to #18 (Deadline Scheduling)

📐 Implementation Guidelines

  • Functional Requirement: FR-9.3.1 - Use gPTP-synchronized time for schedule activation
  • Component: timpani-n/Execution Layer/RT Scheduler
  • Base all activation times on synchronized CLOCK_REALTIME
  • Use sched_setattr() to configure SCHED_DEADLINE
  • Set sched_runtime, sched_deadline, sched_period
  • Apply before first task activation

🧪 Testing Method

  • Unit test: Verify sched_setattr() parameters
  • Integration test: Test synchronized activation across nodes
  • RT test: Verify deadline scheduling behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Backlog

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions