Gargoyle 1.15.x BETA - 2024-10-14 - Based on OpenWrt 23.05

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

Post Reply
Lantis
Moderator
Posts: 6921
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Gargoyle 1.15.x BETA - 2024-10-14 - Based on OpenWrt 23.05

Post by Lantis »

Gargoyle 1.15.x is based on OpenWrt 23.05, which is a significant leap forward from 22.03 for 1.14.x.
This is the first "stable beta" (if there is such a thing) which includes all images generated, and a few new targets/profiles.

Configs should generally not be preserved between 1.14 (and earlier) and 1.15.x. Do so at your own risk.

Please provide your feedback (positive or negative).

A big thanks to pythonic (Github: aimacintyre) for their assistance and many contributions towards getting this into a position to make it ready for testing.

"BETA - 2024-10-14" Notable changes since 2024-08-11:
- Added Edgerouter-X-SFP
- Changed GUI logic to allow PPPoE connections to add the "Modem Network"
- Add Beeline Smartbox GIGA
- Removed the third radio driver from the mvebu target (accidentally reincluded)
- Bump to latest OpenWrt 23.05 (after v23.05.5 release)

"BETA - 2024-08-11" Notable changes since 2024-07-02:
- Fixed a console warning when creating a backup
- Fixed console warnings on the update page
- gpkg: Now properly respects the --tmp-dir option
- Fixed some errors on DoH plugin page
- Bandwidth Monitoring
— Created a new separate config file
— Added a GUI option to disable bwmon
— Added a config option to only write bwmon data to RAM
— Separated all bandwidth monitors into separate scripts
— Fixed QoS bwmon sometimes not triggering correctly and showing blank in the GUI
- Added Xiaomi Redmi Router AX6000
- Added table filtering for Web Usage
- Updated to latest OpenWrt 23.05 (past 23.05.4)
- Combined mvebu default and turris profiles to streamline build time

"BETA - 2024-07-02" Notable changes since 2024-05-20:
- Changed "OpenWrt" to "Gargoyle" in GRUB menu (for x86 based profiles)
- Added validation of DHCP Hostnames to prevent users setting bad names which stop dnsmasq from running
- OpenVPN: fix compatibility with newer clients
- Fixed temperature display for WRT1900ACv2
- Fixed a segfault with opkg (caused by gpkg)
- DoH: Fixed our Gargoyle specific version of the package being overwritten by upstream
- gpkg: Added support for package Alternatives (fixes installing certain packages)
- Tor: Prevent IPv6 address leaking when operating in client mode
- Tor: Added support for IPv6 when operating as a relay
- DoH: Silence an error if CuRL is not installed
- Added BananaPiR3
- Fixed Web Usage not showing due to corrupt data
- webmon: Fixed a bug which drastically reduced the amount of hits this module produced

"BETA - 2024-05-20" Notable changes since 2024-03-11:
- Initial fixes for i18n-scripts during build
- ramips: Disabled TP-Link MR200
- Added UPnP IPv6 "Pinholes" to the GUI
- mediatek: New devices Netgear WAX206, WAX220, Asus RT-AX59U
- Enabled ext4 journaling by default for x86 and bcm27xx targets
- Added a GUI entry (on Connection->Advanced) for Packet Steering
- Polish translation updates
- Added VLAN on WAN port support (please ensure you do not preserve your config when updating to this release if you want to make use of this feature)
- Added sysupgrade warnings page which informs the user if any running services or plugins will impact their upgrade experience

"BETA - 2024-03-11" Notable changes:
- Update from OpenWrt 22.03 -> 23.05
- Latest security updates
- ntfs3 has been switched to the in-kernel version
- Target "atheros" (ath25) has been removed. This has been marked as "source-only" upstream
- Switch from OpenSSL to MbedTLS for all default packages. This will save a heap of space on all devices. Some optional plugins still require it which may require external storage to fit
- Spectrum Analyser plugin minimal version has been dropped. The space savings were not worth the additional maintenance effort
- libmatrixssl package has been dropped
- OpenVPN (and EasyRSA) updated to support OpenSSL 3.x
- OpenVPN BF-CBC cipher has been removed (deprecated)
- New package MbedTLS Command Line Utility (mbedtls-clu). This is a brand new package designed to replicate (some of) the features of the OpenSSL Utility (openssl). It is smaller and relies on MbedTLS instead of OpenSSL so again, saves a bunch of space
- OpenVPN EasyRSA modified to work with mbedtls-clu
- Tor plugin dropped by default from all profiles. It is still available as a plugin.
- New DDNS IP Lookup provider ip2location.io
- New GeoIP Lookup provider ip2location.io
- DDNS updated to support a "test domain" where the configured update domain may not match the domain needed to detect the IP correctly (e.g. CloudFlare)
- Show additional information in DDNS GUI to make it easier to see which provider is being used
- Update OpenVPN and Wireguard to support the "test domain" variable from DDNS
- Add support for OpenVPN plugin to advertise additional subnets behind the server (not just the LAN subnet). This can be useful if you have cascaded LANs or want to allow access upstream as well
- New plugin DNS over HTTPS
- Add WAN port speed on the Status Overview page
- Add new subtarget Mediatek Filogic which includes some very popular new devices e.g. GL.iNet Flint 2 (MT6000)
- mvebu devices are back! These were previously disabled due to an upstream issue which has now been resolved

Bugs squashed
- Quotas Others (Individual) not working
- Quotas bandwidth throttling using QoS not working in the upload direction
- Quotas bandwidth throttling not using QoS not working
- DDNS sometimes sending IPv6 updates to IPv4 providers (and vice versa)
- Some devices showing an empty temperature value on Status Overview
- Units (B, KB, MB, GB, TB etc) not selecting properly in some circumstances with language plugins other than English-EN
- Wireguard peer subnet routing not working in both directions
- Polish-PL plugin typo in Wireguard

Things to Note
- The "domain" setting has been switched from the default of ".lan" to ".home.arpa" in line with RFC 8375
- WiFi interfaces are no longer named "wlanX"
- Similarly a guest network is no longer "wlan0-1", it is now "wl0-sta0" and "wl0-ap0" for an Access Point configuration. This won't affect most users, but for anyone poking around be aware of this.
- mbedtls-clu is a brand new utility which has not received wider testing and scrutiny. If you note any issues or differences between it and openssl, please raise an issue

New Devices
- Xiaomi Mi Router 4c
- DLink DIR-859-A3
- DLink DIR-869-A1
- TPLink WR841HP-v2/v3
- TPLink WR941HP-v1
- AVM Fritzbox 7520
- GL.iNet A1300
- Netgear SRR60
- Netgear SRS60
- Teltonika RUTX50
- Asrock G10
- Acer Predator W6 (Note: No 6GHz support in GUI)
- ASUS TUF AX4200
- ASUS TUF AX6000
- Cudy WR-3000-v1
- GL.iNet MT3000
- GL.iNet MT6000
- Netgear WAX220
- ASUS RT-AC57U-v1
- ASUS RT-AX54
- DLink DIR-3060-A1
- DLink DIR-853-A1
- Linksys e7350
- Linksys RE7000
- Netgear EX6150
- TPLink ER605-v2
- Zyxel WSM20
- Several others I've forgotten to mention :)

Known Issues
- If you have installed and enabled DNS over HTTPS plugin and then sysupgrade to an image without it (e.g. any image that you haven’t self compiled) you will have no DNS resolution until you manually fix your /etc/config/dhcp file

Note: OpenWrt 22.03 moved to nftables from iptables. Gargoyle still uses iptables to support the custom modules it needs, and so there is some package incompatibility with the base openwrt package repository. For normal operation this should not cause a problem. For anyone trying to install extra packages manually, your mileage may vary!

Downloads
Please find the downloads here
The plugin repositories are also found in the same location.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

User avatar
oliver44
Posts: 75
Joined: Tue Mar 20, 2018 1:29 am
Location: Romanaia

Re: Gargoyle 1.15.x BETA - 2024-03-11 - Based on OpenWrt 23.05

Post by oliver44 »

Hello all,

I installed gargoyle on GL-MT6000, INTERNET 1Gbps, in the speed test on the wire it does not exceed 500Mbps Download and Uploud 890Mbps, Connect Via:PPPOE ipv6 dual stack, that's all Gargoyle is capable of, there are some incompatibilities?
Disable Bandwidth Monitor, I reach up to 890/908 Mbps download and 880/923 upload

/etc/init.d/bwmon_gargoyle stop
/etc/init.d/bwmon_gargoyle disable
wdr3600 rev1.4 OpenWrt
wrt1900ACS v.2 OpenWrt/DD-WRT
GL-MT6000 OpenWrt/Gargoyle

ispyisail
Moderator
Posts: 5194
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Gargoyle 1.15.x BETA - 2024-03-11 - Based on OpenWrt 23.05

Post by ispyisail »

Thanks

I need to find some time to try this out

pythonic
Posts: 248
Joined: Mon Mar 11, 2019 5:47 am
Location: Australia

Re: Gargoyle 1.15.x BETA - 2024-03-11 - Based on OpenWrt 23.05

Post by pythonic »

oliver44 wrote:
Mon Mar 11, 2024 1:28 pm
500Mbps Download and Uploud 890Mbps, Connect Via:PPPOE ipv6 dual stack, that's all Gargoyle is capable of, there are some incompatibilities?
Disable Bandwidth Monitor, I reach up to 890/908 Mbps download and 880/923 upload
Disabling the bandwidth monitor improving performance suggests you are CPU limited - probably all interrupts are being serviced by 1 CPU and your problems are compounded by needing to use PPPoE (which uses non-trivial amounts of CPU at your WAN speeds). Yes this device has multiple cores (4 IIRC) but the Linux kernel doesn't automatically distribute all kernel work equally across all available CPUs :(

Are you using Gargoyle's QoS at all?

To investigate further, you will need to use tools like top (or better htop which I think might need to be installed from an OpenWrt 23.05 package) via ssh to see what is happening with CPU consumption. You also will likely need to use something like

Code: Select all

cat /proc/interrupts
before and after a speed test and calculate the difference between them to see where the heavy interrupt load is going.

User avatar
oliver44
Posts: 75
Joined: Tue Mar 20, 2018 1:29 am
Location: Romanaia

Re: Gargoyle 1.15.x BETA - 2024-03-11 - Based on OpenWrt 23.05

Post by oliver44 »

Are you using Gargoyle's QoS at all? No!

https://ibb.co/C8Fyhh6
https://ibb.co/jTZ6ZKS
https://ibb.co/SVC9BBw

Code: Select all

BusyBox v1.36.1 (2024-03-08 13:50:43 UTC) built-in shell (ash)

------------------------------------------------------------------
|            _____                             _                 |
|           |  __ \                           | |                |
|           | |  \/ __ _ _ __ __ _  ___  _   _| | ___            |
|           | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \           |
|           | |_\ \ (_| | | | (_| | (_) | |_| | |  __/           |
|            \____/\__,_|_|  \__, |\___/ \__, |_|\___|           |
|                             __/ |       __/ |                  |
|                            |___/       |___/                   |
|                                                                |
|----------------------------------------------------------------|
| Gargoyle version 1.15.X   | OpenWrt 23.05 branch               |
| Gargoyle revision f263d1c2| OpenWrt commit 2f2ecea             |
| Built March 10, 2024      | Target  mediatek/filogic           |
------------------------------------------------------------------
root@Gargoyle:~# cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
 11:      45764      51594      41385      47324     GICv3  30 Level     arch_timer
 14:          0          0          0          0     GICv3 142 Level     wdt_bark
 25:          0          0          0          0   mt-eint   9 Edge      keys
 62:         41          0          0          0   mt-eint  46 Level     mdio-bus:01
 63:          6          0          0          0   mt-eint  47 Level     mdio-bus:07
 82:          9          0          0          0   mt-eint  66 Level     mt7530
117:          0          0          0          0     GICv3 148 Level     10320000.crypto
118:          0          0          0          0     GICv3 149 Level     10320000.crypto
119:          0          0          0          0     GICv3 150 Level     10320000.crypto
120:          0          0          0          0     GICv3 151 Level     10320000.crypto
121:         21          0          0          0     GICv3 155 Level     ttyS0
122:      38585          0          0          0     GICv3 205 Level     xhci-hcd:usb1
123:      15913          0          0          0     GICv3 175 Level     11230000.mmc
130:     542857          0          0          0     GICv3 229 Level     15100000.ethernet
131:     235475          0          0          0     GICv3 230 Level     15100000.ethernet
133:     327486          0          0          0     GICv3 245 Level     mt7915e
137:          0          0          0          9    mt7530   0 Edge      mt7530-0:00
138:          0          0          0          0    mt7530   1 Edge      mt7530-0:01
139:          0          0          0          0    mt7530   2 Edge      mt7530-0:02
140:          0          0          0          0    mt7530   3 Edge      mt7530-0:03
IPI0:      7494       7307       7438       9177       Rescheduling interrupts
IPI1:     52137     389134     328352     501904       Function call interrupts
IPI2:         0          0          0          0       CPU stop interrupts
IPI3:         0          0          0          0       CPU stop (for crash dump) interrupts
IPI4:         0          0          0          0       Timer broadcast interrupts
IPI5:         0          0          0          0       IRQ work interrupts
IPI6:         0          0          0          0       CPU wake-up interrupts
Err:          0
root@Gargoyle:~# opkg update
Downloading package list for gargoyle_kernel_specific source...
Package list for gargoyle_kernel_specific downloaded successfully.

Downloading package list for openwrt_23.05-SNAPSHOT_routing source...
Package list for openwrt_23.05-SNAPSHOT_routing downloaded successfully.

Downloading package list for gargoyle source...
Package list for gargoyle downloaded successfully.

Downloading package list for openwrt_23.05-SNAPSHOT_base source...
Package list for openwrt_23.05-SNAPSHOT_base downloaded successfully.

Downloading package list for openwrt_23.05-SNAPSHOT_packages source...
Package list for openwrt_23.05-SNAPSHOT_packages downloaded successfully.

Downloading package list for openwrt_23.05-SNAPSHOT_telephony source...
Package list for openwrt_23.05-SNAPSHOT_telephony downloaded successfully.

root@Gargoyle:~# opkg install htop
Preparing to install the following packages, which will require 114722 bytes:
        htop

Preparing to install package htop...
        Downloading...
        Downloaded htop successfully.
        Installing htop...
        Successfully installed htop.
Installation of packages successful.

root@Gargoyle:~# htop
root@Gargoyle:~# cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
 11:      62153      67899      56413      65353     GICv3  30 Level     arch_timer
 14:          0          0          0          0     GICv3 142 Level     wdt_bark
 25:          0          0          0          0   mt-eint   9 Edge      keys
 62:         41          0          0          0   mt-eint  46 Level     mdio-bus:01
 63:          6          0          0          0   mt-eint  47 Level     mdio-bus:07
 82:          9          0          0          0   mt-eint  66 Level     mt7530
117:          0          0          0          0     GICv3 148 Level     10320000.crypto
118:          0          0          0          0     GICv3 149 Level     10320000.crypto
119:          0          0          0          0     GICv3 150 Level     10320000.crypto
120:          0          0          0          0     GICv3 151 Level     10320000.crypto
121:         21          0          0          0     GICv3 155 Level     ttyS0
122:      39437          0          0          0     GICv3 205 Level     xhci-hcd:usb1
123:      16064          0          0          0     GICv3 175 Level     11230000.mmc
130:     853954          0          0          0     GICv3 229 Level     15100000.ethernet
131:     276742          0          0          0     GICv3 230 Level     15100000.ethernet
133:     456181          0          0          0     GICv3 245 Level     mt7915e
137:          0          0          0          9    mt7530   0 Edge      mt7530-0:00
138:          0          0          0          0    mt7530   1 Edge      mt7530-0:01
139:          0          0          0          0    mt7530   2 Edge      mt7530-0:02
140:          0          0          0          0    mt7530   3 Edge      mt7530-0:03
IPI0:      7559       7370       7478      10112       Rescheduling interrupts
IPI1:     70320     551179     462913     684112       Function call interrupts
IPI2:         0          0          0          0       CPU stop interrupts
IPI3:         0          0          0          0       CPU stop (for crash dump) interrupts
IPI4:         0          0          0          0       Timer broadcast interrupts
IPI5:         0          0          0          0       IRQ work interrupts
IPI6:         0          0          0          0       CPU wake-up interrupts
Err:          0
root@Gargoyle:~# cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
 11:      64266      69534      57930      67095     GICv3  30 Level     arch_timer
 14:          0          0          0          0     GICv3 142 Level     wdt_bark
 25:          0          0          0          0   mt-eint   9 Edge      keys
 62:         41          0          0          0   mt-eint  46 Level     mdio-bus:01
 63:          6          0          0          0   mt-eint  47 Level     mdio-bus:07
 82:          9          0          0          0   mt-eint  66 Level     mt7530
117:          0          0          0          0     GICv3 148 Level     10320000.crypto
118:          0          0          0          0     GICv3 149 Level     10320000.crypto
119:          0          0          0          0     GICv3 150 Level     10320000.crypto
120:          0          0          0          0     GICv3 151 Level     10320000.crypto
121:         21          0          0          0     GICv3 155 Level     ttyS0
122:      39517          0          0          0     GICv3 205 Level     xhci-hcd:usb1
123:      16064          0          0          0     GICv3 175 Level     11230000.mmc
130:     989732          0          0          0     GICv3 229 Level     15100000.ethernet
131:     283832          0          0          0     GICv3 230 Level     15100000.ethernet
133:     468793          0          0          0     GICv3 245 Level     mt7915e
137:          0          0          0          9    mt7530   0 Edge      mt7530-0:00
138:          0          0          0          0    mt7530   1 Edge      mt7530-0:01
139:          0          0          0          0    mt7530   2 Edge      mt7530-0:02
140:          0          0          0          0    mt7530   3 Edge      mt7530-0:03
IPI0:      7565       7372       7481      10162       Rescheduling interrupts
IPI1:     71898     585871     503837     738448       Function call interrupts
IPI2:         0          0          0          0       CPU stop interrupts
IPI3:         0          0          0          0       CPU stop (for crash dump) interrupts
IPI4:         0          0          0          0       Timer broadcast interrupts
IPI5:         0          0          0          0       IRQ work interrupts
IPI6:         0          0          0          0       CPU wake-up interrupts
Err:          0
root@Gargoyle:~# cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
 11:      64417      69733      58287      67308     GICv3  30 Level     arch_timer
 14:          0          0          0          0     GICv3 142 Level     wdt_bark
 25:          0          0          0          0   mt-eint   9 Edge      keys
 62:         41          0          0          0   mt-eint  46 Level     mdio-bus:01
 63:          6          0          0          0   mt-eint  47 Level     mdio-bus:07
 82:          9          0          0          0   mt-eint  66 Level     mt7530
117:          0          0          0          0     GICv3 148 Level     10320000.crypto
118:          0          0          0          0     GICv3 149 Level     10320000.crypto
119:          0          0          0          0     GICv3 150 Level     10320000.crypto
120:          0          0          0          0     GICv3 151 Level     10320000.crypto
121:         21          0          0          0     GICv3 155 Level     ttyS0
122:      39523          0          0          0     GICv3 205 Level     xhci-hcd:usb1
123:      16064          0          0          0     GICv3 175 Level     11230000.mmc
130:    1005227          0          0          0     GICv3 229 Level     15100000.ethernet
131:     283878          0          0          0     GICv3 230 Level     15100000.ethernet
133:     469791          0          0          0     GICv3 245 Level     mt7915e
137:          0          0          0          9    mt7530   0 Edge      mt7530-0:00
138:          0          0          0          0    mt7530   1 Edge      mt7530-0:01
139:          0          0          0          0    mt7530   2 Edge      mt7530-0:02
140:          0          0          0          0    mt7530   3 Edge      mt7530-0:03
IPI0:      7565       7374       7485      10172       Rescheduling interrupts
IPI1:     72416     592289     507387     744097       Function call interrupts
IPI2:         0          0          0          0       CPU stop interrupts
IPI3:         0          0          0          0       CPU stop (for crash dump) interrupts
IPI4:         0          0          0          0       Timer broadcast interrupts
IPI5:         0          0          0          0       IRQ work interrupts
IPI6:         0          0          0          0       CPU wake-up interrupts
Err:          0
root@Gargoyle:~# cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
 11:      64496      70007      58361      67402     GICv3  30 Level     arch_timer
 14:          0          0          0          0     GICv3 142 Level     wdt_bark
 25:          0          0          0          0   mt-eint   9 Edge      keys
 62:         41          0          0          0   mt-eint  46 Level     mdio-bus:01
 63:          6          0          0          0   mt-eint  47 Level     mdio-bus:07
 82:          9          0          0          0   mt-eint  66 Level     mt7530
117:          0          0          0          0     GICv3 148 Level     10320000.crypto
118:          0          0          0          0     GICv3 149 Level     10320000.crypto
119:          0          0          0          0     GICv3 150 Level     10320000.crypto
120:          0          0          0          0     GICv3 151 Level     10320000.crypto
121:         21          0          0          0     GICv3 155 Level     ttyS0
122:      39525          0          0          0     GICv3 205 Level     xhci-hcd:usb1
123:      16064          0          0          0     GICv3 175 Level     11230000.mmc
130:    1015300          0          0          0     GICv3 229 Level     15100000.ethernet
131:     283885          0          0          0     GICv3 230 Level     15100000.ethernet
133:     470100          0          0          0     GICv3 245 Level     mt7915e
137:          0          0          0          9    mt7530   0 Edge      mt7530-0:00
138:          0          0          0          0    mt7530   1 Edge      mt7530-0:01
139:          0          0          0          0    mt7530   2 Edge      mt7530-0:02
140:          0          0          0          0    mt7530   3 Edge      mt7530-0:03
IPI0:      7566       7375       7486      10172       Rescheduling interrupts
IPI1:     72741     592289     510439     749489       Function call interrupts
IPI2:         0          0          0          0       CPU stop interrupts
IPI3:         0          0          0          0       CPU stop (for crash dump) interrupts
IPI4:         0          0          0          0       Timer broadcast interrupts
IPI5:         0          0          0          0       IRQ work interrupts
IPI6:         0          0          0          0       CPU wake-up interrupts
Err:          0
root@Gargoyle:~# cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
 11:      64738      70217      58422      67516     GICv3  30 Level     arch_timer
 14:          0          0          0          0     GICv3 142 Level     wdt_bark
 25:          0          0          0          0   mt-eint   9 Edge      keys
 62:         41          0          0          0   mt-eint  46 Level     mdio-bus:01
 63:          6          0          0          0   mt-eint  47 Level     mdio-bus:07
 82:          9          0          0          0   mt-eint  66 Level     mt7530
117:          0          0          0          0     GICv3 148 Level     10320000.crypto
118:          0          0          0          0     GICv3 149 Level     10320000.crypto
119:          0          0          0          0     GICv3 150 Level     10320000.crypto
120:          0          0          0          0     GICv3 151 Level     10320000.crypto
121:         21          0          0          0     GICv3 155 Level     ttyS0
122:      39529          0          0          0     GICv3 205 Level     xhci-hcd:usb1
123:      16064          0          0          0     GICv3 175 Level     11230000.mmc
130:    1028402          0          0          0     GICv3 229 Level     15100000.ethernet
131:     283885          0          0          0     GICv3 230 Level     15100000.ethernet
133:     470890          0          0          0     GICv3 245 Level     mt7915e
137:          0          0          0          9    mt7530   0 Edge      mt7530-0:00
138:          0          0          0          0    mt7530   1 Edge      mt7530-0:01
139:          0          0          0          0    mt7530   2 Edge      mt7530-0:02
140:          0          0          0          0    mt7530   3 Edge      mt7530-0:03
IPI0:      7569       7377       7486      10198       Rescheduling interrupts
IPI1:     72962     593005     517023     757107       Function call interrupts
IPI2:         0          0          0          0       CPU stop interrupts
IPI3:         0          0          0          0       CPU stop (for crash dump) interrupts
IPI4:         0          0          0          0       Timer broadcast interrupts
IPI5:         0          0          0          0       IRQ work interrupts
IPI6:         0          0          0          0       CPU wake-up interrupts
Err:          0
root@Gargoyle:~#

wdr3600 rev1.4 OpenWrt
wrt1900ACS v.2 OpenWrt/DD-WRT
GL-MT6000 OpenWrt/Gargoyle

User avatar
oliver44
Posts: 75
Joined: Tue Mar 20, 2018 1:29 am
Location: Romanaia

Re: Gargoyle 1.15.x BETA - 2024-03-11 - Based on OpenWrt 23.05

Post by oliver44 »

Code: Select all

root@Gargoyle:~# service irqbalance
Syntax: /etc/init.d/irqbalance [command]

Available commands:
        start           Start the service
        stop            Stop the service
        restart         Restart the service
        reload          Reload configuration files (or restart if service does not implement reload)
        enable          Enable service autostart
        disable         Disable service autostart
        enabled         Check if service is started on boot
        running         Check if service is running
        status          Service status
        trace           Start with syscall trace
        info            Dump procd service info

root@Gargoyle:~# /etc/init.d/irqbalance start
root@Gargoyle:~# service irqbalance
Syntax: /etc/init.d/irqbalance [command]

Available commands:
        start           Start the service
        stop            Stop the service
        restart         Restart the service
        reload          Reload configuration files (or restart if service does not implement reload)
        enable          Enable service autostart
        disable         Disable service autostart
        enabled         Check if service is started on boot
        running         Check if service is running
        status          Service status
        trace           Start with syscall trace
        info            Dump procd service info

root@Gargoyle:~# service irqbalance
Syntax: /etc/init.d/irqbalance [command]

Available commands:
        start           Start the service
        stop            Stop the service
        restart         Restart the service
        reload          Reload configuration files (or restart if service does not implement reload)
        enable          Enable service autostart
        disable         Disable service autostart
        enabled         Check if service is started on boot
        running         Check if service is running
        status          Service status
        trace           Start with syscall trace
        info            Dump procd service info

root@Gargoyle:~# service irqbalance info
{
        "irqbalance": {
                "instances": {
                        "irqbalance": {
                                "running": true,
                                "pid": 4944,
                                "command": [
                                        "/usr/sbin/irqbalance",
                                        "-f",
                                        "-c",
                                        "2",
                                        "-t",
                                        "10",
                                        ""
                                ],
                                "term_timeout": 5,
                                "respawn": {
                                        "threshold": 3600,
                                        "timeout": 5,
                                        "retry": 5
                                }
                        }
                },
                "triggers": [
                        [
                                "config.change",
                                [
                                        "if",
                                        [
                                                "eq",
                                                "package",
                                                "irqbalance"
                                        ],
                                        [
                                                "run_script",
                                                "/etc/init.d/irqbalance",
                                                "reload"
                                        ]
                                ],
                                1000
                        ]
                ]
        }
}
root@Gargoyle:~# service irqbalance status
running
root@Gargoyle:~#

Code: Select all

Using username "root".
Authenticating with public key "rsa-key-20230402"


BusyBox v1.36.1 (2024-03-08 13:50:43 UTC) built-in shell (ash)

------------------------------------------------------------------
|            _____                             _                 |
|           |  __ \                           | |                |
|           | |  \/ __ _ _ __ __ _  ___  _   _| | ___            |
|           | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \           |
|           | |_\ \ (_| | | | (_| | (_) | |_| | |  __/           |
|            \____/\__,_|_|  \__, |\___/ \__, |_|\___|           |
|                             __/ |       __/ |                  |
|                            |___/       |___/                   |
|                                                                |
|----------------------------------------------------------------|
| Gargoyle version 1.15.X   | OpenWrt 23.05 branch               |
| Gargoyle revision f263d1c2| OpenWrt commit 2f2ecea             |
| Built March 10, 2024      | Target  mediatek/filogic           |
------------------------------------------------------------------
root@Gargoyle:~#  cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
 11:      23642      26258      23914      20232     GICv3  30 Level     arch_ti                                                                         mer
 14:          0          0          0          0     GICv3 142 Level     wdt_bar                                                                         k
 25:          0          0          0          0   mt-eint   9 Edge      keys
 62:         13          0          0          0   mt-eint  46 Level     mdio-bu                                                                         s:01
 63:          2          0          0          0   mt-eint  47 Level     mdio-bu                                                                         s:07
 82:          3          0          0          0   mt-eint  66 Level     mt7530
117:          0          0          0          0     GICv3 148 Level     1032000                                                                         0.crypto
118:          0          0          0          0     GICv3 149 Level     1032000                                                                         0.crypto
119:          0          0          0          0     GICv3 150 Level     1032000                                                                         0.crypto
120:          0          0          0          0     GICv3 151 Level     1032000                                                                         0.crypto
121:         21          0          0          0     GICv3 155 Level     ttyS0
122:      37678          0          0          0     GICv3 205 Level     xhci-hc                                                                         d:usb1
123:      21170          0          0          0     GICv3 175 Level     1123000                                                                         0.mmc
130:        349    1240700          0          0     GICv3 229 Level     1510000                                                                         0.ethernet
131:        428          0          0     247218     GICv3 230 Level     1510000                                                                         0.ethernet
133:     121524          0          0          0     GICv3 245 Level     mt7915e
137:          0          0          0          3    mt7530   0 Edge      mt7530-                                                                         0:00
138:          0          0          0          0    mt7530   1 Edge      mt7530-                                                                         0:01
139:          0          0          0          0    mt7530   2 Edge      mt7530-                                                                         0:02
140:          0          0          0          0    mt7530   3 Edge      mt7530-                                                                         0:03
IPI0:      3067       3500       3454       2999       Rescheduling interrupts
IPI1:    283858     134574     477064     304557       Function call interrupts
IPI2:         0          0          0          0       CPU stop interrupts
IPI3:         0          0          0          0       CPU stop (for crash dump)                                                                          interrupts
IPI4:         0          0          0          0       Timer broadcast interrupt                                                                         s
IPI5:         0          0          0          0       IRQ work interrupts
IPI6:         0          0          0          0       CPU wake-up interrupts
Err:          0
root@Gargoyle:~#  cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
 11:      24774      28220      26312      22011     GICv3  30 Level     arch_timer
 14:          0          0          0          0     GICv3 142 Level     wdt_bark
 25:          0          0          0          0   mt-eint   9 Edge      keys
 62:         13          0          0          0   mt-eint  46 Level     mdio-bus:01
 63:          2          0          0          0   mt-eint  47 Level     mdio-bus:07
 82:          3          0          0          0   mt-eint  66 Level     mt7530
117:          0          0          0          0     GICv3 148 Level     10320000.crypto
118:          0          0          0          0     GICv3 149 Level     10320000.crypto
119:          0          0          0          0     GICv3 150 Level     10320000.crypto
120:          0          0          0          0     GICv3 151 Level     10320000.crypto
121:         21          0          0          0     GICv3 155 Level     ttyS0
122:      37748          0          0          0     GICv3 205 Level     xhci-hcd:usb1
123:      21170          0          0          0     GICv3 175 Level     11230000.mmc
130:        349    1346243          0          0     GICv3 229 Level     15100000.ethernet
131:        428          0          0     274442     GICv3 230 Level     15100000.ethernet
133:     129250          0          0          0     GICv3 245 Level     mt7915e
137:          0          0          0          3    mt7530   0 Edge      mt7530-0:00
138:          0          0          0          0    mt7530   1 Edge      mt7530-0:01
139:          0          0          0          0    mt7530   2 Edge      mt7530-0:02
140:          0          0          0          0    mt7530   3 Edge      mt7530-0:03
IPI0:      3086       3541       3471       3015       Rescheduling interrupts
IPI1:    324714     141064     504728     320421       Function call interrupts
IPI2:         0          0          0          0       CPU stop interrupts
IPI3:         0          0          0          0       CPU stop (for crash dump) interrupts
IPI4:         0          0          0          0       Timer broadcast interrupts
IPI5:         0          0          0          0       IRQ work interrupts
IPI6:         0          0          0          0       CPU wake-up interrupts
Err:          0
root@Gargoyle:~#
https://ibb.co/Px8y68B
https://ibb.co/175kTk4
wdr3600 rev1.4 OpenWrt
wrt1900ACS v.2 OpenWrt/DD-WRT
GL-MT6000 OpenWrt/Gargoyle

ViBE
Posts: 196
Joined: Sun Apr 19, 2015 6:58 pm

Re: Gargoyle 1.15.x BETA - 2024-03-11 - Based on OpenWrt 23.05

Post by ViBE »

nice. bunch of new devices. many cool GL.iNet devices too. btw is it complicated to add mifi devices support too? for example AR300M is already supported and XE300 is using the same platform. or those way more different? or it because mifi devices are just difficult to support? i'm just curious. i don't noticed any mifi devices which are supported by Gargoyle.

pythonic
Posts: 248
Joined: Mon Mar 11, 2019 5:47 am
Location: Australia

Re: Gargoyle 1.15.x BETA - 2024-03-11 - Based on OpenWrt 23.05

Post by pythonic »

ViBE wrote:
Tue Mar 12, 2024 12:44 pm
btw is it complicated to add mifi devices support too? for example AR300M is already supported and XE300 is using the same platform. or those way more different?
I suspect the lack of interest in supporting devices like the XE300 comes down to support for using the included modem - gl.Inet (and other manufacturers of like devices) fit a variety of modems (varies by market) to them and specific support for activating WAN access for each modem (including all the info sometimes required for 4G/5G network access) would be required. Some of the newer modems are PCIE-only cards rather than USB and can't be supported easily (though I think the Quectel modems used in many gl.Inet devices are USB capable).

Gargoyle supports hostless modems because these don't require specific controls (it's all built into the modem itself and it just appears as a USB ethernet interface).

That said, there's nothing stopping you building images with the devices selected (by modifying the relevent config & profile_images files of the respective target, or by doing a custom build) and seeing what you get...

Other than for hostless modems, I'd suggest that 4G/5G mobile network modem users are likely better served by the ROOter project albeit with a LUCI interface rather than Gargoyle's.

pythonic
Posts: 248
Joined: Mon Mar 11, 2019 5:47 am
Location: Australia

Re: Gargoyle 1.15.x BETA - 2024-03-11 - Based on OpenWrt 23.05

Post by pythonic »

oliver44 wrote:
Tue Mar 12, 2024 10:34 am
pythonic wrote:
Tue Mar 12, 2024 8:54 am
Are you using Gargoyle's QoS at all?
No!
In that case, using the flow offloading features supported by OpenWrt might help. I'm not sure that the following commands (which I've taken from OpenWrt documentation but haven't personally tested) will work, but you can try via ssh:

First, just software flow offloading:

Code: Select all

uci set firewall.@defaults[0].flow_offloading='1'
uci commit
ubus call network reload
If that helps, you can try adding hardware flow offloading:

Code: Select all

uci set firewall.@defaults[0].flow_offloading_hw='1'
uci commit
ubus call network reload
Note that hardware offloading requires that software offloading also be enabled. Unwind the changes if they don't help by repeating each command sequence above with the '1' replaced by '0'.

WARNING: hardware/software offloading are at least somewhat incompatible with some Gargoyle features!! If you try them and they cause problems, your only option is to disable them.

One other change you can try is enabling receive packet steering via ssh:

Code: Select all

uci set network.globals.packet_steering='1'
uci commit
ubus call network reload
If it doesn't help, you can reverse the change by repeating the command sequence above with the '1' replaced by '0'.
Last edited by pythonic on Wed Mar 13, 2024 10:43 am, edited 1 time in total.

Lantis
Moderator
Posts: 6921
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Gargoyle 1.15.x BETA - 2024-03-11 - Based on OpenWrt 23.05

Post by Lantis »

Noting that hardware/software offload are somewhat incompatible with some Gargoyle features
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply