What can I do for my Linux server to minimize latency as much as possible? Are there any config params?
If your application correctly acquires a socket/tcp connection/udp endpoint, I don't see what problems you are trying to search for in the OS instead of the very application.
Java is memory managed language, a great deal for active documents in http protocol etc., but instead of adviceing you to code in c++ the server application, you can still do following:
-Make your server application allocate new objects as least as possible, to not have memory being freed, fragmented, moved, too often since you are using a memory managed language.
(you can design a server to allocate/free memory only for a per-client income/outcome, this would help latency, since I gess, your game protocol has more constantial clients, if you have maximum amount of clients known, preallocate them)
- What about your clients serving logic? How do you read their data? how do you serve them data back?
- How do you measure respond latency?