摘要: 1. download dpdk source and build it ref: https://core.dpdk.org/doc/quick-start/ meson --buildtype=debug debugbuild 2. Reserve huge pages memory. mkdi 阅读全文
posted @ 2021-12-25 16:07 changxun 阅读(291) 评论(0) 推荐(0) 编辑
摘要: https://wiki.aalto.fi/download/attachments/69901948/netfilter-paper.pdf 阅读全文
posted @ 2021-12-25 09:55 changxun 阅读(20) 评论(0) 推荐(0) 编辑
摘要: http://jolestar.com/etcd-architecture/ 阅读全文
posted @ 2021-12-14 16:46 changxun 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 官方文档 http://doc.dpdk.org/guides-21.11/prog_guide/intro.html csdn-dpdk专栏: https://blog.csdn.net/qq_15437629/category_7205269.html 网卡rss使用对称hash方法: TOEP 阅读全文
posted @ 2021-12-14 11:08 changxun 阅读(165) 评论(0) 推荐(0) 编辑
摘要: MTU解析与常见问题汇总-上篇 https://blog.51cto.com/gingerbeer/1970602 MTU解析与常见问题汇总-下篇 https://blog.51cto.com/gingerbeer/1976737 阅读全文
posted @ 2021-10-13 11:03 changxun 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 官方介绍: http://www.openvswitch.org/support/ovscon2014/17/1030-conntrack_nat.pdf 阅读全文
posted @ 2021-09-07 11:39 changxun 阅读(63) 评论(0) 推荐(0) 编辑
摘要: NAT与NAPT 区别在于,NAT只转换IP包中的IP地址,NAPT不仅转换IP包中的IP地址,还对IP包中TCP和UDP的Port进行转换。 NAT使用期间独占公网IP,利用率太低。NAPT可以使多台私有网主机利用1个NAT公共IP就可以同时和公共网进行通信。 所以现在说的NAT一般都是NAPT。 阅读全文
posted @ 2021-08-28 10:16 changxun 阅读(3100) 评论(0) 推荐(1) 编辑
摘要: expected_remote_run.py import subprocess def remote_execute(host_ip, host_passwd, cmd, user='test'): private_key_file = '/tmp/id_rsa' private_key_pass 阅读全文
posted @ 2021-06-21 16:42 changxun 阅读(43) 评论(0) 推荐(0) 编辑
摘要: PostgreSQL并发控制(显式锁定) 转载自:YuanyuanL PostgreSQL 基于PostgreSQL 9.4 9.3中文文档:http://58.58.27.50:8079/doc/html/9.3.1_zh/explicit-locking.html#LOCKING-TABLES 阅读全文
posted @ 2020-12-04 09:57 changxun 阅读(604) 评论(0) 推荐(0) 编辑
摘要: #coding: utf-8 import os import re def execute_cmd(cmd): out = os.popen(cmd) return out.read() def dnat_list(): cmd = 'netsh interface portproxy show 阅读全文
posted @ 2020-10-16 11:25 changxun 阅读(92) 评论(0) 推荐(0) 编辑