Haunting Silence

It started with a single loud beep from my UPS. The thunderstorm outside had caused a short power fluctuation but I wasn’t really worried. After all the server is connected to the UPS so that I don’t have to worry about such things.

As my desktop was still happily running (without assistance from the UPS) I continued playing my computer game. But when I tried to save the score the next time the machine suddenly hung. I blamed the problem on the game itself and decided to login from another computer to kill the game’s process. Only when I took off my headphones I noticed something was wrong: I could no longer hear the humming of the server’s fans. 🙁

I remembered the beep and pressed the power button of the server which immediately sprung to life. I pulled the power cable of the UPS to confirm my findings, got another loud beep and the server powered down right away. It seems that the battery of the UPS had finally broken down which is no big surprise after roughly seven years of service. I only wish I had figured that out in a less inconvenient way.

I ordered a new battery in the meantime which will hopefully be delivered later this week. With the new battery the UPS should be good for a few more years.

Posted in Computing | 1 Comment

A Rude Awakening

Last night I woke up at around 4:00 am. After a few moments of disorientation I noticed that my pillow was wet. I soon realized that the sheet, the blanket and my pyjamas were wet, too. I stood up, had a look at the bed and figured out what had happened: a corner weld on my side of our water bed had developed a leak. Just the thing you need in the middle of the night. 🙁

My wife had woken up in the meantime. She helped me to hang up the wet laundry and patched the leak. As the water bed itself still needed to dry we spent the rest of the night in the guest room. It took us both a while to go to sleep again. Unsurprisingly we were both dead tired when the alarm went off in the morning.

Posted in Real Life | Comments Off on A Rude Awakening

Journaling at last

A wish came true: NetBSD finally has a journaling file system. Simon Burge added support for WAPBL, Write Ahead Physical Block Logging file system journaling, to NetBSD-current’s main branch today.

The main purpose of a journaling file system is to avoid a time consuming file system checks after a power failure, system crash or similar problem. But it can also help to improve performance considerably depending on the design. As I was curious about WAPBL’s performance impact I ran my usual benchmark (extracting the NetBSD 4.0 source tar archives). And the result is very encouraging: FFS required 15:19 minutes to finish the benchmark without logging and only 3:24 minutes to finish it with logging. It seems that WAPBL provides similar speed improvements as soft dependencies and keeps your file system safe at the same time.

A big thank you to Wasabi Systems for donating the code and to Simon Burge and all the other developers for integrating WAPBL into NetBSD!

Posted in NetBSD | 6 Comments