Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3477

Determine thread affinity defaults automatically based on hwloc

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • 6.0.0
    • Configuration
    • None

    Description

      proxy.config.exec_thread.affinity allows to configure the thread affinity depending on the system configuration.

      https://docs.trafficserver.apache.org/en/latest/reference/configuration/records.config.en.html#proxy-config-exec-thread-affinity

      It would be nice if ATS can default automatically to the appropriate setting based on the configuration from hwloc to reduce unnecessary complexity for an end user configuring ATS.

      zwoop suggests to default to 2 - assign threads to sockets, if there's more than one NUMA node and 0 - assign threads to machine, if not.

      zwoop
      8:38 if you have more than one NUMA node, probably default to 2, otherwise, default to 0
      

      Attachments

        Issue Links

          Activity

            People

              psudaemon Phil Sorber
              sudheerv Sudheer Vinukonda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: