File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ fn extract_split(bench: &mut Bencher) {
60
60
. unwrap ( ) ;
61
61
62
62
let params = ExtractionParameters {
63
- decompression_threads : num_cpus:: get ( ) ,
63
+ decompression_threads : num_cpus:: get ( ) / 3 ,
64
64
..Default :: default ( )
65
65
} ;
66
66
Original file line number Diff line number Diff line change @@ -752,7 +752,7 @@ pub mod split_extraction {
752
752
/* NB: this will perform a syscall. We still probably want to call this dynamically
753
753
* instead of globally caching the call, in order to respect the dynamic value of
754
754
* e.g. sched affinity. */
755
- decompression_threads : num_cpus:: get ( ) ,
755
+ decompression_threads : num_cpus:: get ( ) / 3 ,
756
756
decompression_copy_buffer_length : 1024 * 1024 ,
757
757
file_range_copy_buffer_length : 1024 * 1024 ,
758
758
#[ cfg( not( target_os = "linux" ) ) ]
You can’t perform that action at this time.
0 commit comments