Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Network throughput test: (8 Items)
   
Network throughput test  
Hi,

I am working on WLAN driver. How do i test the throughput of network card in QNX?
Is there anything similar to iperf(in Linux)?
Also if there are any test suites available to test the driver please let me know.



Thanks & Regards
Arun L Hegde
RE: Network throughput test  
If it's a straight socket application, then you should just be able to grab
the source and re-compile under Neutrino (add the -lsocket option to the
compile).  We typically use ttcp, netperf and netio internally.  

    Robert.

-----Original Message-----
From: Arun Hegde [mailto:arun.hegde@globaledgesoft.com] 
Sent: Monday, April 14, 2008 11:43 AM
To: drivers-networking
Subject: Network throughput test

Hi,

I am working on WLAN driver. How do i test the throughput of network card in
QNX?
Is there anything similar to iperf(in Linux)?
Also if there are any test suites available to test the driver please let me
know.



Thanks & Regards
Arun L Hegde


_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post6731
Re: RE: Network throughput test  
Hi  Robert,
Can you please provide me those test suites or can i download those suites from QNX site?
Please let me know.

Thanks & Regards
Arun Hegde
Re: RE: Network throughput test  
I suggest you to download iperf and port it

dast.nlanr.net/Projects/Iperf/ 

It hardly takes 1-2 days if you are well familiar with QNX.

Regards,

Avinash.
Re: RE: Network throughput test  
Hi Robert.

We are testing WLAN performance with QNX

We have the problem that QNX is about 10 times slower than Linux !

Any idea ?

Configuration:
- Ralink WLAN controller 
- connected via USB
- MPC5121
- Packet Size 1000 Bytes

Best regards
Lutz
RE: RE: Network throughput test  
The ralink driver is a compiled USB driver - we
did not write it, and the source is certainly
publicly available.

A test I might try would be to measure the throughput 
of a wired ethernet USB dongle, to try to remove the 
wifi variable.

--
aboyd
RE: RE: Network throughput test  
> The ralink driver is a compiled USB driver

clarification: "compiled BSD driver"

--
aboyd
Re: RE: RE: Network throughput test  
My recollection of the BSD based USB drivers was that they weren't the best for speed.  They have a low number of rx and
 tx descriptors (believe it or not, the default is 1 (yup, ONE) of each).  I seem to remember that it's pretty easy to 
up the Rx descriptor types, but the Tx required a little bit of extra work (you can take a look at the axe driver source
 to see what was done to increase the descriptors for 6.4.1).  For the URAL driver, these are defined in sys/dev/usb/
if_uralvar.h.

  That being said, the BSD drivers also go through a BSD - QNX conversion layer and that layer definitely introduces a 
performance penalty.  A native driver will run faster.  You can take a look at the devnp-axe (BSD) driver versus devn-
asix to get an idea of what a BSD ported USB driver is like when compared to a QNX written driver (and note that devn-
asix is an old-style io-net driver and not a native io-pkt style driver).

    R.