Skip to content

Tag Archives: FreeBSD

Folding-at-Home on FreeBSD in an iocage jail


Given the urgency for research on the novel COVID-19 virus, I have been running Rosetta@Home and Folding@Home on my Windows machine. BOINC (which powers Rosetta@Home) runs reasonably well on FreeBSD with some special instructions. I also wanted to run Folding@Home. I currently have a Linux VM in bhyve to do so. But, that is rather […]

Jailed SyncThing using iocage on FreeBSD 12


So, we’ve been hitting the 1TB bandwidth limit in our household. The majority of our use is video streaming. However, while keeping tabs on our usage, I did identify some room for improvement in the use of OneDrive for file synchronization. They way things work right now is that I upload all my photos (mostly […]

Keeping FreeBSD TCP performance in the midst of a highly-buffered connection


I was perplexed recently, when I began an rsync job to a raspberry pi server. I know exactly what limits the bandwidth of this connection–it is the CPU (or network) on the Raspberry Pi, which cannot accept data fast enough. So, even though my server is on a 1 Gbit/s interface, and the Raspberry Pi […]

Debugging USB 3.0 Interrupts


I’m seeing interrupt storm errors. I’ve also noticed that my USB 3.0 GoFlex 2TB drive (which I have to brag I bought for $67 back in 2009 or so) seems to be intermittently absent from my ZFS pool. Here’s a vmstat: Notice the crazy > 7000 interrupt rate on irq16. Note that one downside of […]

RAIDZ bonnie++ measurements


Just rebuilt my ZFS pool using RAIDZ:

So, time for another bonnie++ benchmark (all interfering service disabled including powerd): Version 1.96 Sequential Output Sequential Input Random Seeks Sequential Create Random Create Size Per Char Block Rewrite Per Char Block Num Files Create Read Delete Create Read Delete K/sec % CPU K/sec % CPU K/sec […]

Subsonic can’t bind to address on FreeBSD dual stack


Either build Java without IPv6, or you need the following in /etc/rc.conf: (The is if you’re running without an X console.) Also, delete everyting in except for and and rename these and respectively. Make sure is the owner of everything (including your subsonic databases in ). While you’re here, edit and change to (just an […]

Creating static adaX mappings for FreeBSD drives


I recently had a problem with ZFS. I went back to not using glabel, mainly because I wanted to force 4KB sector alignment on my drives and therefore used a gnop trick. About a month after doing so, I shuffled my drives around. I had ada4 and ada5 set up in a mirror configuration. At […]

HP L7600/L7650 and Samba/FreeBSD


This all-in-one printer can scan to a Windows share. I have a Windows share hosted by Samba on FreeBSD. Unfortunately, the printer/scanner intermittently (and pretty often) says it can’t find my FreeBSD machine when I–or more importantly my wife tries to scan a document. I went pretty deep on this and took a packet capture: […]

Fixing CrashPlan (in the presence of native JDK/JRE)


I recently installed subsonic, which has a Java dependency. The www/subsonic port installed Java. Unfortunately, this (or something else I did) broke CrashPlan (which uses the Linux Java in the java/linux-sun-jre16 port). I had to take a few unexpected steps to fix this. Be the first to like. Like Unlike

Crashplan running on FreeBSD


Just gathering bits of information on how to get this done: The first set of instructions (for FreeBSD 7.x) was here:CrashPlan on FreeBSD HOWTO This didn’t work that well on FreeBSD 8.x. There was some problem with epoll. The breakthrough came from Aaron here: Add to the bin/run.conf for the engine. Finally, here’s an […]