[beagleboard] GNU Radio benchmark_dotproduct?

I follow the last five steps of
http://www.opensdr.com/node/17
with my custom options to compile and install
the GNU Radio 3.2.2 with Ubuntu 9.10 on SBC8100 (DevKit8000-like).

# export LD_LIBRARY_PATH=/usr/local/lib
# ./bootstrap
# ./configure --with-boost=/usr/local --disable-usrp2 --with-fusb-
tech=libusb1 CFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -
mfloat-abi=softfp" CXXFLAGS="-march=armv7-a -mtune=cortex-a8 -
mfpu=neon -mfloat-abi=softfp"
# make
# make check
# sudo make install

when I try the lastest step "# Run benchmark_dotproduct, make code
faster."
I could not find out the "benchmark_dotproduct"!
Does anyone know this?

p.s.
I had tested ./gnuradio-3.2.2/gnuradio-examples/python/usrp/
usrp_benchmark_usb.py
and ./gnuradio-3.2.2/usrp/host/apps/test_usrp_standard_tx
and ./gnuradio-3.2.2/usrp/host/apps/test_usrp_standard_rx
They are ok!

I follow the last five steps of
http://www.opensdr.com/node/17
with my custom options to compile and install
the GNU Radio 3.2.2 with Ubuntu 9.10 on SBC8100 (DevKit8000-like).

# export LD_LIBRARY_PATH=/usr/local/lib
# ./bootstrap
# ./configure --with-boost=/usr/local --disable-usrp2 --with-fusb-
tech=libusb1 CFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -
mfloat-abi=softfp" CXXFLAGS="-march=armv7-a -mtune=cortex-a8 -
mfpu=neon -mfloat-abi=softfp"
# make
# make check
# sudo make install

when I try the lastest step "# Run benchmark_dotproduct, make code
faster."
I could not find out the "benchmark_dotproduct"!
Does anyone know this?

Look in

./gnuradio-core/src/tests/

Philip

2010/4/26 Philip Balister <philip.balister@gmail.com>

I follow the last five steps of
http://www.opensdr.com/node/17
with my custom options to compile and install
the GNU Radio 3.2.2 with Ubuntu 9.10 on SBC8100 (DevKit8000-like).

export LD_LIBRARY_PATH=/usr/local/lib

./bootstrap

./configure --with-boost=/usr/local --disable-usrp2 --with-fusb-

tech=libusb1 CFLAGS=“-march=armv7-a -mtune=cortex-a8 -mfpu=neon -
mfloat-abi=softfp” CXXFLAGS=“-march=armv7-a -mtune=cortex-a8 -
mfpu=neon -mfloat-abi=softfp”

make

make check

sudo make install

when I try the lastest step “# Run benchmark_dotproduct, make code
faster.”
I could not find out the “benchmark_dotproduct”!
Does anyone know this?

Look in

./gnuradio-core/src/tests/

Philip

Ok, I got it! Thanks a lot.

BTW, I re-configure & make with
–with-boost=/usr/local CFLAGS=“-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp” CXXFLAGS=“-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp”
(drop the “–disable-usrp2 --with-fusb-tech=libusb1”), unless I got errors.
It’s work, but very slow.

./usrp/host/apps/test_usrp_standard_rx

xfered 1.34e+08 bytes in 4.88 seconds. 2.751e+07 bytes/sec. cpu time = 4.461

./usrp/host/apps/test_usrp_standard_tx

xfered 3.2e+07 bytes in 1.43 seconds. 2.234e+07 bytes/sec. cpu time = 1.36

I think the cpu time is too long.

./gnuradio-examples/python/usrp/usrp_benchmark_usb.py

> I follow the last five steps of
> http://www.opensdr.com/node/17
> with my custom options to compile and install
> the GNU Radio 3.2.2 with Ubuntu 9.10 on SBC8100 (DevKit8000-like).
>
> # export LD_LIBRARY_PATH=/usr/local/lib
> # ./bootstrap
> # ./configure --with-boost=/usr/local --disable-usrp2 --with-fusb-
> tech=libusb1 CFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -
> mfloat-abi=softfp" CXXFLAGS="-march=armv7-a -mtune=cortex-a8 -
> mfpu=neon -mfloat-abi=softfp"
> # make
> # make check
> # sudo make install
>
> when I try the lastest step "# Run benchmark_dotproduct, make code
> faster."
> I could not find out the "benchmark_dotproduct"!
> Does anyone know this?

Look in

./gnuradio-core/src/tests/

Philip

Ok, I got it! Thanks a lot.

BTW, I re-configure & make with
--with-boost=/usr/local CFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon
-mfloat-abi=softfp" CXXFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon
-mfloat-abi=softfp"
(drop the "--disable-usrp2 --with-fusb-tech=libusb1"), unless I got errors.
It's work, but very slow.

# ./usrp/host/apps/test_usrp_standard_rx
xfered 1.34e+08 bytes in 4.88 seconds. 2.751e+07 bytes/sec. cpu time =
4.461
# ./usrp/host/apps/test_usrp_standard_tx
xfered 3.2e+07 bytes in 1.43 seconds. 2.234e+07 bytes/sec. cpu time = 1.36

I think the cpu time is too long.

I'm not sure how good the usb drivers are for high speed transfers. I
haven't looked into the usb drivers very much.

Philip

2010/4/27 Philip Balister <philip.balister@gmail.com>

I’m not sure how good the usb drivers are for high speed transfers. I
haven’t looked into the usb drivers very much.

Philip

Ok, fine.
I think I’m better to back to x86 desktop. :-[

I'm not sure how good the usb drivers are for high speed transfers. I
haven't looked into the usb drivers very much.

Philip

Ok, fine.
I think I'm better to back to x86 desktop. :-[

GNU Radio on OMAP3 is a work in progress. Thanks for testing the build process!

Good luck with GNU Radio on the x86.

Philip

Tested with new ubuntu lucid rootfs, compared with last result:

./usrp/host/apps/test_usrp_standard_rx

Ubuntu 9.10 (Karmic): 1.34e+08 bytes in 4.88 seconds. 2.751e+07 bytes/sec. cpu time = 4.461
Ubuntu 10.04 (Lucid): 1.34e+08 bytes in 4.53 seconds. 2.96e+07 bytes/sec. cpu time = 4.156
(Desktop PC: 3.2e+07 bytes/sec, cpu time = 0.032)

./usrp/host/apps/test_usrp_standard_tx

Ubuntu 9.10 (Karmic): 3.2e+07 bytes in 1.43 seconds. 2.234e+07 bytes/sec. cpu time = 1.36
Ubuntu 10.04 (Lucid): 3.2e+07 bytes in 1 seconds. 3.191e+07 bytes/sec. cpu time = 0.633
(Desktop PC: 3.2e+07 bytes/sec, cpu time = 0.024)

./gnuradio-examples/python/usrp/usrp_benchmark_usb.py

Ubuntu 9.10 (Karmic): Max USB/USRP throughput = 4MB/sec
Ubuntu 10.04 (Lucid): Max USB/USRP throughput = 8MB/sec
(Desktop PC: 32MB/sec, i.e. all pass)

sudo ./gnuradio-examples/python/digital/benchmark_tx.py

still has “uU”

You can see some improvement, but not much.

Tested with new ubuntu lucid rootfs, compared with last result:
# ./usrp/host/apps/test_usrp_standard_rx
Ubuntu 9.10 (Karmic): 1.34e+08 bytes in 4.88 seconds. 2.751e+07 bytes/sec.
cpu time = 4.461
Ubuntu 10.04 (Lucid): 1.34e+08 bytes in 4.53 seconds. 2.96e+07 bytes/sec.
cpu time = 4.156
(Desktop PC: 3.2e+07 bytes/sec, cpu time = 0.032)

# ./usrp/host/apps/test_usrp_standard_tx
Ubuntu 9.10 (Karmic): 3.2e+07 bytes in 1.43 seconds. 2.234e+07 bytes/sec.
cpu time = 1.36
Ubuntu 10.04 (Lucid): 3.2e+07 bytes in 1 seconds. 3.191e+07 bytes/sec.
cpu time = 0.633
(Desktop PC: 3.2e+07 bytes/sec, cpu time = 0.024)
# ./gnuradio-examples/python/usrp/usrp_benchmark_usb.py
Ubuntu 9.10 (Karmic): Max USB/USRP throughput = 4MB/sec
Ubuntu 10.04 (Lucid): Max USB/USRP throughput = 8MB/sec
(Desktop PC: 32MB/sec, i.e. all pass)
# sudo ./gnuradio-examples/python/digital/benchmark_tx.py
still has "uU"

You can see some improvement, but not much.

What changes between the two versions that might impact gnuradio?

Philip

only two things,
1.) update(replace) rootfs from ubuntu karmic to lucid (a new one),
2.) added “-Os” to CFLAGS/CXXFLAGS, when ./configure

2010/5/11 Philip Balister <philip.balister@gmail.com>