Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-425

Scheduler policy & priority configuration

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Medium Medium
    • 17.01
    • None
    • None
    • None

      Add following startup.conf config:

      cpu {
      scheduler-priority <num>
      scheduler-policy [other | batch | idle | fifo | rr ]
      }

      • reflect those values to SCHED_SETSCHEDULER system call
      • extend "show threads” to display same information by calling “sched_getscheduler"
      • if no startup config, don’t do anything
      • verify with "chrt -a -p $(pgrep vpp)” that it actually works
      • verify that it works for vpp_lite platform

            sk1u06b3 Pavel Kotucek
            sk1u06b3 Pavel Kotucek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: