In DD-WRT, you can change the Max # of ports from 1 - 4096 and you can also change the timeouts for TCP and UDP ports as well.
Is there any ability to do this with Gargoyle?
Reason I ask is this:
People keep complaining about how torrents affect the router and performance. I don't do much torrents at all, so for a test, I downloaded 6 DVD ISO's of some Linux distros. They ranged from 3.5 GB to 4.5 GB in size. Once I had all 6 downloaded, I set each one to max upload speed of 32kb/s and unlimited connections.
I'm running Gargoyle on my Fon 2201+, which is 8MB Flash, 16MB Ram and currently running @ 200MHZ cpu. The internet connection to the Fon 2201+ is 8 MB/s download, 768 kb/s upload.
I had no downloads going when testing, only had the 6 torrents active at once, @ 32 kb/s upload max, which is a max of 192 kb/s upload bandwidth. Highest count I saw total was about 200 active connections.
While that was going, browsing the internet, Google, Gargoyle forums, etc, was VERY slow. Turns out all those connections severly tax the CPU of the router.
Is there a way to change max # of ports and timeouts?
When I disabled 2 of the torrents and only ran 4 torrents, Internet speeded up quite a bit.
Max # of Ports / Port timeouts
Moderator: Moderators
- DoesItMatter
- Moderator
- Posts: 1373
- Joined: Thu May 21, 2009 3:56 pm
Max # of Ports / Port timeouts
Soylent Green Is People!
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400
Re: Max # of Ports / Port timeouts
Yeah, I should probably add this, though I think you mean max # of connections, not ports (even though DD-WRT calls it that). Shouldn't be too hard.
One question: what version are you running? The newer (last month or so) bleeding edge versions use a lot less CPU than Beta 5.
One question: what version are you running? The newer (last month or so) bleeding edge versions use a lot less CPU than Beta 5.
- DoesItMatter
- Moderator
- Posts: 1373
- Joined: Thu May 21, 2009 3:56 pm
Re: Max # of Ports / Port timeouts
Yea, Ports, Connections, whatever it should be called, I'm easy.
I'm always running the latest bleeding edge Atheros build.
You gotta live life on the edge!
I'm always running the latest bleeding edge Atheros build.
You gotta live life on the edge!
Soylent Green Is People!
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400
Re: Max # of Ports / Port timeouts
This is now implemented, there's a section under "Firewall" called "Connection Limits" which allows you to specify this. Also, I changed the OpenWrt defaults which were max onnections=16384 and tcp timeout=1 hour (3600 seconds), to 4096 and 10 minutes (600 seconds) respectively, which should speed things up a bit.
New bleeding edge firmware uploaded.
New bleeding edge firmware uploaded.