freebsd-update and custom kernels

Saturday, 16. 03. 2013  –  Category: stash, sw

This post is search fodder, mostly. If you’re using freebsd-update to upgrade FreeBSD and you run a custom kernel and temporarily using the generic kernel isn’t an option and it’s been ages since you’ve done this, then welcome! $ sudo freebsd-update upgrade -r 9.1-RELEASE [ warnings about custom kernel ] $ sudo freebsd-update install [ [...]

httperf on Linux

Monday, 16. 04. 2012  –  Category: stash, sw

“httperf is a tool for measuring web server performance. It provides a flexible facility for generating various HTTP workloads and for measuring server performance.” Set open files to 65535 via ulimit -n Recompile httperf with /usr/include/bits/typesizes.h‘s __FD_SETSIZE dialled up to 655351 Twiddle the TCP stack for faster socket recycling23 : echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle echo [...]

Moving disks from Xen to KVM

Sunday, 8. 04. 2012  –  Category: stash

Overview Moving virtual machines from Xen to KVM The storage for both is under LVM Under Xen the storage for each VM isn’t partitioned as a disk, it’s just a filesystem. GRUB under KVM will need to see a boot sector and a partition table. Under Xen the storage for each VM doesn’t contain a [...]