You are not logged in.

#1 2011-12-19 18:52:13

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

monitoring packet rate & softirq

Hi,

on a server running Debian Squeeze and keepalived I ran into some issues.
If I produce many requests against the server the amount of softirqs increases very fast until 1 CPU is at 100%.

I want to investigate this problem but I don't know of a tool to monitor the paket rate and the IPs causing it.
Also I need for this investigation a way to examine the softirqs, what's causing them, what are they waiting for and so on.

Does anyone of you know of such tools?


Kind regards,
Andrwe


Website: andrwe.org

Offline

#2 2011-12-19 21:27:11

marvn
Member
From: Prague
Registered: 2010-01-05
Posts: 84

Re: monitoring packet rate & softirq

you can use iftop as a network monitor


core i5 4590, x86_64, nvidia 970

Offline

#3 2011-12-19 21:43:14

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

Re: monitoring packet rate & softirq

marvn wrote:

you can use iftop as a network monitor

Unfortunately iftop isn't able to monitor the packet rate but only the bandwidth.

There is quite a difference between both.

A network card can be able to process terabit/s but that doesn't mean it can process terapackets/s.
And if your system can't handle the packet rate it gets cpu load because of softirqs very fast.
While too much bandwidth is just cut at the maximum which can be handled and that can cause slowly increasing cpu load.


Website: andrwe.org

Offline

#4 2011-12-20 00:41:20

ZekeSulastin
Member
Registered: 2010-09-20
Posts: 266

Re: monitoring packet rate & softirq

I know iptraf-ng will show packet rate and such ... maybe it'll do what you need?

Offline

#5 2011-12-22 21:25:22

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

Re: monitoring packet rate & softirq

Hi,

I've found 2 tools which are good to use:
ntop (in community)
jnettop (in AUR)

Jnettop is nice for a current view and ntop for a long time analysis.
If you use jnettop on a load balancer with >500 MBit / >40000 Pkts/s traffic then you have to disable content filtering an IP resolving.


Website: andrwe.org

Offline

Board footer

Powered by FluxBB