Skip to main content

Chia network plot manager, auto plot manager, plot like a boss

Project description

plotboss: a Chia plotting manager

The view of plotboss

Development Version: v0.3.0

This is a tool for managing Chia plotting operations, has been tested for Windows 10, Ubuntu 21.04, MacOS. This is not a plotter. The tool runs on the plotting machine and provides the following functionality:

  • Automatic spawning of new plotting jobs, possibly overlapping ("staggered or smart") on multiple temp directories, by per-temp-dir limits.

  • Monitoring of ongoing plotting and archiving jobs, progress, resources used, temp files, etc.

Functionality

Plotboss tools are stateless. Rather than keep an internal record of what jobs have been started, plotboss relies on the process tables, open files, and logfiles of plot jobs to understand "what's going on". This means the tools can be stopped and started, even from a different login session, without loss of information.

Plotboss will create a diretory plotboss_data in working directory. All the plotter's log to STDOUT and STDERR will redirect to the plotboss_data/logs folder. And the log of Plotboss is saved to plotboss_data/plotboss.log.

(Note: The tool relies on reading the chia plot command line arguments and the format of the plot tool output. Changes in those may break this tool.)

Plots are output to the final_dir dirs defined in settings.toml.

Installation

NOTE: If python does not work, please try python3.

  1. Download and Install Python 3.7 or higher: https://www.python.org/
  2. Open CommandPrompt / PowerShell / Terminal and Install plotboss: pip install plotboss
  3. cd into the your home directory or any working directory where you should always start plotboss.
  4. Run the plotboss first time: plotboss or python -m plotboss, then press q to exit.
  5. A file named settings.toml will appear in working directory, modify the setting.toml config.
  6. Run the plotboss again: plotboss or python -m plotboss

Configuration

final_dir = [ ] # For example: ["P:", "T:"], The final directory will plot will saved.

[main]
max_jobs = 10 # default is not set.

[[jobs]]
tmp_dir = "E:/plotting"
# tmp2_dir = "F:/plotting"
# max_jobs = 1
# job_start_mode = "simple"

# size = 32
# nobitfield = false
# farmer_key = ""
# pool_key = ""
# pool_contract_address = ""
# num_threads = 2
# bukets = 128
# buffer = 4_608

[[jobs]]
tmp_dir = "G:/plotting"
# tmp2_dir = "H:/plotting"   # optional
# max_jobs = 1  # default is 1.

# size = 32
# nobitfield = false
# num_threads = 2
# bukets = 128
# buffer = 4_608

You can have many [[jobs]] section, which contains a tmp_dir and tmp2_dir pair and many parameters for plotter.

  • max_jobs means the concurrent working plotting jobs
  • job_start_mode determine how plotboss start the jobs, there are two options simple and smart.
    • Option simple just start as many as jobs under the max_jobs control.
    • Option smart works more smart, it only allow 1 job in stage 1 to avoid high peaks, even the number of current running jobs much less than the max_jobs param.

Sponsor / Support this tool

This library took a lot of time and effort in order to get it before you today. Consider sponsoring or supporting the library. This is not necessary but more a kind gestures.

  • XCH Address: xch168apuc4wsc2s3e6728t8l9xme5l4upnazywu9awymtum75xzh9gqxxy4tj
  • ETH Address: 0xf51298d068d7f04ae0b823fb44ef8703101adb9b

Support / Questions

Please do not use GitHub issues for questions or support regarding your own personal setups. Issues should pertain to actual bugs in the code and ideas. It has been tested to work on Windows. So any questions relating to tech support, configuration setup, or things pertaining to your own personal use cases should be posted at any of the links below.

Frequently Asked Questions

If I stop Plotboss will it kill my plots?
  • No. Plots are kicked off in the background and they will not kill your existing plots. If you want to kill them, you have access to the PIDs which you can use to track them down in Task Manager (or the appropriate software for your OS) and kill them manually. Please note you will have to delete the .tmp files as well. I do not handle this for you.
How are destination(final_dir) selected?
  • They are chosen in order. If you have two directories the first plot will select the first one, the second the second

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plotboss-0.3.0.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

plotboss-0.3.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file plotboss-0.3.0.tar.gz.

File metadata

  • Download URL: plotboss-0.3.0.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1

File hashes

Hashes for plotboss-0.3.0.tar.gz
Algorithm Hash digest
SHA256 aab825af00ed39db397c99de03b2969cce0a470903d0605bf8ab07d2f286a6e2
MD5 3be6e61a90ef10157c7d80943e284b6c
BLAKE2b-256 7930a543e42e946a841de254234109a339290ce6f0070ff09e1dfb7b2e55d770

See more details on using hashes here.

File details

Details for the file plotboss-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: plotboss-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1

File hashes

Hashes for plotboss-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 791f99e038887e6630ff993b526b4a889937d2208fa098de1628102db0ddc3e6
MD5 eb678432ae6eec44cbea9db16130ed5d
BLAKE2b-256 7db65d171f19e36adbfbbcb9d782a3e0ab537b5c48d4e01bc265409cffc4ef5c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page