Skip to content

Instantly share code, notes, and snippets.

Avatar
🏄‍♂️

Girai Kaku kakugirai

🏄‍♂️
View GitHub Profile
View term.py
# coding: utf-8
# In[1]:
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
View term.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View batch.csv
batch speed syscalls tag version
3 4.339 583254.5 nopti 4.11.12
4 7.027 550230.0 nopti 4.11.12
5 11.429 400756.2 nopti 4.11.12
6 11.116 217914.2 nopti 4.11.12
7 10.168 94685.3 nopti 4.11.12
8 9.060 59758.5 nopti 4.11.12
9 9.831 21294.4 nopti 4.11.12
3 4.040 541642.6 nopti 4.13.16
4 7.766 461673.1 nopti 4.13.16
View switch.csv
pgpgout queue tag
85059 1 nopti
318279 2 nopti
820646 3 nopti
808478 4 nopti
310950.00 1 pti
622720.00 2 pti
926740.00 3 pti
1240320.00 4 pti
View wss.csv
RSS PSS ref role queue tag
6.58 4.43 0.32 sender 4 nopti
2.52 0.40 0.32 receiver 4 nopti
5.51 3.38 0.30 sender 3 nopti
2.48 0.36 0.29 receiver 3 nopti
4.45 2.32 0.26 sender 2 nopti
2.45 0.32 0.27 receiver 2 nopti
3.45 1.29 0.24 sender 1 nopti
2.37 0.27 0.24 receiver 1 nopti
3.40 1.28 0.25 sender 1 pti
View line_speed.csv
speed role queue tag
10.848 receiver 1 nopti
10.848 sender 1 nopti
14.881 receiver 2 nopti
14.881 sender 2 nopti
14.881 receiver 3 nopti
14.881 sender 3 nopti
14.881 receiver 4 nopti
14.881 sender 4 nopti
3.960 receiver 1 pti
View perf_syscall.csv
syscalls role queue tag
3088.7 receiver 1 nopti
2128.8 receiver 1 nopti
3153.6 receiver 1 nopti
2128.4 receiver 1 nopti
2163.0 receiver 1 nopti
3129.4 receiver 1 nopti
2137.1 receiver 1 nopti
2128.1 receiver 1 nopti
2124.9 sender 1 nopti
View speed.csv
speed queue tag
3.960 1 pti
3.961 1 pti
3.960 1 pti
3.960 1 pti
3.961 1 pti
3.960 1 pti
3.960 1 pti
3.961 1 pti
3.960 1 pti
View context_switch.csv
data queue tag
31113.0 1 pti
31130.0 1 pti
31104.0 1 pti
31114.0 1 pti
31114.0 1 pti
31128.0 1 pti
31116.0 1 pti
31127.0 1 pti
31124.0 1 pti
View tlb.md

sender queue 1

› sudo ~/linux-4.16.11/tools/perf/perf stat -e dTLB-loads,dTLB-load-misses,iTLB-loads,iTLB-load-misses  -p `pgrep -n pkt-gen` sleep 60

 Performance counter stats for process id '33725':

    15,662,666,551      dTLB-loads                                                    (90.52%)
         3,532,959      dTLB-load-misses          #    0.02% of all dTLB cache hits   (43.14%)
         7,994,469      iTLB-loads                                                    (24.22%)
         2,816,770      iTLB-load-misses          #   35.23% of all iTLB cache hits   (66.34%)