You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to put some prints in the code, but I seem to have a situation where tmp_overrides are not being respected.
the config file:
# Default/example plotman.yaml configuration file# Options for display and renderinguser_interface:
use_stty_size: True# Where to plot and log.directories:
# One directory in which to store all plot job logs (the STDOUT/# STDERR of all plot jobs). In order to monitor progress, plotman# reads these logs on a regular basis, so using a fast drive is# recommended.log: /mnt/logs # One or more directories to use as tmp dirs for plotting. The# scheduler will use all of them and distribute jobs among them.# It assumes that IO is independent for each one (i.e., that each# one is on a different physical device).## If multiple directories share a common prefix, reports will# abbreviate and show just the uniquely identifying suffix.tmp:
- /mnt/rust/
- /mnt/nvme/# Optional: Allows overriding some characteristics of certain tmp# directories. This contains a map of tmp directory names to# attributes. If a tmp directory and attribute is not listed here,# it uses the default attribute setting from the main configuration.## Currently support override parameters:# - tmpdir_max_jobstmp_overrides:
# In this example, /mnt/tmp/00 is larger than the other tmp# dirs and it can hold more plots than the default."/mnt/rust":
tmpdir_max_jobs: 4"/mnt/nvme":
tmpdir_max_jobs: 1dst:
- /mnt/final# Plotting scheduling parametersscheduling:
tmpdir_stagger_phase_major: 2tmpdir_stagger_phase_minor: 1# Optional: default is 1tmpdir_stagger_phase_limit: 2# Don't run more than this many jobs at a time on a single temp dir.tmpdir_max_jobs: 5# Don't run more than this many jobs at a time in total.global_max_jobs: 4# Don't run any jobs (across all temp dirs) more often than this, in minutes.global_stagger_m: 20# How often the daemon wakes to consider starting a new plot job, in seconds.polling_time_s: 20plotting:
k: 32e: False # Use -e plotting optionn_threads: 6# Threads per jobn_buckets: 128# Number of buckets to split data intojob_buffer: 4096# Per job memory# If specified, pass through to the -f and -p options. See CLI reference.# farmer_pk: ...# pool_pk: ...
so I take from that config that the nvme should never have more than 1 job running on it... however
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to put some prints in the code, but I seem to have a situation where tmp_overrides are not being respected.
the config file:
so I take from that config that the nvme should never have more than 1 job running on it... however
I've tried putting some prints in the code here
plotman/src/plotman/manager.py
Line 67 in 1876d4c
However I don't see it hitting here even when I go into plotman interactive or when a new job starts.
What am I doing wrong? Thanks,
Beta Was this translation helpful? Give feedback.
All reactions