Chia Plot Graph

Overview

Chia Plot Graph

Monitor for Chia Plotting

screenshot

Introduction

The chiaplotgraph tool will graph Chia Plotting activity in a linux terminal. Use a 24-bit colour terminal, like xterm or gnome-terminal.

Building

$ git clone https://github.com/stolk/chiaplotgraph.git

$ cd chiaplotgraph

$ make

Launching

To use it:

$ ./chiaplotgraph plotter-log.0 plotter-log.1 .. plotter-log.N

Leave the tool running, as it keeps checking the log. More pixels will scroll in from the right.

Rationale

It's quite a challenge to optimize your plotting throughput. So this tool is to keep track of how long each stage takes when creating Chia farm plots.

You feed it the log files from your plot runs.

Function

The tool reads all log files that are provided on the command line, and then extracts the start and end timestamps for the plot stages.

NOTE: You can see more days of the week by simply resizing your terminal to be wider.

Colours

See legend how the colours map onto the stages.

Keys

Press ESCAPE or Q to exit chiaplotgraph.

Did you know that...

Donations

Chia Plot Graph is a tool by Bram Stolk, who is on Twitter as: @BramStolk where he mostly tweets about game development.

If you find this tool useful, donations can go to XCH wallet: xch1zfgqfqfdse3e2x2z9lscm6dx9cvd5j2jjc7pdemxjqp0xp05xzps602592

Known issues

  • Shows garbage on terminals that do not support 24 bit colour.
  • Missing manual page.
  • It looks weird when going through putty.

Copyright

chiaplotgraph is (c)2021 by Bram Stolk and licensed under the MIT license.

Comments
  • Shows empty gray screen

    Shows empty gray screen

    I started with:

    ./chiaplotgraph /home/user/hdd/work/chia/logs/*
    

    Prints a bunch of info about opening files and then shows the normal gray screen but no plots. I am plotting with Swar.

    opened by exander77 11
  • Renaming a file does not seem to trigger the

    Renaming a file does not seem to trigger the "time to copy" and keeps graphing.

    If the tmp2 and destination folder are the same there is no copy phase. There is just a renaming which saves a ton of time. I think that this is not recognized by the plotter.

    image

    Time for phase 4 = 872.239 seconds. CPU (88.810%) Mon May 31 16:49:40 2021 Approximate working space used (without final file): 269.322 GiB Final File size: 101.344 GiB Total time = 34103.741 seconds. CPU (124.490%) Mon May 31 16:49:40 2021 Renamed final file from "/plottemp01/plot-k32-2021-05-31-07-21-xxxxxxxx.plot.2.tmp" to "/plottemp01/plot-k32-2021-05-31-07-21-xxxxxxxx.plot" 2021-05-31T16:49:40.740 chia.plotting.create_plots : INFO Summary: 2021-05-31T16:49:40.741 chia.plotting.create_plots : INFO Created a total of 1 new plots 2021-05-31T16:49:40.741 chia.plotting.create_plots : INFO plot-k32-2021-05-31-07-21-xxxxxxxx.plot

    Would you be able to handle this usecase?

    bug 
    opened by bslavin 8
  • New plots not pulled in to graph despite using *.log wildcard when running command

    New plots not pulled in to graph despite using *.log wildcard when running command

    I run the program using ./chiaplotgraph ~/plotman_logs/*.log so it automatically uses all log files in that folder, but once the program is running, although it refreshes to update the graph with logs that existed when command was run, it doesn't start pulling in new logs that get added to that folder, even though I used *.log in the command. Is there a way to run this so I don't need to quit the program and re-run my original command in order to pull in new plots that started by plotman?

    opened by ilovepancakes95 4
  • Plots don't seem to aggregate correctly

    Plots don't seem to aggregate correctly

    My plotting happens on two separate 1tb drives, automated using plotman (8 parallel plots). When running this project on my logs I can notice that they are not correctly paired like the screenshot on the main project page, but instead they are just added one below the other. I am not sure why this happens, I expect is to have 8 rows of plots, but in my case I see at least 10 (waiting for new plots to start to see if they get added below or not).

    Screenshot from 2021-05-21 12-14-13

    I also noticed that on the top of the terminal only one drive available space is shown, so it may be correlated.

    opened by HitLuca 3
  • MacOS Support?

    MacOS Support?

    Right now make gives me:

    cc -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE -std=c99 -Wall -Wno-missing-braces -g -c chiaplotgraph.c -o chiaplotgraph.o
    chiaplotgraph.c:19:10: fatal error: 'error.h' file not found
    #include <error.h>
             ^~~~~~~~~
    1 error generated.
    make: *** [chiaplotgraph.o] Error 1
    
    opened by beamercola 3
  • Assertion `s1' failed

    Assertion `s1' failed

    When a plot is somewhere past stage 3 I think this error shows up and the GUI bombs out.

    Opened /mnt/c/Users/pkula/.chia/mainnet/plotter/plotter_log_8fcd7656-8e8a-4dae-b16f-dad8172d4d03.txt
    tmp dirname: F:\
    chiaplotgraph: chiaplotgraph.c:203: analyze_line: Assertion `s1' failed.
    Aborted
    
    opened by ppumkin 2
  • location of needed logfiles?

    location of needed logfiles?

    Is the logfiles needed for this tool the same as (Chia Harvest Graph) ? That tools works fine but i'm getting the impression that there are some other logfiles needed for this tool, that also perhaps by default are not getting written to disk. is it possible to include the plotter stuff into ./chiaharvestgraph ~/.chia/mainnet/log/debug.log or how should i handle this? confused :=)

    opened by gurkburk76 5
  • Floating point exception with certain log files

    Floating point exception with certain log files

    Certain log files are causing an error - others work fine.

    I'm using Swar plot manager.

    ./chiaplotgraph /home/matt/swar_logs/wd1a_2021-05-18_02_11_33_379563.log
    Opened /home/matt/swar_logs/wd1a_2021-05-18_02_11_33_379563.log tmp dirname: /media/matt/wd1tb_1 frm dirname: /mnt/usb-External_USB3.0_DD56419883891-0:0-part1 Floating point exception (core dumped)

    opened by mattdperkins 4
Owner
Bram Stolk
Bram Stolk
Graphs the progress of block height in your Chia Full Node.

Chia Height Graph Monitor for Chia Block Height Introduction The chiaheightgraph tool will graph Chia Block Height changes in a linux terminal. Use a

Bram Stolk 9 Sep 14, 2021
BladeBit - Fast Chia (XCH) RAM-only k32-only Plotter

BladeBit Chia Plotter A fast RAM-only, k32-only, Chia plotter. Requirements 416 GiB of RAM are required to run it, plus a few more megabytes for stack

Chia Network 237 Dec 12, 2022
Directed Acyclic Graph Execution Engine (DAGEE) is a C++ library that enables programmers to express computation and data movement, as task graphs that are scheduled concurrently and asynchronously on both CPUs and GPUs.

Directed Acyclic Graph Execution Engine (DAGEE) is a C++ library that enables programmers to express computation and data movement, as tasks in a graph structure, where edges represent task dependencies

null 28 Dec 18, 2022
Open-source graph editor, with built-it step-by-step Dijkstra's Algorithm.

Visual Dijkstra - Simple visual graph editor, with built-in step-by-step Dijkstra's algorithm Visual Dijkstra is a free and open-source tool, designed

Samuele Girgenti 31 Oct 10, 2022
The problem consists in determining all shortest paths between pairs of nodes in a given graph.

All-Pairs-Shortest-Path-Problem-Parallel-Computing The problem consists in determining all shortest paths between pairs of nodes in a given graph. Exe

Ana Sofia N. 1 Dec 27, 2021
Data Structure Studying Group: array, linked list, stack, queue, deque, tree, graph. Summary of these concepts are descripted in the markdown files.

DATA_STRUCTURE STUDY ?? CURRICULUM ✔️ Day1 array linked list ✔️ Day2 circular linked list double linked list polynomial addtion reverse linked list ✔️

Soyeon Kim 3 Jul 22, 2022
PlotFS is a fuse filesystem for efficient storage of Chia plot files.

PlotFS PlotFS is a fuse filesystem for efficient storage of Chia plot files. PlotFS is not a traditional filesystem. It is mounted read only for farmi

Matthew Szatmary 49 Nov 8, 2022
Nebula Graph is a distributed, fast open-source graph database featuring horizontal scalability and high availability

Nebula Graph is an open-source graph database capable of hosting super large-scale graphs with billions of vertices (nodes) and trillions of edges, with milliseconds of latency. It delivers enterprise-grade high performance to simplify the most complex data sets imaginable into meaningful and useful information.

vesoft inc. 8.4k Jan 9, 2023
Nebula Graph is a distributed, fast open-source graph database featuring horizontal scalability and high availability

Nebula Graph is an open-source graph database capable of hosting super large scale graphs with dozens of billions of vertices (nodes) and trillions of edges, with milliseconds of latency.

vesoft inc. 834 Dec 24, 2022
Memgraph is a streaming graph application platform that helps you wrangle your streaming data, build sophisticated models that you can query in real-time, and develop graph applications.

Memgraph is a streaming graph application platform that helps you wrangle your streaming data, build sophisticated models that you can query in real-time, and develop graph applications.

Memgraph 797 Dec 29, 2022
By putting in a lot of speed, the speed sequence is sorted and divided, three types of speed interval distribution maps are generated.(including broken line graph,histogram and curve graph)

Auto-drawing-speed-range-map By putting in a lot of speed, the speed sequence is sorted and divided, three types of speed interval distribution maps a

wellwellAllwen 4 May 14, 2022
Parses existing Chia plotter log files and builds a .csv file containing all the important details

Chia Log Analysis Parses through Chia plotter log files and plops all the juicy details into a CSV file! Build See below for instructions if you prefe

Drew M Johnson 45 May 10, 2022
Graphs the activity of a chia harvester in a linux terminal.

Chia Harvest Graph Monitor for Chia Harvesting Introduction The chiaharvestgraph tool will graph Chia Harvesting activity in a linux terminal. Use a 2

Bram Stolk 215 Dec 11, 2022
Graphs the progress of block height in your Chia Full Node.

Chia Height Graph Monitor for Chia Block Height Introduction The chiaheightgraph tool will graph Chia Block Height changes in a linux terminal. Use a

Bram Stolk 9 Sep 14, 2021
standalone chia generator

chiagen standalone chia generator this is front-end of madMAx43v3r and also chiapos reference plotter, but not limited to it, more plotter or tools wi

uray meiviar 12 Dec 28, 2022
BladeBit - Fast Chia (XCH) RAM-only k32-only Plotter

BladeBit Chia Plotter A fast RAM-only, k32-only, Chia plotter. Requirements 416 GiB of RAM are required to run it, plus a few more megabytes for stack

Harold Brenes 237 Dec 12, 2022
Croquis: plot graphs 100x faster on Jupyter Notebook

Croquis is a lightweight Python library for drawing interactive graphs really fast on Jupyter Notebook. It lets you effortlessly browse and examine much larger data than other similar libraries.

Yongjik Kim 29 Jan 31, 2022
Plot dynamic 3d functions z = f(x, y, t)

A tool for plotting 3D functions Controls Button Description Arrows Rotate view F Enable/Disable filling surface faces G Enable/Disable showing coordi

Boris Starkov 2 Oct 15, 2021
vplot is a wrapper for GNU Plot (gnuplot_i)

vplot vplot is a wrapper for GNU Plot (gnuplot_i). The source of gnuplot_i I have downloaded from this link. Files listed on gnuplot_i are taken from

Erdet Nasufi 13 Aug 15, 2022
BladeBit - Fast Chia (XCH) RAM-only k32-only Plotter

BladeBit Chia Plotter A fast RAM-only, k32-only, Chia plotter. Requirements 416 GiB of RAM are required to run it, plus a few more megabytes for stack

Chia Network 237 Dec 12, 2022