llnl / llnl/Spindle

Spindle hangs if NUMA requested and process lacks CAP_SYS_NICE

Open
#111 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
110
Forks
35
Avg merge
1d 16h
Merged PRs (30d)
2

Description

The `sched_setaffinity` function and related functions used by libnuma require `CAP_SYS_NICE`. If Spindle is launched in NUMA mode, but lacks this capability, Spindle hangs. Spindle should check whether it has `CAP_SYS_NICE` and, if not, gracefully degrade rather than hanging. This can be reproduced by running the serial testsuite image with `CAP_SYS_NICE` removed from `docker-compose.yml`.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the NUMA-mode path that calls sched_setaffinity and related libnuma functions, then inspect docker-compose.yml and the serial testsuite image reproduction. Done means Spindle no longer hangs when CAP_SYS_NICE is absent, instead degrading gracefully, and the serial tests pass with that capability removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, docker-compose
Domain
operating-systems, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.