mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-11 02:51:10 +00:00
Wine's nsiproxy reads /proc/net/dev and /sys/class/net/*/carrier for every interface on each adapter query, and the route tables for gateways. Android refuses those opens, and each refused open costs 60-150 us under proot before the synthesized table is returned. A refusal is now remembered for a second per table, so repeat reads go straight to the synthesized copy. Mortal Kombat XL asks for its adapters from the game thread about 30 times a second: GetAdaptersAddresses 2.92 -> 2.53 ms, GetIfTable 1.79 -> 1.35 ms, winedevice 9.0 -> 7.6% CPU.