Hi Toke,

We pulled the latest version of flent from git and gave test run

Please find the output as below.  Please let us know for more info.


root@test:~# flent udp_flood -p totals -l 50 -H 192.168.1.114 -t 
text-to-be-included-in-plot  -o filename-1_tcp_uplink_etho.pdf  -v 
Executing test environment file 
/usr/local/lib/python3.4/dist-packages/flent-1.0.1_git-py3.4.egg/flent/tests/udp_flood.conf
Started Flent 1.0.1-git using Python 3.4.3.
Executing test environment file 
/usr/local/lib/python3.4/dist-packages/flent-1.0.1_git-py3.4.egg/flent/tests/udp_flood.conf
which: /usr/local/sbin/iperf is not an executable file
which: Found iperf executable at /usr/local/bin/iperf
WARNING: Found iperf binary, but it does not have an --enhancedreport option. 
Not using.
Output of `iperf -h`: b"Usage: iperf [-s|-c host] [options]\n       iperf 
[-h|--help] [-v|--version]\n\nClient/Server:\n  -b, --bandwidth #[KMG | pps]  
bandwidth to send at in bits/sec or packets per second\n  -f, --format    
[kmKM]   format to report: Kbits, Mbits, KBytes, MBytes\n  -i, --interval  #    
    seconds between periodic bandwidth reports\n  -l, --len       #[KM]    
length of buffer to read or write (default 8 KB)\n  -m, --print_mss          
print TCP maximum segment size (MTU - TCP/IP header)\n  -o, --output    
<filename> output the report or error message to this specified file\n  -p, 
--port      #        server port to listen on/connect to\n  -u, --udp           
     use UDP rather than TCP\n  -w, --window    #[KM]    TCP window size 
(socket buffer size)\n  -z, --realtime           request realtime scheduler\n  
-B, --bind      <host>   bind to <host>, an interface or multicast address\n  
-C, --compatibility      for use with older versions does not sent extra msgs\n 
 -M, --mss       #        set TCP maximum segment size (MTU - 40 bytes)\n  -N, 
--nodelay            set TCP no delay, disabling Nagle's Algorithm\n  -V, 
--IPv6Version        Set the domain to IPv6\n\nServer specific:\n  -s, --server 
            run in server mode\n  -U, --single_udp         run in single 
threaded UDP mode\n  -D, --daemon             run the server as a 
daemon\n\nClient specific:\n  -c, --client    <host>   run in client mode, 
connecting to <host>\n  -d, --dualtest           Do a bidirectional test 
simultaneously\n  -n, --num       #[KM]    number of bytes to transmit (instead 
of -t)\n  -r, --tradeoff           Do a bidirectional test individually\n  -t, 
--time      #        time in seconds to transmit for (default 10 secs)\n  -B, 
--bind [<ip> | <ip:port>] bind src addr(s) from which to originate traffic\n  
-F, --fileinput <name>   input the data to be transmitted from a file\n  -I, 
--stdin              input the data to be transmitted from stdin\n  -L, 
--listenport #       port to receive bidirectional tests back on\n  -P, 
--parallel  #        number of parallel client threads to run\n  -T, --ttl      
 #        time-to-live, for multicast (default 1)\n  -Z, --linux-congestion 
<algo>  set TCP congestion control algorithm (Linux only)\n\nMiscellaneous:\n  
-x, --reportexclude [CDMSV]   exclude C(connection) D(data) M(multicast) 
S(settings) V(server) reports\n  -y, --reportstyle C      report as a 
Comma-Separated Values\n  -h, --help               print this message and 
quit\n  -v, --version            print version information and quit\n\n[KM] 
Indicates options that support a K or M suffix for kilo- or mega-\n\nThe TCP 
window size option can be set by the environment variable\nTCP_WINDOW_SIZE. 
Most other options can be set by an environment variable\nIPERF_<long option 
name>, such as IPERF_BANDWIDTH.\n\nSource at 
<http://sourceforge.net/projects/iperf2/>\nReport bugs to 
<iperf-us...@lists.sourceforge.net>\n"
ERROR: Unable to read test config file 
'/usr/local/lib/python3.4/dist-packages/flent-1.0.1_git-py3.4.egg/flent/tests/udp_flood.conf':
 'No suitable Iperf binary found.'.




Regards,
Naresh


----- Original Message -----
From: "Toke Høiland-Jørgensen" <t...@toke.dk>
To: "Nareshbhai Jitubhai Patel" <jp.nareshb...@globaledgesoft.com>
Cc: "flent-users" <flent-users@flent.org>, "mn rakshith" 
<mn.raksh...@globaledgesoft.com>, "Seshachala V Prahalada" 
<seshachala...@globaledgesoft.com>, "Sharath Kumar" 
<sharath.ku...@globaledgesoft.com>
Sent: Friday, May 19, 2017 1:22:44 PM
Subject: Re: [Flent-users] Exploring FLENT

Nareshbhai Jitubhai Patel <jp.nareshb...@globaledgesoft.com> writes:

> Hi Tom,
> Thanks for your quick response we are appreciating to it.
> I executed iperf and it is supporting -e option then still i am facing same 
> issues. 
> Below is the path for that:
>
> root@test:/home/test/Downloads/iperf-2.0.8/man# which iperf
> /usr/local/bin/iperf
> root@test:/home/test/Downloads/iperf-2.0.8/man# whereis iperf
> iperf: /usr/bin/iperf /usr/bin/X11/iperf /usr/local/bin/iperf 
> /usr/share/man/man1/iperf.1.gz
> root@test:/home/test/Downloads/iperf-2.0.8/man# echo $path
> root@test:/home/test/Downloads/iperf-2.0.8/man# echo $PATH
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
> root@test:/home/test/Downloads/iperf-2.0.8/man# /usr/bin/iperf -v
> iperf version 2.0.8b (17 Sept 2015) pthreads

I just pushed a few changes to the Flent repo that adds some more debug
logging to the functions that look for binaries. Could you pull the
latest git version of Flent and run it with -v, then post the resulting
output here? :)

-Toke
Disclaimer:- The information contained in this electronic message and any 
attachments to this message are intended for the exclusive use of the 
addressee(s) and may contain proprietary, confidential or privileged 
information. If you are not the intended recipient, you should not disseminate, 
distribute or copy this e-mail. Please notify the sender immediately and 
destroy all copies of this message and any attachments. The views expressed in 
this E-mail message (including the enclosure/(s) or attachment/(s) if any) are 
those of the individual sender, except where the sender expressly, and with 
authority, states them to be the views of GlobalEdge. Before opening any mail 
and attachments please check them for viruses .GlobalEdge does not accept any 
liability for virus infected mails.


_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

Reply via email to