Browse Source

Add blacklist and recale scanrates to (0.5M,5M)

niels 1 year ago
parent
commit
b2a330e2ff
2 changed files with 3 additions and 1 deletions
  1. 1 0
      blocklist
  2. 2 1
      responder-bench/src/run.rs

+ 1 - 0
blocklist

@@ -0,0 +1 @@
+127.0.0.0/8

+ 2 - 1
responder-bench/src/run.rs

@@ -66,7 +66,7 @@ pub fn run() -> Result<(), anyhow::Error> {
     let filter_types: Vec<FilterType> = vec![Bitmap, Bloom];
     let baseline_filter_types: Vec<FilterType> = vec![Bitmap];
     // let scan_rates: Vec<u64> = vec![316_000, 562_000, 1_000_000, 1_780_000, 3_160_000];
-    let scan_rates: Vec<u64> = vec![300000, 377678, 475468, 598579, 753566, 948683, 1194322, 1503562, 1892872, 2382985, 3000000];
+    let scan_rates: Vec<u64> = vec![500000, 629463, 792447, 997631, 1255943, 1581139, 1990536, 2505936, 3154787, 3971641, 5000000];
 
 
     for scan_size in &scan_sizes {
@@ -526,6 +526,7 @@ fn run_zmap(bench_args: BenchArgs, subnet: Ipv4Addr) -> anyhow::Result<process::
         "--sender-threads=7",
         "--cooldown-time=1",
         "--seed", seed.as_str(),
+        "--blacklist-file=blocklist",
         "--max-sendto-failures=-1"
     ]);
     let output = Command::new(args.remove(0))