Skip to content

Misiug/slurmprofiles#240

Draft
misiugodfrey wants to merge 29 commits intomainfrom
misiug/slurmprofiles
Draft

Misiug/slurmprofiles#240
misiugodfrey wants to merge 29 commits intomainfrom
misiug/slurmprofiles

Conversation

@misiugodfrey
Copy link
Contributor

@misiugodfrey misiugodfrey commented Feb 16, 2026

Set up a system to record profiles in a slurm cluster environment.

When the profiling option is used for run_benchmark.sh (-p|--profile), each worker container will run nsys start, wrapping the presto executable. When run_benchmark.sh is finished running, it will send a signal to each worker by writing to a file based on that worker_id. Each worker will periodically check it's respective file and will run nsys stop when the signal is received.

This means that we currently profile the entire query suite, rather than individual queries - and all profiles are only for one worker. If we want to profile an individual query, it is best to run the run_benchmark.sh with only that query.

This PR is also based on the as-of-yet unmerged slurmscripts PR: #202 so it will need to wait for that to merge first.

@karthikeyann
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants