Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Do Cheap NAT Routers "Fill up"?



[Forgive my earlier version of this e-mail, it was confusing. I hope 
this one is better.]


A little Python is a dangerous thing...

I was running a script that does a lot of http GETs to a remote machine 
with a fast network connection (linode), and after awhile it slows down, 
and I notice other things on my computer also slow down, things like a 
DNS lookup of google.com.

I wrote an even simpler Python script that does a single packet ping of 
8.8.8.8 and then does a dig of a list of well known names (things like 
google.com, yahoo.com, ...) and I ran it in a loop: it runs fast at 
first but then slows down, with some really long pauses. Pauses of 
predictable favorite lengths.

This is over DSL. So I plugged in my phone and did a tether through it, 
and the simpler script behaves similarly: fast at first then pauses. I 
tried running the simpler script on a Linux on a different DSL network 
across the country and it worked better there, but still seemed to 
deteriorate.

Then I tried running the simpler script on my linode machine and it ran 
fine there.

The difference is the NAT? In each case where I am behind a NAT it 
starts fast and then slows down. On the one case where I had no NAT it 
ran fast. Do cheap NAT boxes not know how long to keep their translation 
records, and get plugged up?

Thanks,

-kb

_______________________________________________
Discuss mailing list
Discuss at blu.org
http://lists.blu.org/mailman/listinfo/discuss



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org