Page 3 of 4
Re: Gargoyle Performance
Posted: Thu Mar 15, 2012 7:21 pm
by pmerrill
I've been down this path before on other projects. Recompiling the OpenWRT code and the Gargoyle code with the right compiler setting can provide a boost of say 10% in general. Occationally more if there is some tight loop that really get's optimised well by the code generator. It really depends upon who did the optimisations. At that point you need to look at individual CPU instructions and count cycles for each to ensure the code is as tight as possible.
I've also seen a recompile cause problems because it impacts the timing of the code and can uncover hidden timing problems that were not present when slower code was generated. If the code generator is really poor for the chipset, I've also seen it break software that worked, so you could end up with a bricked router.
Re: Gargoyle Performance
Posted: Sun Mar 25, 2012 2:48 pm
by cotarelo
I have also performance problems. I have configured the Gargoyle in Client+AP.
If I connect to my Router directly with the wireless I have a BW of 2.5 MB/sec but if I hook to the Wlan that Gargoyle creates I have a BW of 0.6 MB/sec.
I have a Fonera 2100
Cheers
Re: Gargoyle Performance
Posted: Tue Mar 27, 2012 1:54 pm
by jorgemiguel4
I'm compiling right now with -mtune=24kc option. But I can't say if it improves the performance or not.. cause my connection speed is only 4096/512.
edit: great
Runs well but gargoyle interface is gone

------------------------------------------------------------------
Recompiling with Gargoyle options enabled.
Benchmark with stock Gargoyle:
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 2048 bytes
aes-128 cbc 4409.06k 4780.95k 4864.60k 4855.95k 4849.66k
aes-192 cbc 3846.65k 4130.97k 4199.42k 4215.81k 4220.93k
aes-256 cbc 3439.33k 3652.73k 3729.81k 3731.80k 3736.23k
Benchmark with stock Gargoyle + 24kc flag:
[[Waiting]]
----------------------------------------------------------------------------------------
If you wanna do this test it's simple:
# opkg update && opkg install openssl-util
# openssl speed aes
Re: Gargoyle Performance
Posted: Thu Apr 05, 2012 2:59 pm
by Germoney
Same "Problem" as the Threadstarter.
With Gargoyle @ different Speedtest around 85mbit/s Download
Some Screenshots:
Top:
Ifconfig:
Speedtests with Stockfirmware:
Last but not least:
Modem Status
If i can help out with testing something, please let me know.
Re: Gargoyle Performance
Posted: Thu Apr 05, 2012 6:02 pm
by pmerrill
Technically, it's probably not so much a Gargoyle performance issue but an OpenWRT performance issue. Perhaps asking the question in the OpenWRT forum may produce an answer. The logs that Gargoyle captures do impact performance but I don't think there is any way I would turn them off as they are so great.
Is there any OpenWRT performance reports?
Re: Gargoyle Performance
Posted: Thu Apr 05, 2012 7:08 pm
by Germoney
Hello pmerrill,
Thanks for your answer. That's what i thought. Because i have the same issue with dd-wrt. Will register @ openwrt forums now and ask that question.
Re: Gargoyle Performance
Posted: Thu Apr 05, 2012 7:40 pm
by Germoney
Hello pmerrill,
Thanks for your answer. That's what i thought. Because i have the same issue with dd-wrt. Will register @ openwrt forums now and ask that question.
Re: Gargoyle Performance
Posted: Thu Apr 05, 2012 8:15 pm
by mix
More like a linux issue. As in, your router is running a full OS which does many more things (whether you like that or not) than whatever limited OS the stock firmware is running. Although, the fix could be as simple as clearing out the iptables rules and making a few simple ones.
Re: Gargoyle Performance
Posted: Thu Apr 05, 2012 9:42 pm
by Germoney
Something like:
Code: Select all
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
Re: Gargoyle Performance
Posted: Fri Apr 06, 2012 10:54 am
by DoesItMatter
Hmm... can't believe I haven't seen this post.
Your home router is too slow for 100mbit line.
Think of your cable provider as feeding you data through
a fire hose - lots and lots of data.
When you put a cheap TP-Link WR1043ND on the end of it,
it's like putting a home store bought water hose on the end of
the fire hose and expecting the same amount of data flow.
I've done testing with pbix with a
WRT54G-TM router running Gargoyle on a 10mbit down / 1mbit up
internet connection. I had up to 1500 connections going
simultaneously with 6-8 Linux iso distros torrent-ing at the same time
This completely crushed the WRT54G and brought it to a crawl.
I came nowhere close to using all the available up/down bandwidth
The processor of the router just could not keep up.
Maybe one of the brand newest WNDR3700's or some of the
high-end Linksys routers will work, but for full speed, and if you
want to use Gargoyle, you'll need to look at one of those
Alix boards or maybe an X86 image (use an old PC)
Home routers were never designed for 100mbit lines, but the
very newest ones with the 600+mhz processors are getting there.
Manufacturers deliver based on general specs - they are only
going to put out what they think the consumer needs.
We will definitely see more choices in the future as bandwidth
limits increase for home consumers, but right now, the choices
are very slim.