views:

32

answers:

1

Hi Guys I'm debugging some CS program and to view the performance of the application in slow internet I tried many different ways. However the best would be the Server and the client be in the same PC ---- my debugging environments for both the server side and the client is setup in one PC.

So I'm wondering is there anyway to limit the speed? I'm using TCP but I don't know too much in-depth knowledge of it.

Thank you

+1  A: 

There are two important factors regarding a "slow" internet connection that you need to test out since they have different implications for your application: bandwidth and latency.

If you provide some more details about what os you are running your tests on, it would be easier to recommend a way to limit the network performance.

On a related side note, it's generally a bad idea to performance test any kind of networking using the loopback device on your machine, since many aspects of this will perform very different than the regular network device on your machine.

kasperjj
You have inspired me, it would be pretty cool to write a network delay simulator that would accept IP packets then delay them, say 80ms (the one-way trip time between New Zealand and the USA), before forwarding them on. Could be a great unix-land tool.
PP
Absolutely, ping me when you have a beta :-D
kasperjj
Well I'm using Windows XP. And i'll be very happy to have the BETA too :)
tactoth