Skip to main content

Bunch of utils to simplify linux network troubleshooting and performance tuning.

Project description

netutils-linux
======

.. image:: https://travis-ci.org/strizhechenko/netutils-linux.svg?branch=master
:target: https://travis-ci.org/strizhechenko/netutils-linux

It's just a bunch of utils to simplify linux network troubleshooting and performance tuning.

Project state
======
Beta. Six script were gathered together, shortly documented, one has tests and packed 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.

It also supports double/quad ladder in case of multiprocessor systems (but you better explicitely specify queue count == core per socket as NIC's driver's param).

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.

maximize-cpu-freq
------
Sets every CPU scaling governor mode to performance and set max scaling value for min scaling value. So you will be able to use all power of your processor (useful for latency sensible systems).

Project details


Release history Release notifications | RSS feed

This version

0.3.1

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.3.1.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file netutils-linux-0.3.1.tar.gz.

File metadata

File hashes

Hashes for netutils-linux-0.3.1.tar.gz
Algorithm Hash digest
SHA256 708029ea641d83cbae7adeab6e786bece8bd8efed99a3a8cd1cbd96b2d237dc4
MD5 562d82aabbc82cdf15f7ace4547f7deb
BLAKE2b-256 5d41c0b20b93b340d81f4e28d34d4b1c3f9808179a4cdbc94cf3a63a2b390f42

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page