Skip to content

Commit

Permalink
XXX use final tuning numbers from Bryan
Browse files Browse the repository at this point in the history
  • Loading branch information
jclulow committed Mar 15, 2024
1 parent 88aacc1 commit 6b62fd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/helios-omicron1
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# How many writer threads should we use when copying from the root file
# system to a new zone root?
#
COPY_THREADS=16
COPY_THREADS=8

#
# What batch size should the writer thread queue use?
#
COPY_BATCH=32
COPY_BATCH=128
4 changes: 2 additions & 2 deletions utils/src/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ pub fn replicate<S: AsRef<Path>, T: AsRef<Path>>(
let df = DefaultsFile::from_path("/etc/default/helios-omicron1")?;

let mut cq = CopyQueue::new(
df.get_usize("COPY_THREADS").unwrap_or(16),
df.get_usize("COPY_BATCH").unwrap_or(32),
df.get_usize("COPY_THREADS").unwrap_or(8),
df.get_usize("COPY_BATCH").unwrap_or(128),
)?;

let walk = walkdir::WalkDir::new(src).same_file_system(true);
Expand Down

0 comments on commit 6b62fd2

Please sign in to comment.