Re: [Flent-users] Testing with multiple station, voip and some question between server client

2018-01-04 Thread Toke Høiland-Jørgensen
Louie Lu  writes:

> Cool, thanks for your reply,
> this should be added to the quick-start page, where can I make a PR
> for flent.org?

The flent.org page is the HTML output of the documentation in the doc/
subdirectory (build with spinx; `make doc` from the flent repo root
builds it. A pull request would be much appreciated!

> Also, I found that currently, PyPI flent isn't using the 1.1.1-git
> version (is 1.1.1), thus at that point
> I only saw D-ITG in conf and flent.org documentation.

Yeah, a new release is needed with this feature, but we ran out of time
before the holidays. Should get around to that within a week or two :)

> After looking in mailing-list I saw the commit and install flent from
> GitHub with `Flent 1.1.1-git-2d0cd05` which include the itff runner so
> can use it. And documentation didn't mention this.

I'll be sure to update the documentation before making the new release!

-Toke

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


Re: [Flent-users] Testing with multiple station, voip and some question between server client

2018-01-04 Thread Louie Lu
Cool, thanks for your reply,
this should be added to the quick-start page, where can I make a PR
for flent.org?

Also, I found that currently, PyPI flent isn't using the 1.1.1-git
version (is 1.1.1), thus at that point
I only saw D-ITG in conf and flent.org documentation.

After looking in mailing-list I saw the commit and install flent from
GitHub with
`Flent 1.1.1-git-2d0cd05` which include the itff runner so can use it.
And documentation
didn't mention this.

Thanks,
Louie.

2018-01-04 21:37 GMT+08:00 Toke Høiland-Jørgensen :
> Louie Lu  writes:
>
>> Hi all,
>>
>>
>> According to this post:
>> http://blog.cerowrt.org/post/fq_codel_on_ath10k/
>>
>> Flent can be used to test multiple stations at once, but how can I do
>> that?
>
> You can use the rtt_fair_var* tests; these take multiple hostnames and
> will run a TCP flow and a ping to each. Similarly, you can pass multiple
> hostnames to voip_hosts to get a VoIP stream to each.
>
>> Also, when I testing VoIP, and control host have setup ITGRecv:
>>
>> $ flent voip -p totals -H 192.168.177.157 --control-host
>> 192.168.177.157 --ditg-control-port 9000 -v
>>
>> Output said it will end in 60 seconds, but after about 5 minutes, it
>> still hangs at there, how can I know flent is running which command in
>> this test case?
>
> D-ITG is finicky and easy to anger. I would suggest you try using irtt
> instead: https://github.com/peteheist/irtt/ - if you install this on the
> client and run the server on the server hosts, Flent should pick it up
> automatically and use it for both UDP ping and VoIP tests.
>
>> And the last, what does it mean about server and client in flent?
>>
>> If I have a network like this:
>>
>> Control -> AP -> Multiple stations
>>
>> And I want to test AP tx performance, should I set control as server,
>> and use flent on stations, or flent on control with netperf server on
>> stations.
>
> In this case (which is also what I use in my setup), the easiest is to
> run Flent on the control node and pass the client hostnames to Flent as
> the 'servers', using the rtt_fair_var* tests as noted above. The notion
> of upload/download will be wrong from a client PoV, but you can fix that
> with the --swap-up-down parameter, or simply relabel the plots
> afterwards (I do the latter).
>
> -Toke

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


Re: [Flent-users] Testing with multiple station, voip and some question between server client

2018-01-04 Thread Toke Høiland-Jørgensen
Louie Lu  writes:

> Hi all,
>
>
> According to this post:
> http://blog.cerowrt.org/post/fq_codel_on_ath10k/
>
> Flent can be used to test multiple stations at once, but how can I do
> that?

You can use the rtt_fair_var* tests; these take multiple hostnames and
will run a TCP flow and a ping to each. Similarly, you can pass multiple
hostnames to voip_hosts to get a VoIP stream to each.

> Also, when I testing VoIP, and control host have setup ITGRecv:
>
> $ flent voip -p totals -H 192.168.177.157 --control-host
> 192.168.177.157 --ditg-control-port 9000 -v
>
> Output said it will end in 60 seconds, but after about 5 minutes, it
> still hangs at there, how can I know flent is running which command in
> this test case?

D-ITG is finicky and easy to anger. I would suggest you try using irtt
instead: https://github.com/peteheist/irtt/ - if you install this on the
client and run the server on the server hosts, Flent should pick it up
automatically and use it for both UDP ping and VoIP tests.

> And the last, what does it mean about server and client in flent?
>
> If I have a network like this:
>
> Control -> AP -> Multiple stations
>
> And I want to test AP tx performance, should I set control as server,
> and use flent on stations, or flent on control with netperf server on
> stations.

In this case (which is also what I use in my setup), the easiest is to
run Flent on the control node and pass the client hostnames to Flent as
the 'servers', using the rtt_fair_var* tests as noted above. The notion
of upload/download will be wrong from a client PoV, but you can fix that
with the --swap-up-down parameter, or simply relabel the plots
afterwards (I do the latter).

-Toke

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