File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ fn extract_split(bench: &mut Bencher) {
6060 . unwrap ( ) ;
6161
6262 let params = ExtractionParameters {
63- decompression_threads : num_cpus:: get ( ) ,
63+ decompression_threads : num_cpus:: get ( ) / 3 ,
6464 ..Default :: default ( )
6565 } ;
6666
Original file line number Diff line number Diff line change @@ -752,7 +752,7 @@ pub mod split_extraction {
752752 /* NB: this will perform a syscall. We still probably want to call this dynamically
753753 * instead of globally caching the call, in order to respect the dynamic value of
754754 * e.g. sched affinity. */
755- decompression_threads : num_cpus:: get ( ) ,
755+ decompression_threads : num_cpus:: get ( ) / 3 ,
756756 decompression_copy_buffer_length : 1024 * 1024 ,
757757 file_range_copy_buffer_length : 1024 * 1024 ,
758758 #[ cfg( not( target_os = "linux" ) ) ]
You can’t perform that action at this time.
0 commit comments