FreeBSD 12 is Coming

As you may have heard elsewhere, FreeBSD 12 is coming. Two of the features are getting my interest... Parallel NFS: FreeBSD 12 will be able to provide NFS through the pNFS protocol. In essence, there will be one metadata node and multiple object data storage nodes. (It sounds too similar to an L word with … Continue reading FreeBSD 12 is Coming


Systems, Science, and FreeBSD

Here is a presentation by Neville-Neil about Systems, Science, and FreeBSD. Here are two of my most interested ideas: Netmap.  By mapping the NIC to a process memory space, user-space applications can send and receive Ethernet (?) frames directly.  This avoids going through the operating system network stack for every and single frame, and this … Continue reading Systems, Science, and FreeBSD

Some FreeBSD Package Commands

Modern FreeBSD comes with the pkg(8) package manager which is handy for installing precompiled binary packages.  Like package managers elsewhere, the manager here is also very versatile.  Here are some of the commands I use for daily purposes. I use pkg-rquery(8) and pkg-query(8) whenever possible.  The former queries the database in the repository and the latter queries … Continue reading Some FreeBSD Package Commands

LVDS Display with Industrial Motherboard

I am one step closer to build an all-in-one Computer, without using prefabricated cases.  I got an industrial ThinITX motherboard from ToStar (China).  The special thing about this motherboard is that one can install an memory module and a hard drive without any cables.  There is a built-in power converter so that it only takes … Continue reading LVDS Display with Industrial Motherboard

Checklist of a Computer Case

(Updated on 9 May 2018 for hard drives and cooler space.) Here are my brief notes on what to think when getting a computer case: Motherboard Size:  There are quite a few options, ATX (better expansion), MicroATX (good expansion and smaller footprint), Mini-ITX (very compact), etc.  Think carefully how much you will expand in the … Continue reading Checklist of a Computer Case

Minimal Init

Here is a minimal init program that runs after the kernel boot.  Well, it does nothing except printing a hello world statement.  The system kernel panics once the program finishes. The program working principle is to first mount the device file system, with the nmount(2) system call.  Then, print to the "/dev/console" and quit.  Before … Continue reading Minimal Init