Skip to content

NUMA allocation with NP02ReadoutApplication and fake readers#284

Open
ShyamB97 wants to merge 2 commits intodevelopfrom
sbhuller/np02-app-emu-fix
Open

NUMA allocation with NP02ReadoutApplication and fake readers#284
ShyamB97 wants to merge 2 commits intodevelopfrom
sbhuller/np02-app-emu-fix

Conversation

@ShyamB97
Copy link
Copy Markdown
Contributor

@ShyamB97 ShyamB97 commented Mar 25, 2026

Description

If full description and testing details are included on a parent issue, please link to that here.
See issue # for details

Otherwise, please include a summary of the change and which issue is fixed (if any).
Include relevant motivation and context, including a target environment and dunedaq version if known.
Also list any dependencies that are required for this change.

Allow using NUMA allocation through the dpdk receivers when FDFakeReaderModules are used. Without this, latency buffers are assigned numa 0 by default and cant be changed, so this limits the scope of using the NP02 readout application on servers where typically we need to assign the latency buffers to two NUMA regions.

Can be tested by running

daqconf_inspector sessions/np02-emu-session.data.xml show-smartapp-mods np02-emu-session runp02srv004-crp23-emu

and searching the output for the assigned NUMA node for the latency buffers in each daq application. it should be assigned to 2 and 3 when using the following ehn1-daqconfigs branch (parallel PR):
https://gitlab.cern.ch/dune-daq/online/ehn1-daqconfigs/-/merge_requests/274

Type of change

  • Documentation (non-breaking change that adds or improves the documentation)
  • New feature or enhancement (non-breaking change which adds functionality)
  • Optimization (non-breaking change that improves code/performance)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (whatever its nature)

Testing checklist

  • Unit tests pass (e.g. dbt-build --unittest)
  • Minimal system quicktest passes (pytest -s minimal_system_quick_test.py)
  • Full set of integration tests pass (dunedaq_integtest_bundle.sh)
  • Python tests pass if applicable (e.g. python -m pytest)
  • Pre-commit hooks run successfully if applicable (e.g. pre-commit run --all-files)

unit test and integration tests should pass.

Further checks

  • Code is commented where needed, particularly in hard-to-understand areas
  • Code style is correct (dbt-build --lint, and/or see https://dune-daq-sw.readthedocs.io/en/latest/packages/styleguide/)
  • If applicable, new tests have been added or an issue has been opened to tackle that in the future.
    (Indicate issue here: # (issue))

@ShyamB97 ShyamB97 requested a review from MRiganSUSX March 25, 2026 15:40
@ShyamB97 ShyamB97 self-assigned this Mar 25, 2026
@ShyamB97 ShyamB97 added the bug Something isn't working label Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants