跳到主要内容

Choosing a compression level

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. 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.) 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.

Compression table

You can use the following table as a basic guide for choosing a compression level. 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:


Level
Size
(GiB)
Relative
Size
Reward
Increase
Min Spec
Harvester
C0101.4100%0%Pi 4
C187.586.3%15.9%Pi 4
C286.084.8%17.9%Pi 4
C384.583.3%20.0%Pi 4
C482.981.8%22.3%Desktop CPU
C581.380.2%24.7%Fast CPU
C679.678.5%27.4%Fast CPU
C778.076.9%29.8%GPU
C975.274.2%34.8%GPU

The right column (Min Spec Harvester) shows the minimum type of computer required for harvesting at each compression level, where:

  • Pi 4 refers 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 CPU refers to a power-sipping computer such as the ASUS Chromebox.
  • Fast CPU refers to a computer with a higher-end CPU such as an Intel Xeon.
  • GPU refers 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. 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.

TCO spreadsheet

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. 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. 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.

BladeBit Simulate

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. 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. 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: 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: 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. 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.