Bunch of utils to simplify linux network troubleshooting and performance tuning.
Project description
netutils-linux
======
It's just a bunch of utils to simplify linux network troubleshooting and performance tuning.
Project state
======
Alpha, raw alpha. Six script were gathered together, shortly documented and packet into python package.
Some were cleaned up, some - not. Most of them was being written in bash, not python, maybe they'll be ported later.
Installation
======
.. code :: shell
pip install netutils-linux
Utils
======
irqtop
------
- Show you a rate of interrupts
- based on /proc/interrupts file
- Hides interrupts with small rate to show a better picture.
softirq-net-rx-top
------
- Show you a rate of receiving packets
- Based on /proc/softirqs
- Sometimes shows much more CPUs than really exists
missed-pkts-monitor
------
- Detects when were packets missed (maybe it will give some idea of correlation with something)
- Easy to use in tactical, not strategic debug, without deployment of graphite/influxdb
- Based on ip -s -s link output
link-rx-rate
------
- Shows how many packets/bytes network interface receives
- Based on /proc/net/dev
rss-ladder
------
Automatically set smp_affinity_list for IRQ of NIC rx/tx queues for ixgbe/igb/vmxnet3 drivers (they usually work on CPU0 out of box).
Based on lscpu's output.
Later, there will be a support for double/quad ladder in case of multiprocessor systems.
autorps
------
Enables RPS of NIC on all available CPUs. It may be good for small servers with cheap network cards or bunch of VLAN.
Later, there will be a support for enable RPS only for subgroup of CPUs based on L3 caches.
======
It's just a bunch of utils to simplify linux network troubleshooting and performance tuning.
Project state
======
Alpha, raw alpha. Six script were gathered together, shortly documented and packet into python package.
Some were cleaned up, some - not. Most of them was being written in bash, not python, maybe they'll be ported later.
Installation
======
.. code :: shell
pip install netutils-linux
Utils
======
irqtop
------
- Show you a rate of interrupts
- based on /proc/interrupts file
- Hides interrupts with small rate to show a better picture.
softirq-net-rx-top
------
- Show you a rate of receiving packets
- Based on /proc/softirqs
- Sometimes shows much more CPUs than really exists
missed-pkts-monitor
------
- Detects when were packets missed (maybe it will give some idea of correlation with something)
- Easy to use in tactical, not strategic debug, without deployment of graphite/influxdb
- Based on ip -s -s link output
link-rx-rate
------
- Shows how many packets/bytes network interface receives
- Based on /proc/net/dev
rss-ladder
------
Automatically set smp_affinity_list for IRQ of NIC rx/tx queues for ixgbe/igb/vmxnet3 drivers (they usually work on CPU0 out of box).
Based on lscpu's output.
Later, there will be a support for double/quad ladder in case of multiprocessor systems.
autorps
------
Enables RPS of NIC on all available CPUs. It may be good for small servers with cheap network cards or bunch of VLAN.
Later, there will be a support for enable RPS only for subgroup of CPUs based on L3 caches.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
netutils-linux-0.2.1.tar.gz
(4.8 kB
view details)
File details
Details for the file netutils-linux-0.2.1.tar.gz.
File metadata
- Download URL: netutils-linux-0.2.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03706ae5b8d488ae7cddcf32ba90d1ac7c56037f3885ed592fab8406e2fb3beb
|
|
| MD5 |
a508ac5b405492bab112c5a1a6b24dd6
|
|
| BLAKE2b-256 |
c13b087870d47624f21380dcab93adfb69664c96c3d3a608373ad7d34d150101
|