Originally posted by droidhacker
View Post
That thing has a 400MHz Atheros AR7240 CPU, only 32MB of RAM, and Gate One is actually very usable. That device doesn't even have an FPU!
Not only that but I (just now) had four terminals open on that device doing various things (top, tail on logread, etc) and they were all very responsive. Did I mention that this tiny little router is located in Australia (I'm in the US)? Haha. The average ping time for me hovers around 400ms.
Of course, while I was doing all that Gate One was using up about 80% of the device's RAM but what else does it need that RAM for? Certainly not routing tables and firewall rules! Haha.
Interesting fact: After the last session expires Gate One will restart itself into a low memory/resource state that turns off nearly all it's periodic callbacks (background stuff to check various files for changes, mostly). Zero CPU utilization as well. For example, on that TP-LINK device the gateone.py process's memory utilization drops from about 80% to 50% when the last session times out (which I've configured to occur five minutes after the last user disconnects).
Another thing to think about: I haven't tested this in a while but when you run Gate One under pypy (a JIT-compiling, self-optimizing Python interpreter) it runs even faster. Twice as fast last time I tried it.
Leave a comment: