Gargoyle Performance
Moderator: Moderators
Re: Gargoyle Performance
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.
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.
Paul
Gargoyle 1.11.x on TP-Link Archer C7 V2 H/W
Gargoyle 1.11.x on TP-Link Archer C7 V2 H/W
Re: Gargoyle Performance
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
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
-
- Posts: 85
- Joined: Thu Dec 29, 2011 2:17 pm
Re: Gargoyle Performance
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
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
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.
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.
Last edited by Germoney on Sat Apr 07, 2012 9:39 pm, edited 4 times in total.
Re: Gargoyle Performance
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?
Is there any OpenWRT performance reports?
Paul
Gargoyle 1.11.x on TP-Link Archer C7 V2 H/W
Gargoyle 1.11.x on TP-Link Archer C7 V2 H/W
Re: Gargoyle Performance
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.
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
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.
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
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.
WRT54GL v1.1
Gargoyle 1.4.7
Gargoyle 1.4.7
Re: Gargoyle Performance
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
- DoesItMatter
- Moderator
- Posts: 1373
- Joined: Thu May 21, 2009 3:56 pm
Re: Gargoyle Performance
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.
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.


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