Skip to content

Instantly share code, notes, and snippets.

@laser
Last active December 10, 2019 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laser/8a04f539a0b929c3fded4b1e0759c616 to your computer and use it in GitHub Desktop.
Save laser/8a04f539a0b929c3fded4b1e0759c616 to your computer and use it in GitHub Desktop.
stuff

Inputs

Can we (today) vary these values at runtime?

  • window_size_mib (const here)
  • sector_size_gib (const here)
  • !*wrapping_variant (?)
  • drg_parents (const here)
  • expander_parents (const here)
  • graph_name (? - ignore)
  • graph_parents (here)
  • porep_challenges (perhaps here)
  • post_challenges (const here)
  • proofs_block_fraction (?)
  • regeneration_fraction (?)
  • stacked_layers (const here, via this method)
  • wrapper_lookup_with_mtree (?)
  • wrapper_parents (potential here)
  • wrapper_parents_all (potentially here)
  • construction (?)

Outputs

Do any of our benchmarks (today) capture these values?

  • commc_time
  • commd_time
  • commr_time
  • decoding_time
  • decoding_time_parallel
  • encoding_time
  • encoding_time_parallel
  • encoding_window_time
  • encoding_window_time_parallel
  • epost_inclusions_time
  • epost_inclusions_time_parallel
  • epost_time
  • epost_time_parallel
  • kdf_time
  • merkle_tree_datahash_time
  • merkle_tree_hash_time
  • polling_time
  • porep_commit_time
  • porep_commit_time_mins
  • porep_commit_time_parallel
  • post_inclusion_time
  • post_inclusions_time
  • post_inclusions_time_parallel
  • post_snark_partition_time
  • post_snark_time
  • post_snark_time_parallel
  • post_time
  • post_time_parallel
  • snark_constraint_time
  • window_comm_leaves_time
  • window_comm_tree_time
  • window_read_time
  • window_read_time_parallel
  • wrapper_kdf_time
  • column_leaf_hash_constraints
  • kdf_constraints
  • merkle_tree_datahash_constraints
  • merkle_tree_hash_constraints
  • porep_snark_partition_constraints
  • post_snark_constraints
  • post_snark_partition_constraints
  • ticket_constraints
  • epost_leaves_read
  • epost_leaves_read_parallel
  • epost_mtree_read
  • epost_mtree_read_parallel
  • post_challenge_read
  • post_leaf_read
  • post_leaves_read
  • post_leaves_read_parallel
  • post_mtree_read
  • post_mtree_read_parallel
  • wrapper_lookup_read
  • epost_data_access
  • epost_data_access_parallel
  • post_data_access
  • post_data_access_parallel
  • commd_size
  • commit_size
  • commr_column_size
  • commr_size
  • commrlast_size
  • kdf_hash_size
  • kdf_hash_size_gib
  • node_size
  • node_size_gib
  • node_size_mib
  • post_proof_size
  • post_snark_size
  • post_snark_size_kib
  • posts_size_per_block
  • posts_size_per_block_kib
  • posts_size_per_year
  • seal_onchain_commitments_size
  • sector_size_gib
  • sector_size_mib
  • snark_size
  • window_size
  • window_size_gib
  • window_size_mib
  • commr_tree_depth
  • rig_cores
  • rig_malicious_cost_per_year
  • rig_ram_gib
  • rig_sectors_min
  • rig_snark_parallelization
  • rig_storage_latency
  • rig_storage_min
  • rig_storage_min_tib
  • rig_storage_parallelization
  • rig_storage_unit_max
  • rig_storage_unit_max_tib
  • rig_storage_read_mbs
  • rig_storage_read_mibs
  • replica_inclusion
  • replica_inclusions
  • column_leaf
  • column_leaves
  • post_mtree_cached_gib
  • post_mtree_layers_cached
  • ticket_hash
  • ticket_proofs
  • data_inclusion
  • data_inclusions
  • post_inclusion_proofs
  • window_data_inclusions
  • window_inclusion
  • window_inclusions
  • window_replica_inclusions
  • post_proof_gen
  • post_proof_gen_parallel
  • porep_proof_gen
  • porep_proof_gen_parallel
  • inclusion_proof
  • labeling_proof
  • labeling_proofs
  • window_labeling_proof
  • inclusion_proof
  • labeling_proof
  • labeling_proofs
  • window_labeling_proof
  • post_ticket_gen
  • post_snark_partitions
  • window_nodes
  • window_column_leaves
@schomatis
Copy link

assigning myself the last wrapper_* inputs

@schomatis
Copy link

schomatis commented Dec 10, 2019

wrapper_parents and wrapper_parents_all: seem the same as the stacked layers (link to constants above): https://github.com/filecoin-project/rust-fil-proofs/blob/765d3f15a971a92c58dbef2c7a9ef88da9b387cf/storage-proofs/src/stacked/proof_scheme.rs#L23-L35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment