Jan 14, 2012 10:54
I'm running the TradeWars Game Server in WINE. Connecting to it on the local loopback, it's blazingly fast. But over my 100mbps network, it's unacceptably slow. It feels like I'm playing on an old 9600 baud modem!
Could it have something to do with native vs. builtin DLLs? Or the kernel's network frame size?
Leave a comment
Comments 9
Or, more seriously, it should easily be fast enough for anything being emulated that old... but wouldn't a TW2002 server be a DOS-based server anyway? If so, why not just use DOSBox?
Reply
I might try the advice from the WINE troubleshooting FAQ and see how it runs on real Win98 or XP. Having run the door version on a 486SX25 with 4MB RAM, I would expect TWGS to run decently on a dual-core Atom netbook with 512MB. But the game is real-time interactive now, and of course there's 15+ years of OS bloat...
Reply
Reply
Reply
Have you tried running it natively on a similar hardware platform? Atom chips are surprisingly underpowered even for the spec the espouse. Also, make sure you have them turned all the way up to 1.6ghz. Linux sometimes tries to adaptively adjust their speed and usually end up leaving them at 800mhz all the time. at 800 mhz, they're probably slower than my old Athlon 500mhz system. That EEE901 system I have was the worst purchase I've ever done due to the dodgy drivers and pathetic processor.
It sounds like it's not the processor though. Do you connect with Telnet or some other tool? How large are the packets? Too small and some network cards may have issues. Most network cards should handle 1500 byte packets perfectly, but may not perform with a flood of 10-15 byte packets. Have you tried it on a different system with a different network card on Wine?
Reply
The biggest difference actually came from switching to FVWM. (I changed the scaling after switching WMs.)
Reply
Reply
sudo ifconfig eth0 txqueuelen 0
Linux sets the txqueuelen value at 1000. That's a huge buffer to fill before TCP can begin to detect when there's slowdown on the lines and things like that. It will generally manifest as latency under load, but it might help your game server if it's doing its own buffering.
Reply
Reply
Leave a comment