Skip to content

Instantly share code, notes, and snippets.

@pensz
pensz / EFG-Broken.md
Created May 7, 2026 15:56 — forked from galvesribeiro/EFG-Broken.md
Why Your Ubiquiti EFG Can't Push 25 Gbps Inter-VLAN — and What's Actually Going On

Why Your Ubiquiti EFG Can't Push 25 Gbps Inter-VLAN — and What's Actually Going On

Or: How I Reproduced the Problem on x86, Tried to Load the Missing Modules on the Real Device, and What That Tells Us About Ubiquiti's Kernel


TL;DR

Ubiquiti markets the Enterprise Fortress Gateway (EFG) as a 25-gigabit-class router. The product page lists two 25 GbE SFP28 ports for WAN/LAN, and Ubiquiti positions the device as a flagship for medium and large enterprise deployments. Its silicon — a Marvell Octeon CN9670 — supports hardware-accelerated forwarding through purpose-built network engines (NIX) that should sustain tens of millions of packets per second. The UDM Beast, Ubiquiti's next-generation gateway, pairs a Marvell Octeon CN10K SoC (with ARM Neoverse N2 cores) with a dedicated Marvell Prestera-class switching ASIC accessed via PCIe — capabilities that, properly used, would offload most of the per-packet forwarding work into hardware.

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f4099faf86b, pid=2182, tid=139915277854464
#
# JRE version: Java(TM) SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x52086b] FreeList<FreeChunk>::getFirstNChunksFromList(unsigned long, FreeList<FreeChunk>*)+0x3b
#
@pensz
pensz / MySQL-general-log-analytic.md
Last active December 15, 2015 22:38
MySQL general log analytic

MySQL general log analytic

项目目的

解决SQL日志分析难的问题。通过该项目达到以下目的:

  • 用户方便的按关键词、操作类型等查询MySQL执行过的SQL语句
  • 方便得到针对MySQL查询的相关统计信息

项目组成

@pensz
pensz / squid,md
Last active December 14, 2015 09:08
配置一个简单的squid http 代理
1. 修改acl
http_access allow all
2. 修改可以缓存文件的大小限制
maximum_object_size 400000 KB
3. 修改cache的目录, 目录接着后面的那个缓存目录的大小