If you opt to create compressed plots, you will need to decide on the level of compression.
You can mix and match plots with different compression levels. For example, you could have some C0, C3, and C7 plots on the same machine. Your harvester will handle this without issue. However, most users will likely choose to convert all of their plots to the same compression level.
As a reminder, BladeBit CUDA and BladeBit RAM are plotters supported by CNI that are capable of creating compressed plots. Whenever we mention compression levels, we are referring to those defined by BladeBit. (Many people have also used the third-party GigaHorse plotter by madMAx. This plotter uses a similar nomenclature for its compression levels, but they have different definitions.)
The next sections list three methods to determine the compression level that will work best for your farm, starting with the most general and ending with the most specific for your own hardware.
You can use the following table as a basic guide for choosing a compression level. It assumes BladeBit CUDA was used to create K32 plots:
The right column (Min Spec Harvester) shows the minimum type of computer required for harvesting at each compression level, where:
Pi 4refers to Chia's minimum spec hardware, the Raspberry Pi 4 with 4 GB of RAM for CLI farming, or 8 GB for GUI farming.
Desktop CPUrefers to a power-sipping computer such as the ASUS Chromebox.
Fast CPUrefers to a computer with a higher-end CPU such as an Intel Xeon.
GPUrefers to a computer with an Nvidia CUDA-class GPU. The minimum amount of DRAM required is around 600-700 MB for C7 harvesting. For example, a GTX 1060 will work.
A few things to keep in mind regarding these recommendations:
- The above table is meant as a general overview; it therefore assumes that your farm is somewhere from 500-1000 TiB.
- The more plots your farm has, the higher-end your harvester needs to be, all other factors being equal.
In order to calculate your potential profits from farming at various compression levels, you can use this spreadsheet. Simply make a copy of it, then fill in the constants according to your farm. As you will see from the spreadsheet, the compression level you will ultimately choose will depend on a number of factors, such as electricity cost and the size of your farm.
Max farm size estimator
The third-party website xch.farm has tables for estimating your farm's maximum capacity depending on your CPU/GPU setup. Be sure to pay attention to the
June 2024 column when planning your farm. If your harvester is capable of handling your desired number of plots listed in this column, you should be good to go until 2027 or later.
The standalone version of BladeBit comes with a simulator that will determine the maximum size of your farm. The basic idea is that you pass in a compressed plot (C1-C9) and it will calculate the maximum number of plots/space your current harvester can handle.
See the CLI reference for a list of options using the simulator.
The simulator's default values are typically fine, other than the filter size. For context, starting in June 2024 the plot filter will be reduced from 512 to 256. At this point, twice as many plots will pass the filter, so your harvester's workload will effectively double. You are recommended to use
-f 256 with the simulator to prepare for this event. For more information on the plot filter, see our FAQ.
It is a good idea to create plots of various sizes (for example, one C3, one C7, and one C9) and then run the simulator against each of them. This will help you to plan for how many harvesters to use, the type of hardware to acquire, etc.
The simulator's default mode will decompress your plot and then extrapolate your farm's maximum size, which should only take a few seconds.
Example command using the default mode and a filter size of 256:
bladebit simulate -f 256 <path to plot file>
The simulator will only work with compressed plots.
The simulator can also be configured to run a real-time simulation against a farm of any given size. This will give you a much better idea of how your system will perform on mainnet. To activate this mode, use the following flags:
--power <time>-- The number of seconds the simulation will run
--size <size>-- The size of the farm to simulate
Every 9.375 seconds, a new simulated signage point will be received, and a number of simulated plots will be decompressed based on the value of
--size. For example, the following command will simulate running a 1 PB farm for ten minutes:
bladebit simulate --power 600 --size 1PB -f 256 <path to plot file>
At the end of the simulation, a number of statistics will be shown. It is a good idea to keep the maximum lookup time at around five seconds in order to avoid missing any signage points. If the maximum time is greater than ten seconds, then you are advised to either reduce the number of plots on your harvester, use a lower level of compression, or use a faster CPU or GPU for harvesting.
For a detailed analysis of how the tool works and how you should be thinking about plot compression, see this video demonstration by JM.