Skip to content

Instantly share code, notes, and snippets.

View joeywas's full-sized avatar
🏠
Working from home

Joseph joeywas

🏠
Working from home
View GitHub Profile
@joeywas
joeywas / BufferBloatBegone.md
Last active December 12, 2023 20:08
Buffer Bloat Begone by implementing CAKE queue on RouterOS 7.3.1 on Mikrotik RB750Gr3

Buffer Bloat

Come aboard the Buffer Bloat Begone Boat and let us set sail for seas of lower latency under load!

The journey begins

I became interested in buffer bloat after watching a podcast interview with David Taht. At a friend's suggestion, I purchased an inexpensive Mikrotik RB750Gr3 device, in order to implement a more robust and fully featured network router for our home network

Equipment

We obtain internet via a Wireless ISP over a 5Ghz link to a tower 18 miles away, with a plan for 20Mbps/5Mbps. In reality, it's more like 13Mbps/4Mbps. The WISP modem is connected to an RB750Gr3 aka HEx, running RouterOS 7.3.1. Internal DNS and DHCP for the home network is provided by a pihole connected directly to the router.

$acl = Get-Acl -Path "H:\"
$acl.SetAccessRuleProtection($true,$false)
$acl.Access | ForEach-Object { $acl.RemoveAccessRule($_) | Out-Null }
$ace = New-Object System.Security.Accesscontrol.FileSystemAccessRule ("Everyone", "FullControl", "ContainerInherit,ObjectInherit", "InheritOnly", "Allow")
$acl.AddAccessRule($ace)
Set-Acl -Path "H:\" -AclObject $acl
Failures:
1) 2.1 API, no redirect loads and looks as expected
Got 0 failures and 2 other errors:
1.1) Failure/Error: visit '/foundry/soda.demo.socrata.com/b6kv-3wgw'
Cliver::Dependency::NotFound:
Could not find an executable ["phantomjs"] on your path.
# ./_tests/test_foundry.rb:21:in `block (2 levels) in <top (required)>'
@joeywas
joeywas / gist:38cfc4e6bec7d71c25aa
Created October 19, 2015 22:30
Add new virtual port group on all vswitches on all hosts
Foreach ($vmhost in (get-vmhost))
{
$vswitch0 = Get-VirtualSwitch -VMHost $vmhost -Name vSwitch0
New-VirtualPortGroup -VirtualSwitch $vswitch0 -Name VLAN200 -VLanID 200
}