Cache Miss Anomaly

缓存 miss 类型 compulsory miss 一开始缓存里啥都没有,cold-start miss capacity miss 缓存容量有限,需要 evict 一些页 conflict miss cpu cache 的 set-associativity 的缓存行 缓存越大,命中率就越高么?不是的

lsof examples

通用 ^ 表示非 多个值是 CSV 形式 lsof -i(internet) -i 后可以有空格 [46][protocol][@hostname|hostaddr][:service|port] 46 specifies the IP version, IPv4 or IPv6 that applies to the following address.‘6’ may be be specified only if the UNIX dialect supports IPv6. If neither ‘4’ nor ‘6’ is specified, the following address applies to all IP versions. protocol is a protocol name - TCP,

Master Iptables

数据包 接收 发送 转发 路由器 iptables 三要素 table tables allow you to do very specific things with packets. 对数据包做特定的处理 filter table default mangle table nat table raw table chain each of these tables are composed of a few default chains. These chains allow you to filter packets at various points. PREROUTING INPUT

My Source List

https://arthurchiao.art/ https://alexanderell.is/posts/ https://blog.ryanlevick.com/ https://brennan.io/blog/ https://bhoot.dev/ https://chsasank.com/ https://codewords.recurse.com/ https://crockford.com/blog.html https://devconnected.com/ https://joearms.github.io/ https://jitwxs.cn/ https://kiosk007.top/ https://kunststube.net/ https://linuxize.com/post/ https://matt.might.net/ https://www.marcobehler.com/ https://natanyellin.com/posts/ https://robertovitillo.com/blog https://research.swtch.com/ Russ Cox https://strikefreedom.top/ https://serhack.me/blog/ https://www.0xffffff.org/ https://www.booleanworld.com/ https://www.jmeiners.com/ https://www.timdbg.com/ https://www.taniarascia.com/ https://manybutfinite.com/archives/ 胡涂说 秋风的笔记 朱双印 陈树义

Null Device

NULL device 是啥? The null device is a special file that discards all data written to it, but reports that the write operation succeeded. 用在何处? java 执行外部的命令, 但是不需要外部命令的执行结果. 直接丢弃 stdout, stderr. import java.io.*; public class DiscardProcessOutput { public static void

Ipc Unix Domain Socket

unix domain socket 是啥? A Unix domain socket (UDS) or IPC socket (inter-process communication) is a data communications endpoint for exchanging data between processes executing on the same host operating system. 同一台机器两个不同的进程之间交换数据,优化过的 socket。 问题背景 java 写的

My Tool Box

video & audio lux ttsmaker 表格 ascii-table 元素周期表 digital socpk 颜色 中国色 传统色 网络 WiFi 连接卡 海底电缆 工具集 油小猴 开发工具 神秘的热心网友 波特工具站 java JDK 启动盘制作 https://rufus.ie/zh/ https://ventoy.net/ windows sysinternals 编程 cron-expression crontab

Zookeeper Transaction Log

分析的 zookeeper 代码版本为 3.9.1 。 zookeer 的 transaction log 为二进制文件,采用的是大端序。 zookeeper 数据持久化的功能在 zookeeper/server/persistence 下。 解析日志就可以获取 zookeeper 的数据。可以用来实现实时备份到另一

Ipc Signal

signal 什么是 signal A signal can be thought of as a software interrupt. This means that a process that receives a signal stops the execution of the current program and makes the program respond to the signal. Signals are various notifications sent to a process in order to notify it of various “important” events. 信号是发送给进程的各种通知,

Asm How Java Byte Code Execute

jvm jvm 是一个栈式(stack-based)虚拟计算机。啥意思,就是大多数的 opcode 的操作数在 operand stack 上,执行的结果也放在 oprand stack 上。 有的 opcode 的操作数在 local variable ta