From a44f8282dc78b23a693bfd65db9903036f5e25d3 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 6 Dec 2017 17:19:10 +0100 Subject: [PATCH] test_performance: relax network speed to 2 MB/s At QUARTIQ I am getting 2.4/2.3 MB/s and with single switch at M-Labs we apparently regularly met 2.2/2.2 MB/s. But with the current multiple switches and one of them being a problematic switch that triggered #837 it looks like it is a tad slower. http://buildbot.m-labs.hk/builders/artiq/builds/1818/steps/python_coverage_1/logs/stdio --- artiq/test/coredevice/test_performance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/test/coredevice/test_performance.py b/artiq/test/coredevice/test_performance.py index 2c0bebeb0..71101d508 100644 --- a/artiq/test/coredevice/test_performance.py +++ b/artiq/test/coredevice/test_performance.py @@ -43,7 +43,7 @@ class TransferTest(ExperimentCase): exp = self.create(_Transfer) host_to_device_rate = exp.host_to_device() print(host_to_device_rate, "B/s") - self.assertGreater(host_to_device_rate, 2.2e6) + self.assertGreater(host_to_device_rate, 2e6) @unittest.skipUnless(artiq_low_latency, "timings are dependent on CPU load and network conditions") @@ -51,4 +51,4 @@ class TransferTest(ExperimentCase): exp = self.create(_Transfer) device_to_host_rate = exp.device_to_host() print(device_to_host_rate, "B/s") - self.assertGreater(device_to_host_rate, 2.2e6) + self.assertGreater(device_to_host_rate, 2e6)