From 463590e2bcf94e09890f7ba98e910ff58090e29b Mon Sep 17 00:00:00 2001 From: Tony Ambardar Date: Thu, 25 Oct 2018 18:51:11 -0700 Subject: speedtest-netperf: new package to measure network performance The speedtest-netperf.sh script measures the network throughput while monitoring latency under load and capturing key CPU usage and frequency statistics. The script can emulate a web-based speed test by downloading and then uploading from an internet server, or perform simultaneous download and upload to mimic the stress of the FLENT test program. It simplifies tasks such as validating ISP provisioned speeds or setting up and fine-tuning SQM, directly on the router. The CPU usage details can also help determine if the demands of SQM, routing and other tasks such as the test itself are exhausting the device's CPUs. This script leverages earlier scripts from the CeroWrt project used for bufferbloat mitigation, betterspeedtest.sh and netperfrunner.sh. They are used with the permission of the author, Rich Brown. Signed-off-by: Tony Ambardar --- net/speedtest-netperf/Makefile | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 net/speedtest-netperf/Makefile (limited to 'net/speedtest-netperf/Makefile') diff --git a/net/speedtest-netperf/Makefile b/net/speedtest-netperf/Makefile new file mode 100644 index 000000000..cc3a5cc8a --- /dev/null +++ b/net/speedtest-netperf/Makefile @@ -0,0 +1,45 @@ +# +# Copyright (c) 2018 Tony Ambardar +# This is free software, licensed under the GNU General Public License v2. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=speedtest-netperf +PKG_VERSION:=1.0.0 +PKG_RELEASE:=1 +PKG_LICENSE:=GPL-2.0 +PKG_MAINTAINER:=Tony Ambardar + +include $(INCLUDE_DIR)/package.mk + +define Package/speedtest-netperf + SECTION:=net + CATEGORY:=Network + TITLE:=Script to measure the performance of your network and router + DEPENDS:=+netperf + CONFLICTS:=speedtest + PKGARCH:=all +endef + +define Package/speedtest-netperf/description +Script to measure the performance of your network and router. + +Please see https://github.com/openwrt/packages/blob/master/net/speedtest-netperf/files/README.md for further information. +endef + +define Build/Prepare +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/speedtest-netperf/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) ./files/speedtest-netperf.sh $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,speedtest-netperf)) -- cgit v1.2.3