Remix.run Logo
bpicolo 4 hours ago

Another funny thing about Mac networking.

There's a game I play (Old School Runescape) that does network ticks every .6s. Mac does some sort of aggressive optimization on the network hardware/software, so network this infrequent doesn't keep the layers "hot", and you end up getting delayed ticks regularly, meaning you learn what should be happening in the game .2-.5s late. This optimization for (I assume) battery life makes the software not work as intended.

Playing anything that streams, like video, or triggering TCP connections (e.g. curl) at a more frequent clip while the game is running fixes the problem.

No way other than hacks that I've found to fix it, and I have no idea how you could report this to the right team at Apple to get it actually fixed.

speff 2 hours ago | parent | next [-]

Very interesting. I play RS3 and made a helper tool[0] for tracking ticks. I noticed increased jitter on my MBair (~50-150ms) compared to Windows, but I chalked it up to the air being on a wifi connection. I wonder if your explanation's the real reason.

[0]: https://files.catbox.moe/5n09lg.webm

bpicolo 2 hours ago | parent [-]

Watch some twitch while you monitor it - will magically go away I suspect

speff 2 hours ago | parent [-]

Haaa. Confirmed. Went from 200-400ms (worse than I remembered) down to sub 30ms of jitter after putting on a stream. Thanks for the pointer

kccqzy an hour ago | parent | prev [-]

That sounds like the timer coalescing feature introduced in OS X 10.9 I think.