├── scripts ├── net │ ├── rds_egress_TP_example.txt │ ├── rds_bcopy_metric_example.txt │ ├── rds_conn2irq_example.txt │ ├── rds_check_tx_stall_example.txt │ ├── arp_origin_example.txt │ ├── rds_egress_TP.d │ ├── rds_rdma_lat.d │ ├── ping_lat_example.txt │ ├── rds_conn2irq.d │ ├── rds_bcopy_metric.d │ ├── rds_tx_funccount_example.txt │ ├── rds_check_tx_stall.d │ ├── rds_rdma_xfer_rate_example.txt │ ├── rds_rdma_xfer_rate.d │ ├── rds_tx_funccount.d │ ├── rds_rdma_lat_example.txt │ ├── arp_origin.d │ └── ping_lat.d ├── core │ ├── spinlock_time_example.txt │ └── spinlock_time.d ├── io │ ├── scsi_queue.d │ ├── scsi_latency_example.txt │ ├── nvme_io_comp.d │ ├── scsi_latency.d │ └── nvme_io_comp_example.txt └── Makefile ├── CONTRIBUTORS ├── tools ├── memstate │ ├── memstate_lib │ │ ├── __init__.py │ │ ├── rss.py │ │ ├── constants.py │ │ ├── swap.py │ │ ├── logfile.py │ │ ├── hugepages.py │ │ ├── slabinfo.py │ │ ├── buddyinfo.py │ │ ├── base.py │ │ ├── pss.py │ │ └── meminfo.py │ ├── Makefile │ └── memstate.man ├── kstack │ ├── Makefile │ └── kstack.man ├── scanfs │ ├── Makefile │ └── scanfs.man ├── vmcore-utils │ ├── Makefile │ ├── vmcore_sz.man │ └── vmcore_sz.py ├── syswatch │ ├── Makefile │ ├── syswatch.8.scd │ └── syswatch.8 └── lkce │ ├── Makefile │ ├── lkce.man │ └── scripts │ └── kdump_report.py ├── SECURITY.md ├── sbom_generation.yaml ├── oled.man ├── CONTRIBUTING.md ├── Makefile ├── README.md └── oled.py /scripts/net/rds_egress_TP_example.txt: -------------------------------------------------------------------------------- 1 | Purpose: track egress drop reason along with pid and comm. 2 | 3 | Arguments: None [Enable rds egress trace point] 4 | 5 | Output format: reason= 6 | 7 | Sample output: Shown below 8 | 9 | # ./rds_egress_TP.d 10 | 2022 Oct 21 03:04:45 ctrl+c to stop 11 | 2022 Oct 21 03:05:50 pid=373319 comm=rds-stress [<192.168.0.7,192.168.0.5,0>] reason=rdsinfo pending 12 | 2022 Oct 21 03:10:52 pid=373319 comm=rds-stress [<192.168.0.7,192.168.0.5,0>] reason=rdsinfo pending 13 | 2022 Oct 21 03:13:48 pid=373319 comm=rds-stress [<192.168.0.7,192.168.0.5,0>] reason=rdsinfo pending 14 | 15 | -------------------------------------------------------------------------------- /CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Alina Yurenko 2 | Arumugam Kolappan 3 | Aruna Ramakrishna 4 | Cesar Roque 5 | Jeffery Yoder 6 | Jose Lombera 7 | Manjunath Patil 8 | Mridula Shastry 9 | Nagappan Ramasamy Palaniappan 10 | Oleksandra Pavlusieva 11 | Partha Sarathi Satapathy 12 | Praveen Kumar Kannoju 13 | Srikanth C S 14 | Srinivas Eeda 15 | Wengang Wang 16 | -------------------------------------------------------------------------------- /scripts/net/rds_bcopy_metric_example.txt: -------------------------------------------------------------------------------- 1 | Purpose: This script is used to trace and display the send/recv bytes per connection 2 | 3 | Arguments: None 4 | 5 | Output format: [,, ] 6 | 7 | Sample output: Shown below 8 | 9 | # ./rds_bcopy_metric.d | grep "192.168.0.8,192.168.0.6" 10 | [<192.168.0.8,192.168.0.6,0> send] 16 11 | [<192.168.0.8,192.168.0.6,0> recv] 16 12 | [<192.168.0.8,192.168.0.6,0> send] 16 13 | [<192.168.0.8,192.168.0.6,0> recv] 16 14 | [<192.168.0.8,192.168.0.6,0> send] 16 15 | [<192.168.0.8,192.168.0.6,0> recv] 16 16 | [<192.168.0.8,192.168.0.6,0> send] 16 17 | [<192.168.0.8,192.168.0.6,0> recv] 16 18 | [<192.168.0.8,192.168.0.6,0> send] 16 19 | [<192.168.0.8,192.168.0.6,0> recv] 16 20 | [<192.168.0.8,192.168.0.6,0> send] 16 21 | [<192.168.0.8,192.168.0.6,0> recv] 16 22 | [<192.168.0.8,192.168.0.6,0> send] 16 23 | [<192.168.0.8,192.168.0.6,0> recv] 16 24 | -------------------------------------------------------------------------------- /scripts/net/rds_conn2irq_example.txt: -------------------------------------------------------------------------------- 1 | Purpose: Display rds connection and its related qpn, cqn and ird lines 2 | 3 | Arguments: None 4 | 5 | Output format: [, , ] conn= 6 | ic= qpn= dqpn= scqn= scqirq= rcqn= rcqirq= 10 | 11 | Note: This scripts works only on CX-5/RoCE based machine 12 | 13 | Sample output: Shown below. 14 | 15 | # ./rds_conn2irq.d 16 | 2022 Sep 1 03:26:05 print rds conn to irq mapping. Run rds-info -I parallelly to populate. ctrl+c to stop and print summary 17 | 18 | [<192.168.100.125,192.168.100.63,0>] conn=ffff8d93e96e8148 ic=ffff8d35fa43c000 qpn=156 dqpn=0 scqn=1210 scqirq=546 rcqn=1211 rcqirq=545 19 | ^C 20 | Summary: 21 | irqn count 22 | 545 1 23 | -------------------------------------------------------------------------------- /scripts/net/rds_check_tx_stall_example.txt: -------------------------------------------------------------------------------- 1 | Purpose: This script monitors the completions on all the connections and 2 | calculates the time difference between the consecutive completions. If this 3 | time difference exceeds the threshold time (in microseconds), given as 4 | input argument, message will be printed providing the details of the 5 | connection parameters. 6 | 7 | Arguments: Threshold time in microseconds. (Minimum: 500) 8 | 9 | Output format: [, ] last send completion: