diff options
| author | Matthew Crymble <matthew.crymble@ni.com> | 2021-01-20 16:30:10 -0600 | 
|---|---|---|
| committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-02-01 13:31:29 -0600 | 
| commit | 1ed4dd7071ec14016fb8791fb8919148e6c46966 (patch) | |
| tree | 190d5d4bfefbf7002d8f855e4b28b09f441ef024 | |
| parent | 5471a1f521ba98003a06d2674360f70a7a86bdfd (diff) | |
| download | uhd-1ed4dd7071ec14016fb8791fb8919148e6c46966.tar.gz uhd-1ed4dd7071ec14016fb8791fb8919148e6c46966.tar.bz2 uhd-1ed4dd7071ec14016fb8791fb8919148e6c46966.zip  | |
devtest: lower rate for rx_all_chans_fast test
Using 12.5 MS/s exceeded the maximum throughput when using 4 channels over 1 GbE
| -rwxr-xr-x | host/tests/devtest/devtest_x3x0.py | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/host/tests/devtest/devtest_x3x0.py b/host/tests/devtest/devtest_x3x0.py index ce522206c..7c81ee9bf 100755 --- a/host/tests/devtest/devtest_x3x0.py +++ b/host/tests/devtest/devtest_x3x0.py @@ -19,7 +19,7 @@ rx_chans = num_chans['rx']  from benchmark_rate_test import uhd_benchmark_rate_test  uhd_benchmark_rate_test.tests = {} -for (rate, speed) in [(1e6, 'slow'), (12.5e6, 'fast')]: +for (rate, speed) in [(1e6, 'slow'), (25e6, 'fast')]:      for chan in range(tx_chans):          uhd_benchmark_rate_test.tests.update({              'tx_chan{}_{}'.format(chan, speed): { @@ -48,7 +48,7 @@ for (rate, speed) in [(1e6, 'slow'), (12.5e6, 'fast')]:                  'duration': 1,                  'direction': 'tx',                  'chan': all_chans_str, -                'rate': rate, +                'rate': rate if speed == 'slow' else rate / tx_chans,                  'acceptable-underruns': 10,                  'tx_buffer': (0.1*1e6)+32e6*8*1/32,  # 32 MB DRAM for each channel (32 bit OTW format),              } @@ -60,7 +60,7 @@ for (rate, speed) in [(1e6, 'slow'), (12.5e6, 'fast')]:                  'duration': 1,                  'direction': 'rx',                  'chan': all_chans_str, -                'rate': rate, +                'rate': rate if speed == 'slow' else rate / rx_chans,                  'rx_buffer': 0.1*1e6,              }          }) @@ -83,7 +83,7 @@ for (rate, speed) in [(1e6, 'slow'), (12.5e6, 'fast')]:                  'duration': 1,                  'direction': 'tx,rx',                  'chan': all_chans_str, -                'rate': rate, +                'rate': rate if speed == 'slow' else rate / tx_chans,                  'acceptable-underruns': 500,                  'tx_buffer': (0.1*1e6)+32e6*8*1/32,  # 32 MB DRAM for each channel (32 bit OTW format),                  'rx_buffer': 0.1*1e6,  | 
