From owner-freebsd-questions@freebsd.org Sun Jul 23 22:16:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DB33DAEDE1 for ; Sun, 23 Jul 2017 22:16:42 +0000 (UTC) (envelope-from alex@emobrien.com) Received: from mail-ua0-x232.google.com (mail-ua0-x232.google.com [IPv6:2607:f8b0:400c:c08::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 266F071924 for ; Sun, 23 Jul 2017 22:16:42 +0000 (UTC) (envelope-from alex@emobrien.com) Received: by mail-ua0-x232.google.com with SMTP id d29so56940501uai.2 for ; Sun, 23 Jul 2017 15:16:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emobrien-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=6aWIUATE5obo/nlPN1bfKCpZYPf1hZwgOMm9TLryuuI=; b=yPX5A6d1JyRJbnr1t47vnK7amIbXT8vH9ZqTJBPLPDGhbjU15fy3zvlpvCbLGuv2Ns iXV+NY8WsdQq9ViUJ37Uj8LWNxfy2L5AcDeYYPFbwuhW0tjwCHSx5ed/HKicmUy1+vEd szYzRdQR0zUN0oSC4VfopauHHm6Gmu9/aYCR2osukAc5IKg/4ibPGeMhmPjXb4K2mNQ9 D2LZ+JEzVW8SS1AtiM94qdSic9YhnaGEzOnMEzqKEsChu11OWv/1/ctIN3M6jcOcZDiK 6fPsZBss5yXU4KRO0OwChy/oSrdvKYyhk7pLHjTsMyYxE4MbNg1HExWxUStyPM1m4zil LCiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6aWIUATE5obo/nlPN1bfKCpZYPf1hZwgOMm9TLryuuI=; b=W07rYBUmKnvoNjCwj1OUNSjTaNVeG6A8uwy5F3a/ZlJQLtfegshFfP+4FYNfrHbTxF r772xV9Otb7Uf1qrHe9wyW4p77aMeJVY/FAijY9dz8RkMtnqJ3aeJBDpypMrGsu3eCj6 2eBUGjcw3d57fN6HUCCbGbf55MW4fsdCNLRNqtXImD9bjOwqnZpF9sTrkoA9vVJENuYr +w5yel8GX8TFvMCMYajDFe1peS0olG6fjYOJiPObw95RNlKWbYsjo7Y/zw+h8yjVlo8m smKm37C3ToDhTtDD3gBNDz1y+y53fqsv5e31wXZa+RC38WLeGKNgzqLLqS5h23zo8Dec hxzw== X-Gm-Message-State: AIVw112rgDz2rW7BxWsO1W1ojUXOZ4DGN4Hw1DL8N9lT0jLYdPDYxlYZ ITVy6bfBt1zFOQm2dPt4lKGrhGCzKT9aXho= X-Received: by 10.31.3.99 with SMTP id 96mr8001626vkd.185.1500848200790; Sun, 23 Jul 2017 15:16:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.137.196 with HTTP; Sun, 23 Jul 2017 15:16:40 -0700 (PDT) From: "Alex O'Brien" Date: Sun, 23 Jul 2017 15:16:40 -0700 Message-ID: Subject: Degraded performance with Intel 7265 wireless on iwm driver To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jul 2017 22:16:42 -0000 I'm new to FreeBSD so please be at least somewhat forgiving of any silly mistakes in my diagnostics. I recently installed FreeBSD on a Lenovo Thinkpad Yoga laptop, which has an Intel 7265 wireless chip. Everything but wireless seems to be working flawlessly (hooray). With regards to wireless, it seems to perform initially normally, but performance degrades severely after a short period of use. The performance degradation can be briefly reversed with service netif restart, but quickly returns. I noticed that as the performance degrades, the listed speed in ifconfig decreases. Initially: > wlan0: flags=8843 metric 0 mtu 1500 > ether 34:02:86:e7:85:4c > inet 192.168.0.30 netmask 0xffffff00 broadcast 192.168.0.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g > status: associated > ssid "ssid" channel 9 (2452 MHz 11g) bssid 58:8b:f3:e4:00:a0 > regdomain FCC country US authmode WPA2/802.11i privacy ON > deftxkey UNDEF TKIP 3:128-bit txpower 30 bmiss 10 scanvalid 60 > protmode CTS wme roaming MANUAL > groups: wlan Shortly after: > wlan0: flags=8843 metric 0 mtu 1500 > ether 34:02:86:e7:85:4c > inet 192.168.0.30 netmask 0xffffff00 broadcast 192.168.0.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11g > status: associated > ssid "ssid" channel 9 (2452 MHz 11g) bssid 58:8b:f3:e4:00:a0 > regdomain FCC country US authmode WPA2/802.11i privacy ON > deftxkey UNDEF TKIP 3:128-bit txpower 30 bmiss 10 scanvalid 60 > protmode CTS wme roaming MANUAL > groups: wlan And finally: > wlan0: flags=8843 metric 0 mtu 1500 > ether 34:02:86:e7:85:4c > inet 192.168.0.30 netmask 0xffffff00 broadcast 192.168.0.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g > status: associated > ssid "ssid" channel 9 (2452 MHz 11g) bssid 58:8b:f3:e4:00:a0 > regdomain FCC country US authmode WPA2/802.11i privacy ON > deftxkey UNDEF TKIP 2:128-bit TKIP 3:128-bit txpower 30 bmiss 10 > scanvalid 60 protmode CTS wme roaming MANUAL > groups: wlan Additionally, with wlandebug +rate enabled, there are repeated messages about "decreasing rate", starting at 72, ending at 2: > Jul 23 14:55:09 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 72, txcnt=11, retrycnt=19 > Jul 23 14:55:09 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR decreasing rate 48 (txcnt=11 retrycnt=19) > Jul 23 14:55:10 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 48, txcnt=11, retrycnt=1 > Jul 23 14:55:11 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 48, txcnt=33, retrycnt=24 > Jul 23 14:55:11 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR decreasing rate 36 (txcnt=33 retrycnt=24) > Jul 23 14:55:11 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 36, txcnt=83, retrycnt=35 > Jul 23 14:55:11 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR decreasing rate 24 (txcnt=83 retrycnt=35) > Jul 23 14:55:12 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 24, txcnt=68, retrycnt=25 > Jul 23 14:55:12 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR decreasing rate 22 (txcnt=68 retrycnt=25) > Jul 23 14:55:12 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 22, txcnt=53, retrycnt=19 > Jul 23 14:55:12 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR decreasing rate 18 (txcnt=53 retrycnt=19) > Jul 23 14:55:14 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 18, txcnt=11, retrycnt=1 > Jul 23 14:55:14 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 18, txcnt=87, retrycnt=23 > Jul 23 14:55:15 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 18, txcnt=111, retrycnt=27Jul 23 14:55:18 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 18, txcnt=64, retrycnt=8 > Jul 23 14:55:19 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 18, txcnt=11, retrycnt=0 > Jul 23 14:55:19 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR increasing rate 22 (txcnt=11 retrycnt=0) > Jul 23 14:55:20 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 22, txcnt=157, retrycnt=42Jul 23 14:55:20 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 22, txcnt=240, retrycnt=47 > Jul 23 14:55:21 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 22, txcnt=24, retrycnt=15 > Jul 23 14:55:21 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR decreasing rate 18 (txcnt=24 retrycnt=15) > Jul 23 14:55:21 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 18, txcnt=35, retrycnt=10 > Jul 23 14:55:22 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 18, txcnt=67, retrycnt=18 > Jul 23 14:55:22 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 18, txcnt=114, retrycnt=56 > Jul 23 14:55:22 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR decreasing rate 12 (txcnt=114 retrycnt=56) > Jul 23 14:55:23 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 12, txcnt=47, retrycnt=17 > Jul 23 14:55:23 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR decreasing rate 11 (txcnt=47 retrycnt=17) > Jul 23 14:55:23 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 11, txcnt=13, retrycnt=10 > Jul 23 14:55:23 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR decreasing rate 4 (txcnt=13 retrycnt=10)Jul 23 14:55:24 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 4, txcnt=26, retrycnt=20 > Jul 23 14:55:24 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR decreasing rate 2 (txcnt=26 retrycnt=20)Jul 23 14:55:24 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 2, txcnt=21, retrycnt=7 > Jul 23 14:55:25 hostname kernel: wlan0: [58:8b:f3:e4:00:a0] AMRR: current rate 2, txcnt=16, retrycnt=2 My immediate suspicion is that this might be an issue with the iwm driver, but I have no idea how to further diagnose the issue in order to confirm or deny that. If anyone could point me in the right direction, it would be greatly appreciated.