From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 439A53B2A2 for ; Thu, 17 Nov 2016 23:14:50 -0500 (EST) Received: by mail-qk0-x233.google.com with SMTP id n204so249281612qke.2 for ; Thu, 17 Nov 2016 20:14:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=Y0airpMsyJYRJSkerQcE1Pj6n2j9l7R1gFR4c6g+sXY=; b=vXn7v3Twzmg8D4UuAqNtDWnsUMD24kJ9zqUIo5hBYsNcguIXUNFQJnhbFue3kw+wca hZ3zXpBL0/zasy8OG5je0A2hYH1UXOs/psvNar2F/CYflPcTwhT9f13VkuINHhrCy6kH IssJD6K7XuMbNri+7keoHow3h7EVLvzyd0n51C6VbkoMV7uEiB1B7EKNd0cjejZKjzXk 3btO0xg8PxDljd8lcAw1flA0Yq+tcrx5lWDH1p9Lk1m/CMDxVAr8/yRYHP7EaSnXWUV3 G5I6ygZj60BFjBPDYCDCo3j5ZVQ6UxKcKhWJIlXjgU5PmUjFqsml7RwXmFQ7XgSB7lAJ sUqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=Y0airpMsyJYRJSkerQcE1Pj6n2j9l7R1gFR4c6g+sXY=; b=Vc1Tvu6B0Am+LwyDZWpdzzYNyhLEiYsTbn8o5TXCbyxL1J/O2QCsLME/Zlh6AiEYJ1 2df1o+SA8Dx44bpLGcDtW6Sh6+IP8UYsnYcRkbOoRMq/5fDBETT5zxvgYTt/XujWwYU3 V+/uhP8j4MyFfHB3qxApS2IbkoChAmALs2KN78ro3aieUwGC9zDbi4+VRphobkM6+Ngd 1aH2YwarRRnATGUq3D6iO4pZ7iJMK5m+WzkNTZs8NricpBEY7wH5AJQASsWk5eoW5t7j 7NLypgsj9Kkvb3ee+FSABUwuIkwGbuSU256a48vLSXIZST9Us54G5hcYD9RE8YNXNWWv T9FQ== X-Gm-Message-State: AKaTC028b6SxdkLFSnnW2BhVUCuvrfnMA3x7z/+6tt/sRiHkewa9Y5oR/x9jHP+dOLQtW+TkOQ2j2Yrfu+2CNQ== X-Received: by 10.233.220.71 with SMTP id q68mr8075477qkf.153.1479442489827; Thu, 17 Nov 2016 20:14:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.137.198 with HTTP; Thu, 17 Nov 2016 20:14:49 -0800 (PST) From: Dave Taht Date: Thu, 17 Nov 2016 20:14:49 -0800 Message-ID: To: make-wifi-fast@lists.bufferbloat.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Make-wifi-fast] a bit of profiling on the archer X-BeenThere: make-wifi-fast@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 04:14:50 -0000 I have not been profiling much on lower end platforms (it's hard, you can crash a box pretty easily with the wrong options or sample rates). While watching the ath10k peak at 150-200mbits, at 99% of cpu in softirq, I spent a bit of time profiling various counters and statistics. for this one (while downloading 12 flows at the same time via flent) perf record -F 99 -e cpu-clock -ag -- sleep 10 perf report [[31m 67.81%[[m 0.00% ksoftirqd/0 [kernel.kallsyms] [k] run_ksoftirqd | ---run_ksoftirqd | |[[31m--67.61%-- [[m__do_softirq | | | |[[31m--66.80%-- [[mnet_rx_action | | | | | |[[31m--41.07%-- [[mag71xx_poll ... It appears we're spending 66% of the time in the *ethernet* portion of the path. I'm going to stop worrying so much about the performance of the new wifi algorithms. --=20 Dave T=C3=A4ht Let's go make home routers and wifi faster! With better software! http://blog.cerowrt.org