Skip to content

Instantly share code, notes, and snippets.

View alyxw's full-sized avatar
🏳️‍🌈

Alyx Wijers alyxw

🏳️‍🌈
View GitHub Profile

Keybase proof

I hereby claim:

  • I am alyxw on github.
  • I am alyxwijers (https://keybase.io/alyxwijers) on keybase.
  • I have a public key ASD5Mu9Bfis2qMkpLURhikieiFNH77Kvgvo65GrIh3ARVQo

To claim this, I am signing this object:

@alyxw
alyxw / gist:46fc9f7cf66b61c6b506c9f43bdb724c
Created May 22, 2022 07:37
Bidirectional iperf3 test at 10G on the Mikrotik CCR2004-1G-2XS-PCIe
alyx@alyx-dl20g9:~$ sudo iperf3 -c 10.26.0.2 -t 600 --bidir
Connecting to host 10.26.0.2, port 5201
[ 5] local 10.26.0.3 port 42740 connected to 10.26.0.2 port 5201
[ 7] local 10.26.0.3 port 42742 connected to 10.26.0.2 port 5201
[ ID][Role] Interval Transfer Bitrate Retr Cwnd
[ 5][TX-C] 0.00-1.00 sec 1.06 GBytes 9.08 Gbits/sec 37 1.01 MBytes
[ 7][RX-C] 0.00-1.00 sec 676 MBytes 5.67 Gbits/sec
[ 5][TX-C] 1.00-2.00 sec 1.08 GBytes 9.31 Gbits/sec 10 1.37 MBytes
[ 7][RX-C] 1.00-2.00 sec 661 MBytes 5.55 Gbits/sec
[ 5][TX-C] 2.00-3.00 sec 1.07 GBytes 9.16 Gbits/sec 14 1.43 MBytes
@alyxw
alyxw / gist:194b6488351bcdfd116f3a7bc353c9a2
Created May 22, 2022 06:57
ethtool output for Mikrotik CCR2004-1G-2XS-PCIe interfaces
alyx@alyx-dl20g9:~$ sudo ethtool ens2f0 && sudo ethtool ens2f1 && sudo ethtool ens2f2 && sudo ethtool ens2f3
Settings for ens2f0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
@alyxw
alyxw / gist:07b1cb0a87c490e759283206db0b52b9
Last active May 22, 2022 06:55
Mikrotik CCR2004-1G-2XS-PCIe verbose lspci output
alyx@alyx-dl20g9:~$ sudo lspci -vvv -s 06:00
06:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet
Physical Slot: 2
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 45
NUMA node: 0
IOMMU group: 1
Region 0: Memory at 92c00000 (64-bit, non-prefetchable) [size=64K]