# Flex2400 and benchmark\_rx.py - receiving only fraction of packets

**URL:** <https://www.ruby-forum.com/t/flex2400-and-benchmark-rx-py-receiving-only-fraction-of-packets/124109>\
**Category:** GNU Radio\
**Created:** [December 24, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/flex2400-and-benchmark-rx-py-receiving-only-fraction-of-packets/124109 "2007-12-24T20:52:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sri\_ram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@sri\_ram](https://www.ruby-forum.com/u/sri_ram)\
**Post date:** [December 24, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/flex2400-and-benchmark-rx-py-receiving-only-fraction-of-packets/124109/1 "2007-12-24T20:52:01Z")

</div>

Hi all,  
I am working with Flex2400 boards and the USRP. I have a question  
about the digital module (GMSK data transfer). I observe this: When  
I send 660 packets , I receive less than 400 of them and less than  
200 are correct.

I setup two PCs with ubuntu and with an USRP each. The antennas were  
connected to the TX/RX ports on each USRP and separated around 3.2m.  
Basic  
tests such as oscope and fft work fine, with one side sending. Then with  
benchmark, on one end I use:  
./benchmark\_tx.py -f 2.412G --tx-amplitude=20000 -v -r 500k  
and the other  
./benchmark\_rx.py -f 2.412G --rx-gain=70 -v -r 500k

For different runs, errors happen and in a typical run I get something  
like  
ok = False pktno = 662 n\_rcvd = 355 n\_right = 164

I did the following (which did not help)

1. varied rx gain and tx\_amplitude over a range
2. checked the frequency 2.412 (using oscope and iwlist) and also  
changed to  
other free frequencies
3. repeated experiment at a different time and day  
The ratio of the pktno to n\_rcvd and n\_right remains almost the same for  
different runs.  
Further, if I send send traffic the other way, I get lesser number of  
packets (100) correct.

Has anyone seen something like this? Specifically, I am looking at why  
the  
RX would receive only a fraction of packets and why only a smaller  
fraction  
would pass crc?

Thanks for your help,  
Sri.  
P.S. I am attaching the output of the rx side.

---

<div class="post-metadata">

**Author:** ![sri\_ram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@sri\_ram](https://www.ruby-forum.com/u/sri_ram)\
**Post date:** [December 24, 2007, 8:59pm UTC](https://www.ruby-forum.com/t/flex2400-and-benchmark-rx-py-receiving-only-fraction-of-packets/124109/2 "2007-12-24T20:59:02Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

sri ram wrote:

> P.S. I am attaching the output of the rx side.

uOok = True pktno = 47 n\_rcvd = 48 n\_right = 48  
ok = True pktno = 48 n\_rcvd = 49 n\_right = 49  
ok = True pktno = 49 n\_rcvd = 50 n\_right = 50  
ok = True pktno = 50 n\_rcvd = 51 n\_right = 51  
uOok = True pktno = 51 n\_rcvd = 52 n\_right = 52  
ok = False pktno = 52 n\_rcvd = 53 n\_right = 52  
ok = False pktno = 54 n\_rcvd = 54 n\_right = 52  
uOok = False pktno = 56 n\_rcvd = 55 n\_right = 52  
ok = False pktno = 58 n\_rcvd = 56 n\_right = 52

* * *

The USRP Overruns (the 'uO’s indicated above) mean that your computer is  
not fast enough to process this data. Is the processor too slow? Are you  
running other applications in the background?

- -Dan  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.6 (GNU/Linux)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org](http://enigmail.mozdev.org)

iD8DBQFHcA9ry9GYuuMoUJ4RAgAHAKDQ+eAYlPfur+vSr+OGdxrCZHbNSwCfWC/L  
G7g4Eh02xuO44VpTl/KtFr4=  
=CSgi  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![sri\_ram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@sri\_ram](https://www.ruby-forum.com/u/sri_ram)\
**Post date:** [December 24, 2007, 9:17pm UTC](https://www.ruby-forum.com/t/flex2400-and-benchmark-rx-py-receiving-only-fraction-of-packets/124109/3 "2007-12-24T21:17:44Z")

</div>

Hello Dan,  
I see that the u0 occurs once every 3 entries which  
could  
explain the ratio between the packets that are received and sent.

I am using a Pentium4 1.8GHz CPU. ‘top’ tells me that the processor is  
98%  
free and memory is also 95% free.  
Do you still think that this computer is slow or is there any other  
problem  
that could have happened (such as the USB)?  
I use a USB PCI card and the usrp\_benchmark\_usb gives 16MBps without  
u0s.

Thanks for your quick response,  
Sriram.

---

<div class="post-metadata">

**Author:** ![sri\_ram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@sri\_ram](https://www.ruby-forum.com/u/sri_ram)\
**Post date:** [December 24, 2007, 9:40pm UTC](https://www.ruby-forum.com/t/flex2400-and-benchmark-rx-py-receiving-only-fraction-of-packets/124109/4 "2007-12-24T21:40:33Z")

</div>

Hello Dan,  
Using a higher decimation rate (128) , that problem does  
not  
arise.

Thanks,  
Sriram
