Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Oct 3, 2024
1 parent cf050d0 commit c8fa38d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/utils/bin/cost_estimator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ use op_succinct_host_utils::{
use rayon::iter::{IntoParallelRefIterator, ParallelIterator};
use serde::{Deserialize, Serialize};
use sp1_sdk::{utils, ProverClient};
use std::sync::{Arc, Mutex};
use std::{
cmp::{max, min},
collections::HashMap,
fs::{self},
future::Future,
path::PathBuf,
sync::{Arc, Mutex},
time::Instant,
};
use tokio::task::block_in_place;
Expand Down Expand Up @@ -91,7 +91,7 @@ async fn run_native_data_generation(
data_fetcher: &OPSuccinctDataFetcher,
split_ranges: &[SpanBatchRange],
) -> Vec<BatchHostCli> {
const CONCURRENT_NATIVE_HOST_RUNNERS: usize = 15;
const CONCURRENT_NATIVE_HOST_RUNNERS: usize = 20;

// Split the entire range into chunks of size CONCURRENT_NATIVE_HOST_RUNNERS and process chunks
// serially. Generate witnesses within each chunk in parallel. This prevents the RPC from
Expand Down

0 comments on commit c8fa38d

Please sign in to comment.