Steve's Blog

New Page - Converting PWM hubs to Voltage Controlled

New guide up - right here.

My Xen servers main board didn’t have a second PWM controlled fan header to use with a PWM fan hub for the 3 case fans. Its a 4RU case - which has server grade 140mm fans that can draw up to 0.9A each and get up to around 3600 RPM.

So here’s how I used an ATTiny85 to generate a PWM signal from the variable ‘Speed Control’ voltage on pin 2 of the SYS_FAN header.

Enabling BBR Congestion-Based Congestion Control on kernel-xen

With the release of kernel-xen version 4.9.40, I have enabled CONFIG_TCP_CONG_BBR. This adds support for using BBR to improve the throughput from your servers (mostly web servers) to your clients.

If you run my kernel-xen package on your Xen guests, you can also take advantage of this new feature.

To enable, ensure you are running kernel-xen version 4.9.40 or above, then create a file called /etc/sysctl.d/enable-bbr.conf containing:

1
2
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr

You can activate this by typing: $ sysctl -p

The changes will automatically apply at the next system boot.

To read more about BBR and why it makes such a difference, head on over to acmqueue for a far more in-depth analysis than I could provide.

Turnbull handballs encryption problem to tech companies

In a speech in London overnight, Turnbull said companies should not be able to build end-to-end encryption tools that meant nobody - including courts and law enforcement - could access the content of communications. Source

If you’re in the tech industry, and you know your local Liberal party member, point them to this and tell them to go fuck themselves.

Regards, The Internet.

If you don’t know who your local member is, search here: http://www.aph.gov.au/Senators_and_Members/Members