OpenWrt Forum Archive

Topic: Performance Oriented OpenWRT Builds

The content of this topic has been archived between 12 Sep 2015 and 21 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

matrix200 wrote:

alphasparc,  I am thinking about getting this router.
Could you please elaborate on vlan and port mirroring (and switch functionality in general)?
I want to be able to do port mirroring (sometimes), allow certain port to be able to communicate only with another certain port (limit port to port communications) and if possible stats about ports (over snmp or otherwise).
You also mentioned extended luci functionality in your blog.
Does it include support for port mirroring using luci?

Thanks.

I just got around to testing port mirroring today, set source port 3 mirror port 4 then using the PC to ping the router at 192.168.1.1, another PC at port 4 which has no ip address set ran wireshark and received the packets.

Hello man, I downloaded and installed your firmware and it kinda screwed-up my router.

The firmware I used - https://github.com/gwlim/Openwrt_Firmwa … 2014-Image

My router model is TL-1043ND v.1.8

Basically it half-works. As in internet works, but any attempt to access the router via web interface, crashes it. I cannot even change the default password as it time-outs and reboots.

How about Telnet in?
type logread, and dmesg?
Any errors?
Is it a config issue?
Have you tried reseting to defaults?

Same problem as ithanium2, 1043ND v1.8. Very slow and unusable web interface. When I try to wget or scp files into /tmp folder router crashes. I am in a dead end, I can't revert to stock. Tried reset and firstboot. Same.

Managed to sysupgrade your provided "wr1043nd_sysupgrade_back_to_factory.bin" in failsafe mode. Now I get the Tplink web login page but none of the default passwords will work. The standard 5 second button reset does not help. Any ideas?

Edit: Nevermind, my browsers were caching the page.

(Last edited by findele on 26 Jul 2014, 13:21)

Excellent build, actually follow you on your personal website.
Looking to implement tinyproxy to limit what is seen in the house, and I am having difficulties getting it to work.
I did follow these directions here http://www.farville.com/home-networks-a-transparent-proxy-to-monitor-kids/ but so far have not been able to get it to work. Logs are not being created, if I switch settings in Chrome, I am unable to go online, however I can still view the router's openwrt page. Ideas?

NAT Performance Regression has been localised and improved via the Routing Cache patch and it has been backported in my release.

(Last edited by alphasparc on 17 Jan 2015, 14:45)

alphasparc wrote:

NAT Performance Regression has been localised and improved via the Routing Cache patch and it has been backported in my release.

i'm starting to use openwrt and flashed barrier breaker final, but i see that is missing this last critical patch that your version have, can i flash your firmware on top of barrier breaker final and keep my settings?

I don't foresee any issues doing that but always make a backup

alphasparc wrote:

I don't foresee any issues doing that but always make a backup

whats the difference of wdr4300 "IL" version in your github?

That is the Israel version generated by openwrt by default.

(Last edited by alphasparc on 20 Jan 2015, 01:04)

alphasparc wrote:

That is the Israel version generated by openwrt by default.

Thank you! updated and working in less than a minute keeping my original config.
I just have to reinstall transmission and minidlna

diogosena wrote:
alphasparc wrote:

That is the Israel version generated by openwrt by default.

Thank you! updated and working in less than a minute keeping my original config.
I just have to reinstall transmission and minidlna

I suggest you to get Raspberry Pi and load Raspbmc/OSMC on it.
There is really no point in making your router do more when a specialised device can do the job at low cost better.
Been there done that.
A Router shld just focus on network security and routing.

(Last edited by alphasparc on 20 Jan 2015, 02:13)

alphasparc wrote:
diogosena wrote:
alphasparc wrote:

That is the Israel version generated by openwrt by default.

Thank you! updated and working in less than a minute keeping my original config.
I just have to reinstall transmission and minidlna

I suggest you to get Raspberry Pi and load Raspbmc/OSMC on it.
There is really no point in making your router do more when a specialised device can do the job at low cost better.
Been there done that.
A Router shld just focus on network security and routing.

I'll consider that in the future, but for now its for very light usage, two users only, one sporadically torrent or movie, just the router will do, thanks again!

alphasparc wrote:

-Layer7 Filtering

I am relatively new to OpenWrt and the forum as well and have only been using official builds so far. The Layer 7 application layer filtering included in your build has my curiosity. If you have a moment, could you explain a bit more on how you have the L7 filter configured? Is it enabled by default? Just wondering essentially the methods in which you are utilizing it. I am considering switching over to one of these few different community builds soon.

Thank you for your time and for sharing your great work with the community.

WildByDesign wrote:
alphasparc wrote:

-Layer7 Filtering

I am relatively new to OpenWrt and the forum as well and have only been using official builds so far. The Layer 7 application layer filtering included in your build has my curiosity. If you have a moment, could you explain a bit more on how you have the L7 filter configured? Is it enabled by default? Just wondering essentially the methods in which you are utilizing it. I am considering switching over to one of these few different community builds soon.

Thank you for your time and for sharing your great work with the community.

No it is not enabled by default because it drops NAT Throughput and not everyone needs it enabled by default.
You have to go to services to enable freifunk-p2pblock and start it.

Then go to p2pblock to set and enable it

http://i.imgur.com/0s0GQPR.png

(Last edited by alphasparc on 24 Feb 2015, 01:40)

ithanium2 wrote:

Hello man, I downloaded and installed your firmware and it kinda screwed-up my router.

The firmware I used - https://github.com/gwlim/Openwrt_Firmwa … 2014-Image

My router model is TL-1043ND v.1.8

Basically it half-works. As in internet works, but any attempt to access the router via web interface, crashes it. I cannot even change the default password as it time-outs and reboots.

Btw I forgot to mention this issue has been fixed.
It was due to the addition of ZRAM that caused it.
Basically 32MB is not enough memory to add ZRAM (all my units are 64MB so it ran well), it will quickly run out of memory and crash.
I have since removed ZRAM as it is currently quite useless.

(Last edited by alphasparc on 24 Feb 2015, 17:58)

Hey alphasparc did you ever try compiling with MUSL instead of uclibc? From what I've read it should be quite the performance boost. I get it to build but get a kernel crash on bootup with my wdr4900, never bothered to look that much into it as using the serial port is a hassle.

arokh wrote:

Hey alphasparc did you ever try compiling with MUSL instead of uclibc? From what I've read it should be quite the performance boost. I get it to build but get a kernel crash on bootup with my wdr4900, never bothered to look that much into it as using the serial port is a hassle.

Did that before but gave up after a lot of package encountered error on MIPS arch.
Slightly faster, but not fast enough to make me give up the extra packages for MUSL.

(Last edited by alphasparc on 14 Mar 2015, 08:10)

Another thanks for this build, it worked out of the box on my WDR3600.

Love having the SQM scripts and all the patches in there. Performance on my crummy DSL link is the best I can hope for now.

Just a as a data point, my other router is a ZyXel USG50 and it sees 2Mbps less on download and scores a C for Bloat on the DSLReports Speedtest (with Bandwidth control on). The performance of openWRT + SQM is simply amazing, scores an A for bloat now.

Thanks again.

I just released June Binaries and ported almost all the patches to Chaos Calmer in a single day!
All compiled and working nicely except for some CC & BB LuCI design difference which will need a closer look.
I even manage to backport L7 Filter, whatever nbd removed I put back with the old patches and it still works!
Tested with Bittorrent!
Looks like my efforts to maintain patches rather than repository paid off!
I wondered why people are complaining about L7 not working when it works perfectly here.

(Last edited by alphasparc on 25 May 2015, 10:00)

The L7 stuff is extremely broken, try adding a drop for bittorrent in the forward chain for example. It caused crashing almost immediately here. The code hasn't been maintained in years as far as I know, and there's lots of bugs.

arokh wrote:

The L7 stuff is extremely broken, try adding a drop for bittorrent in the forward chain for example. It caused crashing almost immediately here. The code hasn't been maintained in years as far as I know, and there's lots of bugs.

I added L7 in p2p-block, turned on torrent , all my torrents are blocked, works fine without crashing.
Any other way to replicate the issue?
Let me describe what I did. This is using my patched openwrt build L7 patch with some patches fixes on L7 contributed on the bug report.

/etc/init.d/freifunk-p2pblock start
Launch Transmission.
For 5 mins Download Speed = 0
After that /etc/init.d/freifunk-p2pblock stop && /etc/init.d/freifunk-p2pblock disable
Transmission Download starts increasing and reaching my ISP subscribed bandwidth.

I agree that the default L7 patch does not work but it worked after applying some of the patches on the bug report.

(Last edited by alphasparc on 25 May 2015, 14:00)