Posts

Showing posts from August, 2019

Latency and throughput

Thrughput is affected by latency. Higher the latency the slower your transfer speed is going to be. To work out your throughout, the formula is (data size (bits) / latency = throughput (bits)) eg: 64KB = 65536bytes * 8 = 524288 bits. Next, latency round trip is say 200ms so we will use 0.2s in our calculation. 524288 bits / 0.2 seconds = 2,621,440 bits (2.62Mbps) is the maximum possible throughout. A TCP packet is like a bucket of water that can carry a maximum of 1 litre. If this bucket of water takes 10ms to get from you to the destination then in 1 second you can move a maximum of 1 / 0.01 = 100 litres of water per second. So the way to increase maximum throughout would be to either reduce the latency or increase the TCP window. Ubuntu allows window scaling which will increase or decrease TCP window, enabling TCP window scaling will allow packet size of up to 1GB. To enable windows scaling you will need to edit you /etc/sysctl.conf net.ipv4.tcp_window_scaling = 1 Yo...

Xanmod kernel

echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list && wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key add - Then update and install: sudo apt update && sudo apt install linux-xanmod

Chinese Fonts

To install chinese fonts. sudo apt- get install language-pack-zh* sudo apt- get install chinese* sudo apt- get install fonts-arphic-ukai fonts-arphic-uming fonts-ipafont-mincho fonts-ipafont-gothic fonts-unfonts-core

Welcome

This is just a collection of improvements I have made to my seedbox. It is running quickbox and configurations associated to it.