1

Topic: Alot of lag since changing VM

Since zer came on and did a server restart (I believe he was he was changing vms) I've noticed a large amount of lag. Was hoping it would subside, but this morning it seems even worse.

Last edited by bullethead123 (September 20th, 2024 3:04 AM)

2

Re: Alot of lag since changing VM

Still? CPU usage doesn't read terribly high, though I admit the new version of Wine now has a separate "Wineserver" process, so it could be an interprocess issue. All the time, or just some times?

3

Re: Alot of lag since changing VM

Might be worth cracking out wireshark or looking into recent changes like how 4k assets are handled or something if its client lag

4

Re: Alot of lag since changing VM

.pc3 art files are loaded asynchronously on a separate thread (CPU), and if the system is displaying in 1K or 2K mode, it even downscales them before leaving that thread. This wasn't true a month ago, to be fair, but as a result 4K art should not cause meaningful lag.

5

Re: Alot of lag since changing VM

I've written a shim so that the networking code now uses libevent natively on Linux instead of Wine with all its overhead.

We'll see if this solves anything. It does appear to have removed nearly all of the Wineserver.exe CPU usage. The only question is whether that was blocking the same thread as the game server or not. If so, this is a win. If not, well, it certainly didn't hurt. 20-25% CPU with 20 people online.