Skip to content

Instantly share code, notes, and snippets.

@v3aqb
v3aqb / armv7.txt
Created December 20, 2017 08:17
shadowsocks 加密方式测速
tested on armv7 (Allwinner H3)
encrypt and decrypt 20MB data.
aes-128-cfb 1.64158s
aes-192-cfb 1.873407s
aes-256-cfb 2.10648s
camellia-128-cfb 1.918156s
camellia-192-cfb 2.379944s
camellia-256-cfb 2.378779s
chacha20-ietf 1.239553s
@v3aqb
v3aqb / 1984.md
Last active July 3, 2017 14:05
译林出版社 一九八四 孙仲旭译 删节补充

2010年6月第一版

ISBN: 978-7-5447-1164-7

P53

帕森斯太太将被蒸发掉,塞姆会被蒸发掉,温斯顿会被蒸发掉,奥布兰会被蒸发掉。

P99

@v3aqb
v3aqb / sysctl.conf
Created January 2, 2014 07:59
Optimized sysctl.conf for shadowsocks
fs.file-max = 202991
net.core.rmem_max = 12582912
net.core.somaxconn = 3240000
net.core.wmem_max = 12582912
net.ipv4.ip_local_port_range = 18000 65535
net.ipv4.tcp_rmem = 10240 87380 12582912
net.ipv4.tcp_wmem = 10240 87380 12582912
net.ipv4.tcp_max_syn_backlog = 3240000
net.ipv4.tcp_max_tw_buckets = 1440000
net.ipv4.tcp_fin_timeout = 10