tag:blogger.com,1999:blog-1978652979840829013.post5641299010171031927..comments2020-02-22T03:44:25.023-08:00Comments on sFlow: Link utilizationPeterhttp://www.blogger.com/profile/00856599914190257147noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-1978652979840829013.post-23664841742258915572019-12-13T09:12:42.738-08:002019-12-13T09:12:42.738-08:00It's clear, Thank youIt's clear, Thank you Sdn projecthttps://www.blogger.com/profile/15855241872298538817noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-42908052805703616232019-12-13T07:50:34.646-08:002019-12-13T07:50:34.646-08:00Each direction on the link has it's own bandwi...Each direction on the link has it's own bandwidth, so both numbers are needed. If you want to summarize the link bandwidth utilization, you could take the maximum of the two utilizations.Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-41526594736293161062019-12-13T05:58:04.956-08:002019-12-13T05:58:04.956-08:00Hi Peter,
i exract value (bit per second) for each...Hi Peter,<br />i exract value (bit per second) for each port, for example between Switch1 and Switch2, i have got X bits per second for port2-Switch1 and for port1-Switch2 is Y bits per second. How to calculate bandwidth utilization for this link (Switch1-Switch2)????<br />Thank you PeterSdn projecthttps://www.blogger.com/profile/15855241872298538817noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-34510000569442471372019-12-01T09:35:22.072-08:002019-12-01T09:35:22.072-08:00Thank you very much for your help Thank you very much for your help Sdn projecthttps://www.blogger.com/profile/15855241872298538817noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-66872573480653152322019-12-01T08:23:01.381-08:002019-12-01T08:23:01.381-08:00The interval is the sFlow polling interval - set ...The interval is the sFlow polling interval - set to 10 seconds by default if you are using the sflow-rt/extras/sflow.py script to configure sFlow in Mininet. Otherwise, your calculation looks correct.Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-62325736030037396832019-12-01T06:14:16.128-08:002019-12-01T06:14:16.128-08:00Hi Peter, thank you for your response.
Recently I...Hi Peter, thank you for your response. <br />Recently I used sflow-rt, with the application mininet-dashboard / scripts / metrics.js / metric / json. I found the statistics of each interface (port) in " trends" . Considering the eth2 port of switch s11 uses data=11234000 bits per sencod, then the bandwidth used by this port is calculated as follows:<br />Utilization %=(data*100)/(bandwidth*interval) <br /><br />With the bandwidth (bits per second) is the value set when we create the link and the interval is the capture period<br />is correct?<br />Sdn projecthttps://www.blogger.com/profile/15855241872298538817noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-56579599271341546262019-11-30T22:25:49.472-08:002019-11-30T22:25:49.472-08:00Yes - "link utilization" is the same as ...Yes - "link utilization" is the same as "bandwidth utilization". You can calculate the bits per second by taking successive sFlow counter samples and subtracting the values of the ifinoctets/ifoutoctets counters * 8 / time between the counter samples. Calculate utilization by dividing the bits per second value by the speed of the port - the speed is included in the sFlow counter sample along with the other interface counters.<br /><br />You can use <a href="https://blog.sflow.com/search/label/sflowtool" rel="nofollow">sflowtool</a> to decode the sFlow data. The <a href="https://blog.sflow.com/search/label/sFlow-RT" rel="nofollow">sFlow-RT</a> analyzer performs the calculation for you.Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-22552392408976651922019-11-30T17:54:55.245-08:002019-11-30T17:54:55.245-08:00Hi
Please, i want to know what exactly do you mean...Hi<br />Please, i want to know what exactly do you mean "utilization of link "? Do you mean bandwidth utilization??<br />And I want a link for that ( how to extract the bandwidth utilization for each link using sflow). <br />Thank youSdn projecthttps://www.blogger.com/profile/15855241872298538817noreply@blogger.com