34 Comments

  • ariesta

    I am interested with jperf

    How do I install jperf at my machine??
    I use Ubunu 9.10 Karmic amd64

    Thanks 4 reply

  • @ariesta

    Don’t have Ubuntu virtual machine ready to test at moment.

    As far as I see you should unpack jperf archive and run jperf.sh file. You also might to install Java Runtime, I don’t remember does it come by default on Ubuntu or not.

    Sorry I can’t help with more details, if it fails search or ask on Ubuntu forums – they have reputation of helpful bunch. :)

  • ariesta

    @ Rarst
    Thanks for your reply.

    What do you mean “Don’t have Ubuntu Virtual Machine ready to test at moment”?

    I install virtual machine to try ubuntu server. But for instalation jperf package, I use my main machine (Ubuntu Desktop).

    I have done jperf installation that you have suggested..
    But I still not install jperf, although I can install iperf before

    Result of error :
    root@achilles:/home/ariesta/Desktop/jperf-2.0.2# ./jperf.sh
    bash: ./jperf.sh: Permission denied
    root@achilles:/home/ariesta/Desktop/jperf-2.0.2# sudo ./jperf.sh
    sudo: ./jperf.sh: command not found

  • @ariesta

    I meant that I am primarily Windows user. :) I only mess with Ubuntu on virtual machines and I don’t have one ready at moment.

    Sorry but no idea on that shell error. :( Not my area of expertise.

  • Adriana

    I had the same problem.
    First i run the command chmod +x jperf.sh
    I tried again ./jperf.sh but it didn’t work because I didn’t had Java installed. I installed Java and now it works the command.

    Hope this helps!

  • @Adriana

    Thanks for your input! I hope it will resolve issue for other Linux users.

  • vignesh

    @Rarst
    how to use this kind of software? and i need port number.

  • @vignesh

    Port can be set in interface, it defaults to 5001. What exactly do you have trouble with?

  • ninie

    i’ve install java on my debian 5 but jperf still doesnt work..plz help

  • @ninie

    Had you tried what Adriana suggested above?

    Sorry, as I mentioned – personally I am Windows user so have little advice to offer about Linux systems.

  • ninie

    i’ve tried like adriana but still cant..may b my step is wrong..can u give me the step by step to run jperf.

  • Saurabh

    @ninie
    What is the error message you are receiving?

  • safiah

    is there a way to regulate the bandwidth

  • @safiah

    I am not sure what you mean. The whole purpose of this one is to see how much bandwidth you can get out of connection. You can limit time or amount of data passed, but I see no sense to cap bandwidth for such test.

  • Caio

    when i try to execute the jperf.exe it just does not work and a message: Could not find the main class. Program will exit.

    Please help me!

  • @Caio

    Do you have Java Runtime Environment installed? Preferably up to date version.

    Which OS are you on and which file do you use to launch jperf? I think it should be .bat for Windows and .sh for Linux.

  • Caio

    Thank you Rarst!
    Right now it works, but i would like to know the meaning of the graphic! For example, I am using my pc in a mode server (with jperf)and I have a iperf in my mobile (client mode). What is the meaninig of the green graphic? Yellow graphic? and red graphic?
    The green graphic is the throughput from the PC to the mobile? Or from the mobile to the pc?

    Please helpe me with the meaning of the graphic`s color!

  • @Caio

    I don’t remember graph colors being meaningful there, they are just to distinguish sessions or something (as far as I remember).

    It just shows bandwidth through network interface. By default I think it’s from client to server, but you can play with settings for other modes.

  • Caio

    I am a new jperf user sorry about all these questions!
    What the ID number is?
    The legend of the graphic #1872 what is this number?
    In a dual mode the faster is Server to PC or PC to server…!
    Actually i can`t find witch one is the upload or download bandwith…please help me!

    Thanks

  • @Caio

    Sorry, it has been a while since I last actively used it and I am fuzzy on details. :) If you have trouble interpreting graph try to make sense of text log, it should be quite detailed about process.

  • Jyotirmaya Mohanty

    Hi,
    I am trying to run TCP Unidirectional and given the proper command in Teraterm.
    Also I am runnning Jperf.While clicking on Run Iperf it is showing error in Jperf:

    bin/iperf.exe -s -P 0 -i 1 -p 5001 -f k
    bind failed: Permission denied
    Done.

    Also in Teraterm following error is showing
    Broken Pipe:Write2Failed.

    Can somebody help on this

  • @Jyotirmaya Mohanty

    From couple quick google searches my guess would be that you are trying to use it on port that is already occupied. But I hadn’t ever had this issue myself, so can’t say for sure.

  • NAEEM

    Cuold you help me, how I can setup and execute iperf on windows 7 and in the same time on windpws xp on VM TO test UDP.

  • @NAEEM

    I am not sure what you are using for VM, native Win7 functionality? I hadn’t worked with that.

    In general (as I am used to with VirtualBox) your VM should be connected to host OS via some kind of virtual network adapter, so you should look for that connection and use IPs from it for setup.

  • CC Hsiang

    can I use this tool to do TCP or UDP connection scale test/stress test? e.g. open 1000 TCP connections with variable sizes of data transmitted.

  • @CC Hsiang

    There is an options called “Parallel Streams”, but I am not entirely sure what it does. Overall it seems to be designed to test data transfer rather than amount of connections.

  • gautami

    I am trying to find an equivalent application of jperf on android. Is there any jperf available for android

  • @gautami

    I am not aware of one, but I hadn’t searched for such.

  • gautami

    @Rarst

    Hi Rarst,

    Is it possible to recompile the Jperf code (which for linux) on Android. If so, can you provide some inputs.

    Thanks a much
    Gautami

  • @gautami

    Sorry, I have no experience with Android development. My guess would be that it is not an easy or straightforward task.

  • Nipun

    Can we get the bandwidth graph using iperf commandline interface without using jperf?

  • @Nipun

    I don’t think iperf builds graphs by itself, but you probably can get data out and graph it with some other tool. I remember once building graphs in excel from ping output. :)

    Hadn’t used this in a while so not sure.

  • Joe

    Hi Rarst,
    Im using Windows but cant run my jperf. Can you please advice on this. Tq

  • @Joe

    Do you have Java Runtime installed? Getting any error messages?

Comments are closed.