Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with KNB to generate the graph #9

Open
rkamudhan opened this issue Oct 27, 2021 · 0 comments
Open

Issue with KNB to generate the graph #9

rkamudhan opened this issue Oct 27, 2021 · 0 comments

Comments

@rkamudhan
Copy link

Hi,

I like to get input from the k8s-bench-suite developer regarding the KNB graph generation from the benchmark file.

I have run the knb for the same node setup.
I have generated the benchmark data as follows:

# ./knb -v -cn minion01 -sn minion01 -ot tcp -o data -f samenode.knbdata

I then tried to generate the plot from the benchmark data as follows:

# ./knb -dl info -fd samenode.knbdata -p
2021-10-26 19:02:10 [INFO] Benchmark will not run, report will be generated from samenode.knbdata
=========================================================
Benchmark Results
=========================================================
Name            : knb-1924
Date            : 2021-10-26 18:28:37 UTC
Generator       : knb
Version         : 1.5.0
Server          : minion01
Client          : minion01
UDP Socket size : auto
=========================================================
  Discovered CPU         :XYZ
  Discovered Kernel      : XYZ
  Discovered k8s version : v1.19.0
  Discovered MTU         : 1400
  Pod to pod :
    TCP :
      bandwidth = 34129 Mbit/s
      client cpu = total 12.06% (user 0.93%, nice 0.00%, system 11.06%, iowait 0.06%, steal 0.01%)
      server cpu = total 11.79% (user 0.97%, nice 0.00%, system 10.75%, iowait 0.06%, steal 0.01%)
      client ram = 1307 MB
      server ram = 1306 MB
  Pod to Service :
    TCP :
      bandwidth = 24420 Mbit/s
      client cpu = total 7.55% (user 0.83%, nice 0.00%, system 6.68%, iowait 0.02%, steal 0.02%)
      server cpu = total 7.28% (user 0.86%, nice 0.00%, system 6.36%, iowait 0.03%, steal 0.03%)
      client ram = 1311 MB
      server ram = 1312 MB
=========================================================
2021-10-26 19:02:11 [INFO] Plotting data ...
2021-10-26 19:02:11 [INFO] Starting plotly-orca pod knb-plotly-orca-1747

The script just hang here. I did more debug on this, it looks like the code is hanging in this line https://github.com/InfraBuilder/k8s-bench-suite/blob/master/knb#L384 . The pod knb-plotly-orca-1747 is responsible for generating the graph is created and then kubectl exec command on this pod just hang. No logs are generated after this line and bandwith.png with 0kb file is created on this current directory.

My lab is not behind proxy, so there is no networking issues in my set up. I like to get inputs from the knb users on how to generate the graph using plot option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant