kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Question : How to access to bandwith statistics from kernel space?
@ 2016-02-29 10:47 Martin Houry
  2016-02-29 16:10 ` Valdis.Kletnieks at vt.edu
  2016-03-02  0:23 ` Mulyadi Santosa
  0 siblings, 2 replies; 4+ messages in thread
From: Martin Houry @ 2016-02-29 10:47 UTC (permalink / raw)
  To: kernelnewbies

I have made some research and I could't find a library  who can give
me interfaces's statistics like max/min/average bandwidth, jitter, ...

Do you know a way to do this?

Thank you
Martin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Question : How to access to bandwith statistics from kernel space?
  2016-02-29 10:47 Question : How to access to bandwith statistics from kernel space? Martin Houry
@ 2016-02-29 16:10 ` Valdis.Kletnieks at vt.edu
  2016-03-02  8:31   ` Martin Houry
  2016-03-02  0:23 ` Mulyadi Santosa
  1 sibling, 1 reply; 4+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2016-02-29 16:10 UTC (permalink / raw)
  To: kernelnewbies

On Mon, 29 Feb 2016 11:47:16 +0100, Martin Houry said:
> I have made some research and I could't find a library  who can give
> me interfaces's statistics like max/min/average bandwidth, jitter, ...
>
> Do you know a way to do this?

What problem are you trying to solve from within the kernel with those
statistics?

You probably should look at how the various TCP congestion routines work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160229/282c18c8/attachment.bin 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Question : How to access to bandwith statistics from kernel space?
  2016-02-29 10:47 Question : How to access to bandwith statistics from kernel space? Martin Houry
  2016-02-29 16:10 ` Valdis.Kletnieks at vt.edu
@ 2016-03-02  0:23 ` Mulyadi Santosa
  1 sibling, 0 replies; 4+ messages in thread
From: Mulyadi Santosa @ 2016-03-02  0:23 UTC (permalink / raw)
  To: kernelnewbies

On Mon, Feb 29, 2016 at 5:47 PM, Martin Houry <martinhoury@gmail.com> wrote:

> I have made some research and I could't find a library  who can give
> me interfaces's statistics like max/min/average bandwidth, jitter, ...
>
> Do you know a way to do this?
>
> Thank you
> Martin
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>


Hi....

Try to check mtr application sourc code.



-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160302/bb73ad11/attachment.html 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Question : How to access to bandwith statistics from kernel space?
  2016-02-29 16:10 ` Valdis.Kletnieks at vt.edu
@ 2016-03-02  8:31   ` Martin Houry
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Houry @ 2016-03-02  8:31 UTC (permalink / raw)
  To: kernelnewbies

I'm trying to improve the algorithm of load balancing in the NFS4.1
Client of the session trunking implementation (to do multipath).

If I get bandwith (and other criteria like TCP congestion as you
said), I would be able to estimate the state of each path in real
time. So I could send the NFS's operations on the best path. All this
in order to improve performance when you have path with variant
performance.

Thanks for your help :)

Martin

2016-02-29 17:10 GMT+01:00  <Valdis.Kletnieks@vt.edu>:
> On Mon, 29 Feb 2016 11:47:16 +0100, Martin Houry said:
>> I have made some research and I could't find a library  who can give
>> me interfaces's statistics like max/min/average bandwidth, jitter, ...
>>
>> Do you know a way to do this?
>
> What problem are you trying to solve from within the kernel with those
> statistics?
>
> You probably should look at how the various TCP congestion routines work.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-02  8:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-29 10:47 Question : How to access to bandwith statistics from kernel space? Martin Houry
2016-02-29 16:10 ` Valdis.Kletnieks at vt.edu
2016-03-02  8:31   ` Martin Houry
2016-03-02  0:23 ` Mulyadi Santosa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).