Skip to content

Instantly share code, notes, and snippets.

View you21979's full-sized avatar
💭
I may be slow to respond.

Yuki Akiyama you21979

💭
I may be slow to respond.
View GitHub Profile
@you21979
you21979 / congestion_control.md
Last active September 18, 2019 11:58
congestion_control

Table

OS NewReno CTCP DCTCP HTCP CUBIC BBR setting
windows xp ●※ - - - - - -
windows7/vista ●※ - - - - netsh int tcp set global congestionprovider=
windows10 - - ●※ - netsh interface tcp set supplemental internet congestionprovider=
windowsSV2012 - ●※ - - netsh interface tcp set supplemental internet congestionprovider=
freebsd8.3 ●※ - - - net.inet.tcp.cc.algorithm=
freebsd9.2 ●※ - - - net.inet.tcp.cc.algorithm=
10GbE lane windows10 CentOS7 FreeBSD11.2 ESXi6.7 SRIOV windows driver
Mellanox ConnectX-2 EN 1port x8 自動認識 自動認識 自動認識 自動認識
Mellanox ConnectX-3 EN 1port x4 自動認識 自動認識 自動認識 自動認識 あり
Mellanox ConnectX-3 EN 2port x8 自動認識 自動認識 自動認識 自動認識 あり
SolarFlare SFN5122F 2port x8 手動インストール 自動認識 自動認識 手動インストール なし
https://www.ixsystems.com/community/threads/10-gig-networking-primer.25749/page-7#post-272868
```
Just for (my own as much as others) reference, the following settings provided max 10GBe speed on an Intel x550 onboard nic with Freenas 9.10 (almost) release version (ie FreeBSD 10 based)
(based on https://pleiades.ucsc.edu/hyades/FreeBSD_Network_Tuning, v10 values)
Nic options: "mtu 9014 rxcsum txcsum tso4 lro"
sysctl kern.ipc.somaxconn=2048
sysctl kern.ipc.maxsockbuf=16777216

MANUAL

DAC

CARD WATT
MNPH29D-X[ST]R 6.43W - 7.08W
MCX311A-XCAT 3.47W - 4.84W
MCX312A-XCBT PCIe x4 Gen3 3.83W - 4.55W
MCX312A-XCBT PCIe x8 Gen2 5.31W - 6.20W
@you21979
you21979 / hp.md
Last active February 4, 2021 10:08
model oem vendor lock module
NC522SFP Qlogic QLE3142 Yes 455883-B21,455886-B21
NC523SFP Qlogic QLE3242 Yes 455883-B21,455886-B21
NC550SFP Emulex OCE10102 Yes 455883-B21,455886-B21
NC552SFP Emulex OCE11102 Yes 455883-B21,455886-B21
530SFP+ Broadcom NetXtreme II BCM57810 Yes 455883-B21,455886-B21
546SFP+ Mellanox ConnectX-3 EN Yes 455883-B21
560SFP+ Intel X520-DA2 Yes 455883-B21,455886-B21
562SFP+ Intel X710 Yes 455883-B21,455886-B21

CRS309

Transceivers

maker Transceivers type work
intel FTLX8571D3BCV-IT 10GBASE-SR
mellanox MFM1T02A-SR 10GBASE-SR
MikroTik S+RJ10 10GBASE-T
MikroTik S-RJ01 1GBASE-T
module type connecter type max length cable type consumption
2.5GBASE-T RJ45 cat7 100m metal 0.5-1.5w
5GBASE-T RJ45 cat7 100m metal 1-3w
10GBASE-T RJ45 cat7 100m metal 2-6w
10GSFP+CU SFP+ 15m metal 1w
10GBASE-SR SFP+ OM3 300m fiber 1w
10GBASE-LR SFP+ 10km fiber 3w
DDR4-3200 | 25.6Gbps
DDR4-2400 | 19.2Gbps
DDR3-1600 | 12.8Gbps
PCI express gen4 x1 | 16Gbps
PCI express gen3 x1 | 8Gbps
PCI express gen2 x1 | 5Gbps
PCI express gen1 x1 | 2.5Gbps
USB 3.1 gen2 | 10Gbps
USB 3.1 gen1 | 5Gbps
USB 3.0 | 5Gbps
"use strict";
const oldmnemonic = require("electrum-oldmnemonic");
const bitcoin = require("bitcoinjs-lib")
const words = ""
const oldseedhex = oldmnemonic.mn_decode(words.split(' '));
console.log(oldseedhex)
const monacoin = {

ウォレットの設計タイプによって業かどうかが変わるらしい。

タイプ名 秘密鍵管理 出金管理(署名者) 入金管理(アドレス管理) 台帳管理 第三者による送金の拒否 ウォレット業者か否か
FULL NODE(bitcoind) ユーザー ユーザー ユーザー ユーザー
SPV Wallet(bitcoinj, breadwallet) ユーザー ユーザー ユーザー ユーザー
Online Wallet(tipbot) サーバー管理者 サーバー管理者 サーバー管理者 サーバー管理者 業者
Light Wallet(electrum, trezor) ユーザー ユーザー ユーザー サーバー管理者
Multisig Light Wallet(electrum) ユーザー / 鍵管理者 ユーザー ユーザー サーバー管理者
BitGO ユーザー / 鍵管理者 ユーザー サーバー管理者 サーバー管理者