Gargoyle Performance

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

pmerrill
Posts: 290
Joined: Wed Feb 15, 2012 8:23 pm

Re: Gargoyle Performance

Post by pmerrill »

pbix wrote:There is no database of performance metrics for different routers so in reality no one can say of what you have observed is typical or not.
There is something on small net builder (not with gargoyle) but it gives you a good idea of hardware performance. Check out

http://www.smallnetbuilder.com/lanwan/r ... otal-simul
Paul
Gargoyle 1.11.x on TP-Link Archer C7 V2 H/W

mix
Posts: 292
Joined: Sun Feb 27, 2011 11:18 am

Re: Gargoyle Performance

Post by mix »

See the issue with QoS is that it itself may be artificially lowering your throughput for the sake of latency in addition to it being cpu intensive. What I am most curious in is flat out fastest throughput possible. Do you get the full 100 Mbps now with QoS disabled and by disabling the bandwidth monitoring like nicram explained?
WRT54GL v1.1
Gargoyle 1.4.7

pmerrill
Posts: 290
Joined: Wed Feb 15, 2012 8:23 pm

Re: Gargoyle Performance

Post by pmerrill »

QoS does have a performance hit. If I turn it off, I get 81 Mbits/sec as per image..., with it on it's about 55 Mbits/sec.

http://www.speedtest.net/result/1786583163.png

If I connect directly to the cable modem via wired connection, I get 99 Mbits/sec for the same test (www.speedtest.net).

So the firmware, without QoS and the monitoring, is more inefficient than the stock firmware. The stock without QoS did better. However, QoS works better using Gargoyle, as does Wireless N.
Paul
Gargoyle 1.11.x on TP-Link Archer C7 V2 H/W

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: Gargoyle Performance

Post by pbix »

Can you confirm that you had both upload and download QoS enabled when you did this test? Can you confirm that you had only the default QoS rules and classes?

It would be nice to compile a little list of these types of figures for different routers that Gargoyle runs on.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

ERIC8585
Posts: 25
Joined: Thu Mar 01, 2012 7:34 pm

Re: Gargoyle Performance

Post by ERIC8585 »

I posted about a similar problem on my connection with the 1043nd. The downstream speed was definately being constrained by the TP-link processor. With QoS disabled I got my max downstream speed of 61Mbps. I have a Netgear WNDR3700 on order which should solve the problem. I'll post my results once I receive it.

http://www.gargoyle-router.com/phpbb/vi ... =12&t=2465

pmerrill
Posts: 290
Joined: Wed Feb 15, 2012 8:23 pm

Re: Gargoyle Performance

Post by pmerrill »

Yup, QoS up down was enabled. I have two additional QoS rules based on IP, as I only want to prioritize voip packets from two devices on my network.

I believe the CPU on the 1043nd is underpowered, the max throughput lan/lan is about 120 Mbits/sec, so going to the wan with routing and QoS certainly decreases the performance.

It's sort of expected, here in Oz 1043nd can be had for $62, so it's a pretty cheap router.

It is strange though that top from SSH did not indicate anything???

About the only think that I can think of to improve gargoyle would be to look at the lowest level code and see if any optimisations could be made. Normally, when faced with similar problems in the past (interrupt routines were generally the first place to start), I would drop into #inline and code the IR in assembler. C usually pushes the whole register stack when in enters a routine and pops it off at the end, taking lots of time. If you only need a couple of registers, then pushing and poping only those saves heaps, especially if the IR only does a few things.
Paul
Gargoyle 1.11.x on TP-Link Archer C7 V2 H/W

pmerrill
Posts: 290
Joined: Wed Feb 15, 2012 8:23 pm

Re: Gargoyle Performance

Post by pmerrill »

Just a followup, was doing a big download and ran top from SSH. Looked a little more closely and 80% of the cpu is in nic and 20% in irq. So the 1043nd is flat chat handling the traffic. The only way to improve this is optimise the code further. Assembler perhaps.

Mem: 28164K used, 1328K free, 0K shrd, 3400K buff, 8408K cached
CPU: 0% usr 0% sys 0% nic 80% idle 0% io 0% irq 18% sirq
Paul
Gargoyle 1.11.x on TP-Link Archer C7 V2 H/W

ERIC8585
Posts: 25
Joined: Thu Mar 01, 2012 7:34 pm

Re: Gargoyle Performance

Post by ERIC8585 »

I don't have any problems achieving gigabit speeds on the LAN ports.

mix
Posts: 292
Joined: Sun Feb 27, 2011 11:18 am

Re: Gargoyle Performance

Post by mix »

You are reading the output of top incorrectly-which says just about all I need to know about this I suppose.
WRT54GL v1.1
Gargoyle 1.4.7

pmerrill
Posts: 290
Joined: Wed Feb 15, 2012 8:23 pm

Re: Gargoyle Performance

Post by pmerrill »

mix wrote:You are reading the output of top incorrectly-which says just about all I need to know about this I suppose.
Yes, just realised, 80% idle, 18% irq, which means the CPU is idle most of the time.

Still, there is something holding back the router as direct to the cable modem is 99 Mbits and max without QoS turned on is 81 ish. This performance is also similar to other reports regarding the router on Openwrt.
Paul
Gargoyle 1.11.x on TP-Link Archer C7 V2 H/W

Post Reply