Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • R reference-repository
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • grid5000grid5000
  • reference-repository
  • Merge requests
  • !90

Oar properties pyxis

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Pierre Neyron requested to merge oar-properties-pyxis into master Mar 16, 2020
  • Overview 1
  • Commits 4
  • Pipelines 7
  • Changes 11

On pyxis: all cpuset ids (of all threads) a grouped by CPU:

  • CPU0: 0-127
  • CPU1: 128-255

Among a CPU, threads are given in round robin:

  • CPU0: 0,32,64,96 -> 31,63,95,127
  • CPU1: 128,160,192,224 -> 159,191,223,255

So looking at the first thread of each core, this gives 2 groups:

  • CPU0: 0-31
  • CPU1: 128-159 Thus a gap between the 2.

So the new formula to give the first thread id of each core is the following: row[:cpuset] = cpu_num * cpu_thread_count + core_num

Edited Mar 16, 2020 by Pierre Neyron
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: oar-properties-pyxis