Re: [Flent-users] [tohojo/flent] RRUL Upload plot - why such low granularity? (#185)

2019-09-29 Thread Sebastian Moeller
Hi Toke,


> On Sep 29, 2019, at 21:08, Toke Høiland-Jørgensen  
> wrote:
> 
> flent-users  writes:
> 
> > Hi Toke,
> >
> >> On Sep 29, 2019, at 20:44, Toke Høiland-Jørgensen 
> >>  wrote:
> >> 
> >> Rich Brown  writes:
> >> 
> >> > Sorry for the delay in responding... The higher granularity makes much
> >> > better plots (see below).
> >> 
> >> Great!
> >> 
> >> > Using `-m 2048,2048` I don't see a whole lot of load on my Mac 2.5 GHz
> >> > Intel Core i7 at 7mbps/768kbps. Thanks.
> >> 
> >> No, don't expect it would. The CPU usage thing will hit you at high
> >> rates (I was testing on a gigabit link).
> >> 
> >> I'm not sure we can realistically pick an option that works well for
> >> both slow and fast links. So we may have to add a switch; and then the
> >> problem becomes what to use for defaults...
> >
> > How about make it not a "switch" but a numeric parameter, and
> > default to the current default value by principle of least
> > surprise?
> 
> Well, by "switch" I just meant "new command line option".

Oops, sorry, I read this as a switch to toggle between say the default 
(which seems system dependent not petperf dependent, no?) and a value for low 
bandwidth links, say 1460...

> The obvious
> form of that would be, as you say, just the ability to set the netperf
> xfer size directly...

I guess that would be the best compromise, if the user knows about a 
links asymmetry the send and receive buffers can be sized accordingly like 16K, 
1600 for DOCSIS down-/upload...

I also wonder whether flent should not try to also record and parse /proc/stat 
to detect CPU overload (so the user could be warned/informed to increase the 
xfer size if there is danger of being CPU bound)?


Best Regards
Sebastian


> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub, or mute the thread.
> 
> ___
> Flent-users mailing list
> Flent-users@flent.org
> http://flent.org/mailman/listinfo/flent-users_flent.org


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


Re: [Flent-users] [tohojo/flent] RRUL Upload plot - why such low granularity? (#185)

2019-09-29 Thread Toke Høiland-Jørgensen
Rich Brown  writes:

> Sorry for the delay in responding... The higher granularity makes much
> better plots (see below).

Great!

> Using `-m 2048,2048` I don't see a whole lot of load on my Mac 2.5 GHz
> Intel Core i7 at 7mbps/768kbps. Thanks.

No, don't expect it would. The CPU usage thing will hit you at high
rates (I was testing on a gigabit link).

I'm not sure we can realistically pick an option that works well for
both slow and fast links. So we may have to add a switch; and then the
problem becomes what to use for defaults...


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/185#issuecomment-536329614___
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org


Re: [Flent-users] [tohojo/flent] RRUL Upload plot - why such low granularity? (#185)

2019-09-29 Thread Toke Høiland-Jørgensen
flent-users  writes:

> Hi Toke,
>
>> On Sep 29, 2019, at 20:44, Toke Høiland-Jørgensen  
>> wrote:
>> 
>> Rich Brown  writes:
>> 
>> > Sorry for the delay in responding... The higher granularity makes much
>> > better plots (see below).
>> 
>> Great!
>> 
>> > Using `-m 2048,2048` I don't see a whole lot of load on my Mac 2.5 GHz
>> > Intel Core i7 at 7mbps/768kbps. Thanks.
>> 
>> No, don't expect it would. The CPU usage thing will hit you at high
>> rates (I was testing on a gigabit link).
>> 
>> I'm not sure we can realistically pick an option that works well for
>> both slow and fast links. So we may have to add a switch; and then the
>> problem becomes what to use for defaults...
>
>   How about make it not a "switch" but a numeric parameter, and
>   default to the current default value by principle of least
>   surprise?

Well, by "switch" I just meant "new command line option". The obvious
form of that would be, as you say, just the ability to set the netperf
xfer size directly...


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/185#issuecomment-536331577___
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org


Re: [Flent-users] [tohojo/flent] RRUL Upload plot - why such low granularity? (#185)

2019-09-29 Thread Rich Brown
Sorry for the delay in responding... The higher granularity makes much better 
plots (see below). Using `-m 2048,2048` I don't see a whole lot of load on my 
Mac 2.5 GHz Intel Core i7 at 7mbps/768kbps. Thanks.

https://user-images.githubusercontent.com/1094930/65833956-1a950b00-e2a4-11e9-9353-b525b527b266.png;>


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/185#issuecomment-536307364___
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org