From 3ccf1d476641cc3669cb4f3a39990a5bf4127c76 Mon Sep 17 00:00:00 2001 From: jonschipp Date: Tue, 14 May 2013 09:17:22 -0700 Subject: man: edits to ifpps man page Some edits to the ifpps man page. Signed-off-by: Jon Schipp Signed-off-by: Daniel Borkmann --- ifpps.8 | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'ifpps.8') diff --git a/ifpps.8 b/ifpps.8 index 46088dd..8f802e9 100644 --- a/ifpps.8 +++ b/ifpps.8 @@ -15,24 +15,24 @@ ifpps \- top-like networking and system statistics ifpps is a small utility which periodically provides top-like networking and system statistics from the kernel. ifpps gathers its data directly from procfs files and does not apply any user space monitoring libraries -which would falsify statistics on high load. +which could falsify statistics on high load. For instance, consider the following scenario: two directly connected -Linux machines with Intel Core 2 Quad Q6600 2.40GHz CPUs, 4 GB RAM, and -an Intel 82566DC-2 Gigabit Ethernet NIC are used for performance evaluation. -One machine generates 64 byte network packets by using the kernel space -packet generator pktgen with a maximum possible packet rate. The other -machine displays statistics about incoming network packets by using i) -iptraf(8) and ii) ifpps. - -iptraf that incorporates pcap(3) shows an average packet rate of -246,000 pps while on the other hand ifpps shows an average packet rate of -1,378,000 pps. Hence, due to copying packets and deferring statistics -creation into user space, measurement error of approx. 460 per cent +Linux machines, each with an Intel Core 2 Quad Q6600 2.40GHz CPUs, 4 GB +RAM, and an Intel 82566DC-2 Gigabit Ethernet NIC, are used for performance +evaluation. One machine generates 64 byte network packets by using the +kernel space packet generator, pktgen, with a maximum possible packet rate. +The other machine displays statistics about incoming network packets by +using i) iptraf(8) and ii) ifpps. + +iptraf which incorporates pcap(3) shows an average packet rate of +246,000 pps, while on the other hand, ifpps shows an average packet rate +of 1,378,000 pps. Hence, due to packet copies and deferring statistical +calculations to user space, a measurement error of approx. 460 per cent occurs. Tools like iptraf might display much more information such as TCP per flow statistics (therefore the use of the pcap library), which -is not implemented in ifpps, because overall networking statistics are -in our focus; statistics, which are also fairly reliable under high packet +is not implemented in ifpps, because overall networking statistics is +our focus; statistics, which are also fairly reliable under high packet load. .SH OPTIONS @@ -41,7 +41,7 @@ load. Networking device to fetch statistics from, e.g. eth0, wlan0. .SS -t