InetAddress.getLocalHost() throws UnknownHostException

In good tradition, I can answer my own question once again: It seems that InetAddress.getLocalHost() ignores the /etc/resolv.conf, but only looks at the /etc/hosts file (where I hadn’t specified anything besides localhost). Adding the IP and hostname to this file solves the problem and the exception is gone. Another answer is almost correct and I … Read more

Tuning NFS client/server stack

Just to clarify, you’re getting 50MB/sec with NFS over a single Gb ethernet connection? And the host server is running CentOS with VMware Server installed, which is in turn running the 7 VMs? Is there a particular reason you’ve gone with CentOS and VMware Server combined, rather than VMware ESXi which is a higher performance … Read more

ZFS: Mirror vs. RAID-Z

The simple answer is that to mirror something takes almost no processing power – it just writes to the disk a second time. For RAID-Z2, you have to compute an entirely new parity block, which although small CAN bog down the CPU when you have to write large amounts of data quickly. Mirroring is always … Read more