From 4e782709a86e19676ea83d3d773e0ad8f70cc5e3 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 30 Sep 2015 20:24:32 +0200 Subject: [PATCH] Reduce the transfer size a bit, for better cache efficiency. --- bmusb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bmusb.cpp b/bmusb.cpp index 00f06e4..96ffa58 100644 --- a/bmusb.cpp +++ b/bmusb.cpp @@ -829,7 +829,7 @@ void BMUSBCapture::start_bm_capture() size &= ~1023; size += 1024; } - num_iso_pack = (2 << 20) / size; // 2 MB. + num_iso_pack = (2 << 18) / size; // 512 kB. printf("Picking %d packets of 0x%x bytes each\n", num_iso_pack, size); } else { size = 0xc0; -- 2.39.2