September 22nd, 2003, 02:29 PM
OS: Win2K Pro SP4
Intel 1.8 Ghz
512 MB Ram
3Com Network Card
Simple Hub in between server and client
I'm a little bit confused with the performance of my Socket Server/Client apps.
I have implemented two versions of the server - one blocking and the other one using Completion Ports and they both are relatively the same.
The client itself just uses select(). Nothing fancy.
I've been looking at thoughput numbers for my server and they are somewhat of a downer. On Win2K pro, my server app is pushing out roughly 7.2KB's per second to the client. Which doesn't seem right to me.
Anyone have any performance numbers of their own?
September 22nd, 2003, 06:11 PM
Can you post code that compiles but has all but the minimum removed (and still has the behavior)? I have never had problems with sockets on my network, I suspect that you may have some sort of logic problem.
September 22nd, 2003, 11:29 PM
first thing i would do is check tcpdump and see how big the packets are and how often the window size hits 0. that will tell you what to fix in the app.