Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow download speed on IPv6 with 802.11ac Wi-Fi #805

Open
vasishath opened this issue Aug 25, 2022 · 13 comments
Open

Slow download speed on IPv6 with 802.11ac Wi-Fi #805

vasishath opened this issue Aug 25, 2022 · 13 comments
Labels
question Further information is requested

Comments

@vasishath
Copy link

vasishath commented Aug 25, 2022

Have You Read Our Docs
Yes

Are You Reporting A Bug
Yes

Environment

  • Kext Version: AirportItlwm v2.2.0-alpha (commit id d404254)
  • WiFi Card Model: Intel 8265
  • PCI Product ID: 0x8086 0x24FD
  • macOS Version: BigSur 11.1

Description
When connected to a 802.11ac (5GHz) network with IPv6 enabled, the download speed drops drastically. My internet plan offers 150Mbps down and up but I get only 5-7Mbps with IPv6 enabled. Wireshark shows lots of TCP retransmissions when this occurs. The upload speed is unaffected though. This affects all websites that support IPv6. On disabling IPv6, the speed becomes normal.
My other devices get normal speed during the same time with the same Wi-Fi and on the same website (fast.com) with IPv6.
If I switch to 2.4GHz Wi-Fi, then I get 60-70Mbps with IPv6 enabled which is normal for 2.4G. I am attaching screenshots of my speedtest.

5GHz wifi and IPv6 disabled (normal):
Screenshot 2022-08-25 at 2 47 44 PM

5GHz wifi and IPv6 enabled:
Screenshot 2022-08-25 at 2 42 48 PM

2.4GHz wifi and IPv6 enabled (normal):
Screenshot 2022-08-25 at 2 44 50 PM

5GHz wifi with IPv6 on android (normal):
Screenshot_20220825-180141_Chrome

Bug Report Archive
Log_2022-08-25_15-02-07.log

Kext Download Source
This repo

@profzei
Copy link

profzei commented Sep 22, 2022

Hi,
same here: I can confirm the issue!

WiFi Card Model: Intel 8275
PCI Product ID: 0x8086 0x3E02
macOS Version: latest Big Sur, latest Monterey, Ventura developer beta 8

The issue was not present in AirportItlwm v2.2.0-alpha (commit id 6a804ef) since I could achieve full speed on IPv6 with 802.11ac Wi-Fi while it seems to be already present in AirportItlwm v2.2.0-alpha (commit id 34441bc)... all subsequent releases seem to have the same issue (at least in my case)!

@usr-sse2
Copy link
Contributor

Oh, maybe you've found out what's wrong with my network: it has IPv6, and some things like Apple Music and Yandex Maps work terribly slow, while other thinks (which have only IPv4) work OK, and having an old router after the main one fixed the issue. I'll try disabling IPv6 and checking again.

@TheCrypt0
Copy link

Can confirm this issue. Downloading macOS Ventura was going at about ~300KB/s. Once set the IPv6 mode to Link-Local Only the speed was back around ~40MB/s.

How to temporarily disable IPv6: Link (scroll down and skip the Windows part)

@williambj1
Copy link
Contributor

Can this be reproduced with itlwm.kext? Neither mine nor @zxystd's ISP provide IPV6 so it is hard to verify and debug.

@williambj1 williambj1 added the question Further information is requested label Oct 30, 2022
@vasishath
Copy link
Author

vasishath commented Oct 30, 2022

Can this be reproduced with itlwm.kext?

Yes. It is reproduced with both itlwm and AirportItlwm.

Neither mine nor @zxystd's ISP provide IPV6 so it is hard to verify and debug.

Maybe try communicating between 2 systems in a LAN using link-local address?

@williambj1
Copy link
Contributor

Thank you for the quick confirmation.

Maybe try communicating between 2 systems in a LAN using link-local address?

I'm planning on setting up a file server on my RPI4 but I'm extremely busy these days. Unfortunately it might take me some time to start testing.

@vasishath
Copy link
Author

vasishath commented Oct 30, 2022

Thank you for the quick confirmation.

Maybe try communicating between 2 systems in a LAN using link-local address?

I'm planning on setting up a file server on my RPI4 but I'm extremely busy these days. Unfortunately it might take me some time to start testing.

No need for that.. you can just useiperf3 to test speed. I did it on my system with iperf3 server running on RPi2 and here are the results.

IPv4
Screenshot 2022-10-30 at 5 03 38 PM

IPv6
Screenshot 2022-10-30 at 5 04 07 PM

@zxystd
Copy link
Collaborator

zxystd commented Oct 30, 2022 via email

@vasishath
Copy link
Author

Can you please help to test if the history versions also have the same problem?

you can check with @profzei's comment above where they say that it worked with commit id 6a804ef. Unfortunately, I can't confirm this as I tried building the kext after checking out the repo on this commit but the kext didn't load. (Probably because my xcode is old since I am on big sur). I also tried using the stable 2.1.0 version but the kext was too big for my EFI volume.

@wimdoan
Copy link

wimdoan commented Nov 25, 2022

ipv6网速确实很慢,爱奇艺根本没法播放,用有线连接就没问题,把系统切到windows wifi连接也没问题,所以还是驱动哪里不合适

2022-11-25.15.442.mov

@wimdoan
Copy link

wimdoan commented Nov 25, 2022

ipv6网速确实很慢,爱奇艺根本没法播放,用有线连接就没问题,把系统切到windows wifi连接也没问题,所以还是驱动哪里不合适

2022-11-25.15.442.mov

发现此问题并非ipv6独有的,对于此域名ipv4解析也同样慢,但网线连接就没有这样的问题,不知道会是什么问题

@wimdoan
Copy link

wimdoan commented Nov 25, 2022

关闭11ac,这些卡的链接就不会卡了,但最高网速就只能跑100m左右了

@wimdoan
Copy link

wimdoan commented Nov 26, 2022

ac模式下,目前就发现爱奇艺这个cdn域名特别慢(ib302.zjcdn.com),ipv4 v6都慢,现在只能单独让这个域名走代理服务器,才能解决网速问题了
common

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

7 participants