Advertisement
Guest User

Untitled

a guest
May 27th, 2021
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 13.07 KB | None | 0 0
  1. # This is a single variable that should contain the location of your chia executable file. This is the blockchain executable.
  2. #
  3. # WINDOWS EXAMPLE: C:\Users\Swar\AppData\Local\chia-blockchain\app-1.1.5\resources\app.asar.unpacked\daemon\chia.exe
  4. #   LINUX EXAMPLE: /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/chia
  5. #  LINUX2 EXAMPLE: /home/swar/chia-blockchain/venv/bin/chia
  6. #  MAC OS EXAMPLE: /Applications/Chia.app/Contents/Resources/app.asar.unpacked/daemon/chia
  7. chia_location:/usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/chia
  8.  
  9.  
  10. manager:
  11.  # These are the config settings that will only be used by the plot manager.
  12.   #
  13.   # check_interval: The number of seconds to wait before checking to see if a new job should start.
  14.   #      log_level: Keep this on ERROR to only record when there are errors. Change this to INFO in order to see more
  15.   #                 detailed logging. Warning: INFO will write a lot of information.
  16.   check_interval: 60
  17.   log_level: ERROR
  18.  
  19.  
  20. log:
  21.  # folder_path: This is the folder where your log files for plots will be saved.
  22.   folder_path: /home/rkalla/.chia/mainnet/plotter
  23.  
  24.  
  25. view:
  26.  # These are the settings that will be used by the view.
  27.   #
  28.   #            check_interval: The number of seconds to wait before updating the view.
  29.   #           datetime_format: The datetime format that you want displayed in the view. See here
  30.   #                            for formatting: https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes
  31.   # include_seconds_for_phase: This dictates whether seconds are included in the phase times.
  32.   #        include_drive_info: This dictates whether the drive information will be showed.
  33.   #               include_cpu: This dictates whether the CPU information will be showed.
  34.   #               include_ram: This dictates whether the RAM information will be showed.
  35.   #        include_plot_stats: This dictates whether the plot stats will be showed.
  36.   check_interval: 10
  37.   datetime_format: "%Y-%m-%d %H:%M:%S"
  38.   include_seconds_for_phase: false
  39.   include_drive_info: true
  40.   include_cpu: true
  41.   include_ram: true
  42.   include_plot_stats: true
  43.  
  44.  
  45. notifications:
  46.  # These are different settings in order to notified when the plot manager starts and when a plot has been completed.
  47.  
  48.   # DISCORD
  49.   notify_discord: false
  50.   discord_webhook_url: https://discord.com/api/webhooks/0000000000000000/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  51.  
  52.   # IFTTT, ref https://ifttt.com/maker_webhooks, and this function will send title as value1 and message as value2.
  53.   notify_ifttt: false
  54.   ifttt_webhook_url: https://maker.ifttt.com/trigger/{event}/with/key/{api_key}
  55.  
  56.   # PLAY AUDIO SOUND
  57.   notify_sound: false
  58.   song: audio.mp3
  59.  
  60.   # PUSHOVER PUSH SERVICE
  61.   notify_pushover: false
  62.   pushover_user_key: xx
  63.   pushover_api_key: xx
  64.  
  65.   # TELEGRAM
  66.   notify_telegram: false
  67.   telegram_token: xxxxx
  68.  
  69.   # TWILIO
  70.   notify_twilio: false
  71.   twilio_account_sid: xxxxx
  72.   twilio_auth_token: xxxxx
  73.   twilio_from_phone: +1234657890
  74.   twilio_to_phone: +1234657890
  75.  
  76.  
  77. instrumentation:
  78.  # This setting is here in case you wanted to enable instrumentation using Prometheus.
  79.   prometheus_enabled: false
  80.   prometheus_port: 9090
  81.  
  82.  
  83. progress:
  84.  # phase_line_end: These are the settings that will be used to dictate when a phase ends in the progress bar. It is
  85.   #                 supposed to reflect the line at which the phase will end so the progress calculations can use that
  86.   #                 information with the existing log file to calculate a progress percent.
  87.   #   phase_weight: These are the weight to assign to each phase in the progress calculations. Typically, Phase 1 and 3
  88.   #                 are the longest phases so they will hold more weight than the others.
  89.   phase1_line_end: 801
  90.   phase2_line_end: 834
  91.   phase3_line_end: 2474
  92.   phase4_line_end: 2620
  93.   phase1_weight: 33.4
  94.   phase2_weight: 20.43
  95.   phase3_weight: 42.29
  96.   phase4_weight: 3.88
  97.  
  98.  
  99. global:
  100.  # These are the settings that will be used globally by the plot manager.
  101.   #
  102.   # max_concurrent: The maximum number of plots that your system can run. The manager will not kick off more than this
  103.   #                 number of plots total over time.
  104.   # max_for_phase_1: The maximum number of plots that your system can run in phase 1.
  105.   # minimum_minutes_between_jobs: The minimum number of minutes before starting a new plotting job, this prevents
  106.   #                               multiple jobs from starting at the exact same time. This will alleviate congestion
  107.   #                               on destination drive. Set to 0 to disable.
  108.   max_concurrent: 12
  109.   max_for_phase_1: 4
  110.   minimum_minutes_between_jobs: 5
  111.  
  112.  
  113. jobs:
  114.  # These are the settings that will be used by each job. Please note you can have multiple jobs and each job should be
  115.   # in YAML format in order for it to be interpreted correctly. Almost all the values here will be passed into the
  116.   # Chia executable file.
  117.   #
  118.   # Check for more details on the Chia CLI here: https://github.com/Chia-Network/chia-blockchain/wiki/CLI-Commands-Reference
  119.   #
  120.   # name: This is the name that you want to give to the job.
  121.   # max_plots: This is the maximum number of jobs to make in one run of the manager. Any restarts to manager will reset
  122.   #            this variable. It is only here to help with short term plotting.
  123.   #
  124.   # [OPTIONAL] farmer_public_key: Your farmer public key. If none is provided, it will not pass in this variable to the
  125.   #                               chia executable which results in your default keys being used. This is only needed if
  126.   #                               you have chia set up on a machine that does not have your credentials.
  127.   # [OPTIONAL] pool_public_key: Your pool public key. Same information as the above.
  128.   #
  129.   # temporary_directory: Can be a single value or a list of values. This is where the plotting will take place. If you
  130.   #                      provide a list, it will cycle through each drive one by one.
  131.   # [OPTIONAL] temporary2_directory: Can be a single value or a list of values. This is an optional parameter to use in
  132.   #                                  case you want to use the temporary2 directory functionality of Chia plotting.
  133.   # destination_directory: Can be a single value or a list of values. This is the final directory where the plot will be
  134.   #                        transferred once it is completed. If you provide a list, it will cycle through each drive
  135.   #                        one by one.
  136.   #
  137.   # size: This refers to the k size of the plot. You would type in something like 32, 33, 34, 35... in here.
  138.   # bitfield: This refers to whether you want to use bitfield or not in your plotting. Typically, you want to keep
  139.   #           this as true.
  140.   # threads: This is the number of threads that will be assigned to the plotter. Only phase 1 uses more than 1 thread.
  141.   # buckets: The number of buckets to use. The default provided by Chia is 128.
  142.   # memory_buffer: The amount of memory you want to allocate to the process.
  143.   # max_concurrent: The maximum number of plots to have for this job at any given time.
  144.   # max_concurrent_with_start_early: The maximum number of plots to have for this job at any given time including
  145.   #                                  phases that started early.
  146.   # initial_delay_minutes: This is the initial delay that is used when initiate the first job. It is only ever
  147.   #                        considered once. If you restart manager, it will still adhere to this value.
  148.   # stagger_minutes: The amount of minutes to wait before the next plot for this job can get kicked off. You can even set this to
  149.   #                  zero if you want your plots to get kicked off immediately when the concurrent limits allow for it.
  150.   # max_for_phase_1: The maximum number of plots on phase 1 for this job.
  151.   # concurrency_start_early_phase: The phase in which you want to start a plot early. It is recommended to use 4 for
  152.   #                                this field.
  153.   # concurrency_start_early_phase_delay: The maximum number of minutes to wait before a new plot gets kicked off when
  154.   #                                      the start early phase has been detected.
  155.   # temporary2_destination_sync: This field will always submit the destination directory as the temporary2 directory.
  156.   #                              These two directories will be in sync so that they will always be submitted as the
  157.   #                              same value.
  158.   # exclude_final_directory: Whether to skip adding `destination_directory` to harvester for farming
  159.   # skip_full_destinations: When this is enabled it will calculate the sizes of all running plots and the future plot
  160.   #                         to determine if there is enough space left on the drive to start a job. If there is not,
  161.   #                         it will skip the destination and move onto the next one. Once all are full, it will
  162.   #                         disable the job.
  163.   # unix_process_priority: UNIX Only. This is the priority that plots will be given when they are spawned. UNIX values
  164.   #                        must be between -20 and 19. The higher the value, the lower the priority of the process.
  165.   # windows_process_priority: Windows Only. This is the priority that plots will be given when they are spawned.
  166.   #                           Windows values vary and should be set to one of the following values:
  167.   #                             - 16384 (BELOW_NORMAL_PRIORITY_CLASS)
  168.   #                             - 32    (NORMAL_PRIORITY_CLASS)
  169.   #                             - 32768 (ABOVE_NORMAL_PRIORITY_CLASS)
  170.   #                             - 128   (HIGH_PRIORITY_CLASS)
  171.   #                             - 256   (REALTIME_PRIORITY_CLASS)
  172.   # enable_cpu_affinity: Enable or disable cpu affinity for plot processes. Systems that plot and harvest may see
  173.   #                      improved harvester or node performance when excluding one or two threads for plotting process.
  174.   #        cpu_affinity: List of cpu (or threads) to allocate for plot processes. The default example assumes you have
  175.   #                      a hyper-threaded 4 core CPU (8 logical cores). This config will restrict plot processes to use
  176.   #                      logical cores 0-5, leaving logical cores 6 and 7 for other processes (6 restricted, 2 free).
  177.   - name: nvme-1
  178.     max_plots: 999
  179.     temporary_directory: /media/rkalla/PLOT-1
  180.     destination_directory: /mnt/a6f24735-4972-48b0-bf30-0b81d0e736bb
  181.     size: 32
  182.     bitfield: true
  183.     threads: 4
  184.     buckets: 128
  185.     memory_buffer: 4096
  186.     max_concurrent: 3
  187.     max_concurrent_with_start_early: 3
  188.     initial_delay_minutes: 0
  189.     stagger_minutes: 60
  190.     max_for_phase_1: 2
  191.     concurrency_start_early_phase: 4
  192.     concurrency_start_early_phase_delay: 0
  193.     temporary2_destination_sync: false
  194.     exclude_final_directory: false
  195.     skip_full_destinations: true
  196.     unix_process_priority: 10
  197.     windows_process_priority: 32
  198.     enable_cpu_affinity: false
  199.     cpu_affinity: [ 0, 1, 2, 3 ]
  200.  
  201.   - name: nvme-2
  202.     max_plots: 999
  203.     temporary_directory: /media/rkalla/PLOT-2
  204.     destination_directory: /mnt/df390c15-603f-4b9d-b493-475132bc0832
  205.     size: 32
  206.     bitfield: true
  207.     threads: 4
  208.     buckets: 128
  209.     memory_buffer: 4096
  210.     max_concurrent: 3
  211.     max_concurrent_with_start_early: 3
  212.     initial_delay_minutes: 0
  213.     stagger_minutes: 60
  214.     max_for_phase_1: 2
  215.     concurrency_start_early_phase: 4
  216.     concurrency_start_early_phase_delay: 0
  217.     temporary2_destination_sync: false
  218.     exclude_final_directory: false
  219.     skip_full_destinations: true
  220.     unix_process_priority: 10
  221.     windows_process_priority: 32
  222.     enable_cpu_affinity: false
  223.     cpu_affinity: [ 4, 5, 6, 7 ]
  224.    
  225.   - name: sata-raid0-1
  226.     max_plots: 999
  227.     temporary_directory: /media/rkalla/SATA-PLOT-1
  228.     destination_directory: /mnt/e89908bb-516d-4bf1-bce4-3b4dece79096
  229.     size: 32
  230.     bitfield: true
  231.     threads: 4
  232.     buckets: 128
  233.     memory_buffer: 4096
  234.     max_concurrent: 2
  235.     max_concurrent_with_start_early: 2
  236.     initial_delay_minutes: 0
  237.     stagger_minutes: 60
  238.     max_for_phase_1: 1
  239.     concurrency_start_early_phase: 4
  240.     concurrency_start_early_phase_delay: 0
  241.     temporary2_destination_sync: false
  242.     exclude_final_directory: false
  243.     skip_full_destinations: true
  244.     unix_process_priority: 10
  245.     windows_process_priority: 32
  246.     enable_cpu_affinity: false
  247.     cpu_affinity: [ 8, 9, 10, 11 ]
  248.    
  249.   - name: sata-raid0-2
  250.     max_plots: 999
  251.     temporary_directory: /media/rkalla/SATA-PLOT-2
  252.     destination_directory: /mnt/7dfbfac7-e89c-4cce-bcb1-6f5cd07f07ed
  253.     size: 32
  254.     bitfield: true
  255.     threads: 4
  256.     buckets: 128
  257.     memory_buffer: 4096
  258.     max_concurrent: 2
  259.     max_concurrent_with_start_early: 2
  260.     initial_delay_minutes: 0
  261.     stagger_minutes: 60
  262.     max_for_phase_1: 1
  263.     concurrency_start_early_phase: 4
  264.     concurrency_start_early_phase_delay: 0
  265.     temporary2_destination_sync: false
  266.     exclude_final_directory: false
  267.     skip_full_destinations: true
  268.     unix_process_priority: 10
  269.     windows_process_priority: 32
  270.     enable_cpu_affinity: false
  271.     cpu_affinity: [ 12, 13, 14, 15 ]
  272.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement