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
Video playback breaking after optimization #17
Comments
Hi @rugabunda, are you using windows 10? So I just revised my script. Since version 2.01 it no longer "switches" to DatacenterCustom, but simply applies the optimizations to the default Internet profile. 😁 Try it out and please let me know if it fixed your problem, thanks. Best Regards from Germany |
Should default settings restored before applying can this update simply applied over already adjusted settings by an earlier script version? Cheers |
Hi @EvilOlaf,
no, you don't have to reset anything beforehand, the script has been doing that by itself since several versions before any optimization. 😁 In other words, just let it run. 🤪 Best Regards from Germany |
I'm using windows 11 22h2 |
So I assume using DatacenterCustom does not add any benefit at all? |
Going out on a bit of a limb here, I did remove all restrictions, by making TCPIP parameter "EnableConnectionRateLimiting" to 0, is it possible this could max out the buffer on the NIC? |
The problem seems to have lessened over the last few days, I'll continue monitoring it... I did lower my max torrent upload slots significantly, perhaps that had something to do with it. |
Average weekly torrent upload rate was 1.25 TB prior to your tweak; after tweak it rose to 1.95; Last month's total was 5.35 TB, this month it is 4.15 with almost half a month left to go. Great work! |
Hi @rugabunda,
then you should switch off the phishing protection activated from Windows 11 22H2 as a test. This consumes a lot of CPU power for any TCP data transfer... 🤢🤮🤮🤮 Procedure see here ...
Well, after I set the Internet profile from the settings towards the data center profile with the current script, you can now also do without the data center profile. 🤪
EnableConnectionRateLimiting ... 😖 ... now I'm slightly confused, this parameter should actually be deactivated since Vista SP2. However, Server 2016 is based on a 1607 kernel, i.e. Windows 10. So, thanks for the hint. I will approach/test it in a more targeted way over the next few days and if that really still brings something today, then I will of course also implement this optimization in the script. Best Regards from Germany |
I disable smartscreen system wide through group policy due to its privacy implications, and instead use anti-viruses with the highest ratted 'offline' detection rate, so that shouldn't be a problem... Yeah most of the articles I found on that TCPIP parameter was ancient, but I did find one source citing its use in Windows 10, so I figured I'd give it a try. https://www.scene.co.za/windows/maximum-unique-tcp-connections-allowed-by-license-in-windows-10/ Thank your time, and please keep us updated on your results! |
I haven't seemed to have had any sudden breaks in video plays in days now... not sure what caused it before. I'll post here again if I see anything. |
Hi @rugabunda,
caution, although SmartScreen and phishing protection can be configured in the same place, they both run independently of one another. In other words, if you deactivate SmartScreen, it does not automatically mean that the phishing protection is also deactivated.
I already have a variety of items such as the following... In other words, thank you very much for the tip, I will probably implement this optimization in the script today. 😁
Did you run the Script V2.01 before that? Best Regards from Germany Addendum: |
Hi @rugabunda, oh dear, I think you put me on the next big botch. Today I tested again intensively regarding "EnableConnectionRateLimiting" and I don't think that this entry will do anything, at least not with Windows11 22H2. 😔 That is not to say that there is no problem here, on the contrary. As soon as I run iperf against the same target with more than 30 simultaneous connections, it crashes. Below is an example of the error from iperf (server side). I have already tried various iperf versions and today I compiled a new version myself from the latest iperf3 repository at Github. Then I started the same test from a server 2019 against a server 2019 and got the same result, i.e. also seeing an iperf crash. And at the latest after the server showed the same behavior, I got really curious. In order to be able to say more precisely, I have to do more research now. Best Regards from Germany |
Hi @rugabunda, small update. I did a new test this morning, in which I started iperf four times separately and ran it against a server 2019 with 16 parallel sessions each, i.e. with a total of 64 active connections. All 64 sessions could transmit data simultaneously without any problems and neither the client nor the server was tweaked in this area. This means that a Windows 11 22H2 can easily establish and maintain 64 active TCP connections with an ongoing data transfer to one and the same destination. Incidentally, this is a heavy and not exactly everyday workload, which should only occur very rarely in the wild. With another testing tool, I was even able to make ~16000 active connections to the same target. 🤪 However, it was not possible to set up more than 30 active connections over which data could also be sent with just one iperf test running at the same time. 😔 Of course, this problem could be a bug in iperf. Best Regards from Germany |
No I was using Windows 11 22h2 anyway; and I see you have added EnableConnectionRateLimiting=0, thank you!. 16,000 connections, that is insane! Well. I don't know what is going on. But the video's feeds are breaking again. Maybe its happening from a middle box or some other reason. Actually... I was experiencing intermittent internet connection loss at the ISP level a few weeks back; had the isp come to investigate. Perhaps it is occurring again, albeit momentarily. I will have to run Pingplotter again to create a map of disruptions to ensure this is the case, which I believe is likely. Thanks for your time! Your efforts are much appreciated! |
Hi @rugabunda, thanks for the feedback, then the problem doesn't really have anything to do with my script, so I would close the case. Best Regards from Germany |
I noticed a massive improvement of browsing and upload/download after this amazing tweak, however,
Youtube, rumble, and bitchute videos will stop playing randomly, and need to be reloaded in order to continue playback. Is there some connection keepalive that has been disabled or modified?
The text was updated successfully, but these errors were encountered: