Hi,
PCDN means P2P CDN[1]; This modification already exists in a heavily modified openwrt fork here[2] for over 2 years so it should be working with to regression. Although a higher limit would be better for PCDN use case, but only newer devices like MT7986 supports 32768 max entries. Setting to 16384 would keep old devices working.
[1] https://www.w3.org/wiki/Networks/P2P_CDN [2] https://github.com/coolsnowwolf/lede/blob/2ef8b6a6142798b5e58501fe12ffd10b09...
在 2024/7/4 7:48, Jakub Kicinski 写道:
On Thu, 4 Jul 2024 01:38:50 +0800 Shengyu Qu wrote:
BT download and PCDN would create tons of connections, and might be easily to reach the 8192 limit, one of my friend sees 50000+ links when hosting PCDN.
I don't know what PCDN is, but what we care about in Linux is whether the change under Fixes introduced a regression. Optimizations, and improvements no matter how trivial in terms of code are not fixes. So did ba37b7caf1ed ("net: ethernet: mtk_eth_soc: add support for initializing the PPE") make things worse. And if you're saying there are 50k "links" in real world why is 16k a major win? it's 1/3rd of the total.