From Snow To Snow

We left the US yesterday in ice-cold temperatures and with several centimetres of snow lining the ground. The unhelpful dickhead driver of the bus that took us from Providence to Boston didn’t stop at terminal A of the airport, so we had to get a porter to ferry our huge pile of luggage across the concourse and up and down the intervening lifts until we were finally where we needed to be.

Unhelpfully and illogically, the bus also drops you at arrivals, not departures, so even finding a porter was a bit of an adventure.

That was the only hitch, though. Tanked up on business lounge nuts and drinks, we made a relaxed entrance onto the flight and, given that the return leg was a night flight, we really appreciated the ability to recline almost horizontally in business class.

Our flight was delayed only as long as was necessary to de-ice the plane, after which it was a smooth ride all the way back to Amsterdam.

We arrived about an hour later than scheduled, but given that we were comfortable and it was the middle of the night, as far as our body clocks were concerned, this was actually a bonus.

Our luggage rolled off the conveyor belt very quickly and we were back at the house by 10:00, which was pretty good going, given that we hadn’t even landed until after nine. We went straight to bed and emerged some four hours later, in time for a late lunch.

The worst thing about arriving back from a long trip away is the chores that await one: an essential trip to the supermarket, picking up packages that couldn’t be delivered in our absence, etc. The cold and the icy conditions made the bike ride less than ideal, but at the same time, it felt good to be back on two wheels and getting some exercise again.

Speaking of which, the Wii Fit complained this evening when I weighed myself for the first time in seventeen days. I’m back in the overweight band, but I’m confident I can get back to ideal in fairly short order. Getting back to the lowest weight I attained before our trip will take longer, and there’s also the hiatus that my operation in a little over a week will impose. Ugh.

My first workout of the year was predictably heavy going, but as with the biking, it felt good to be exercising again. I worked up quite a sweat, which I hope will reveal itself in tomorrow’s weight measurement.

The children don’t know whether they’re coming or going and are having real trouble sleeping this evening. You could say that it’s to be expected, but it’s usually a lot easier for them than it’s proving this time. With a 07:00 start tomorrow, it’s uncertain at this point whether Eloïse will be in any fit state to go to school. We’ll see.

As always, it’s great to be back home, but it’ll be a lot better once the children’s bodies have adjusted. Lucas, in particular, has had a rough time of it today. I hope the night will be better.

Posted in Travel | Leave a comment

Scoop: Providence Not Coldest Place On Earth!

We’ve been away from being away for the last couple of days, having been up north to visit some friends.

We drove up to Acton, Massachusetts on Tuesday for lunch with Sarah’s old friend, Lauren. After lunch, we reconvened up the road at the Children’s Discovery Museum, where the young ones had a great time running balls along gutter runs and climbing on things.

We parted ways and then drove in high winds on freezing roads further north to North Hampton in New Hampshire. It was about -12°C by the time we arrived, but less than -21°C with wind chill. I had previously thought Providence to be the coldest place on earth, but there it was still a soothing -10°C.

The reason for our visit to New Hampshire was to see our friend Linda, whose daughter, Maisy, is in the same class as Eloïse at school. Linda’s family are incredibly hospitable and made us feel completely at home, except for the fact that our own home doesn’t have the incredible catering and service provided by her family. We all immensely enjoyed our evening there together.

Wednesday morning, we drove up the road to the discount malls in Kittery, Maine, in order to do some shopping for children’s clothes. I found a lot of good stuff for Lukie at the Hanna Andersson shop. We left Eloïse at the house with Maisy’s grandfather, so that she could look at chickens in the barn and ride on his tractor. Linda’s parents live on a big farm and it’s great for an urbanite like Eloïse to experience, even if it’s just for a moment, another way of life.

After lunch, we drove back to North Hampton, picked up Eloïse, loaded the car and drove back to Providence, getting stuck for ages in heavy traffic around Boston. All in all, it was a pretty long round trip for the driving conditions, but everyone had fun and we all arrived back safe and sound.

Posted in Travel | Leave a comment

Skinny Bastard

Before we left for Christmas in the USA, I managed to convincingly hit my end of year weight target with room to spare, finally weighing in at just under 79 kilos on the Wii Fit. That means I’ve lost a total of 21 kilos since I entered into this new regime of diet and exercise.

Since arriving in the US a week ago, my weight has, of course, taken a hit. I’m not getting the exercise that I would back home and I’m eating a lot more than I’m now used to. It’s Christmas, after all, and there are plenty of tempting treats around.

Once I get back to Amsterdam, however, it will be business as usual again, undoing the damage of this trip and hopefully dropping another few kilos besides, in order to reach my ideal weight of around 75 kilos.

My upcoming hernia operation will throw another spanner in the works, but hopefully won’t put me out of action for very long.

We went out shopping for clothes today, because I basically need a completely new wardrobe. Nothing I own fits any more. It all either hangs limply on my body, making me look like a scarecrow, or simply slides right off.

With my weight at a 15 (maybe 20) year low, I found myself trying on jeans with a 32 inch waist this afternoon. Although I could squeeze into them, that was still a little ambitious, so I ended up buying a few pairs with a 33 inch waist. I also bought a new jacket, a shirt and a couple of other items. Ideally, I still need a second shopping expedition in order to buy underwear and a couple more shirts, so I hope we can squeeze that in before we leave. We’re here for another week, though, so it shouldn’t be a problem.

Posted in Life | 1 Comment

Beat The Snow

We’re in Providence now, after a pleasant business class flight on Saturday. We don’t usually travel business class, but it was the only sane option available to us this time and was purchased with points, anyway, not cash.

We arrived a few hours ahead of the oncoming snow, which has already caused so much turmoil in parts of this country, but actually isn’t too bad in this area. The roads are now covered in slush, the pavements are impassable and our favourite café, The Edge was closed yesterday. And, of course, the temperature here is enough to freeze the balls off a brass monkey, but it wouldn’t be Providence if that weren’t the case.

Back home in Amsterdam, the weather is bad, too. Hopefully, all of the snow will be gone both here and at home by the time we fly back on 3rd January.

Posted in Travel | Leave a comment

New Computer

My last purchase of a new desktop computer was, if I remember correctly, made in January 2003. I bought it at a shop in San Jose, back when I was stuck working in the USA.

That machine has served me well, but in recent months finally started to feel excruciatingly slow, even when performing trivial tasks, such as browsing the Web; although that’s arguably no longer a trivial task, given all the clutter that now emblazons many sites.

Justifying the replacement of a computer nearly seven years old didn’t require much thought, so I set about slowly bringing myself up to date on modern PC hardware, which is something I don’t normally stay abreast of.

After looking into buying from a local shop, I found little reason to pursue a purchase with them. They lack knowledge and expertise, their assortment of hardware is too limited, and one doesn’t get a sense that they particularly care about the customer.

Instead, I decided to follow a different path this time and order from Dell. As a Linux user, this hasn’t been a particularly attractive option in the past, because it can be hard to know which components will used to build one’s computer. For example, one can typically specify that one wants a hard drive of a certain size, but not which make or model should be used. One therefore typically ends up with components that wouldn’t be one’s first choice, with a specification that perhaps falls short of what one would like.

In spite of this potential for dissatisfaction, I don’t have a lot of free time any more, so I was reluctant to exhaustively research the vast array of options for every component I wanted to build into my new machine. I therefore decided to relinquish such fine-grained control over the build and to restrict my choice to the much smaller range of parts that Dell had pre-selected.

Furthermore, I had been very happy with the Dell machines we had purchased and used whilst at Google, both desktops and servers. They’re robust, reliable machines and I reasoned that a new model would probably serve me very well as my new desktop machine.

I thus set about researching the various product lines offered by Dell and found them to be quite competitive, as far as price is concerned.

The biggest problem did, indeed, turn out to be that I couldn’t initially find a product line that allowed me to choose parts close enough to my ideal that I didn’t feel the compromise was too great to warrant the purchase. I could have a machine with the processor I wanted, but not the video card. Or I could have the hard drive capacity I wanted, but not the amount of memory.

Eventually, though, I came across the Precision T7500 workstation, which, whilst still not ideal, was close enough that I could live with the minor compromises. I decided to take to take the plunge.

My pre-sales experience of the company soon included several phone calls and e-mails with an account manager and project manager, in order to clear up some ambiguities and on-line ordering glitches. For example, the site would tell me that ordering English language software was incompatible with a Dutch power cord. This kind of thing is enough to prevent you from completing the order process.

Anyway, my contacts at Dell were surprisingly helpful and efficient, so I ultimately felt very comfortable giving Dell the order and confident that if there were any foul-ups along the way, they wouldn’t be too great in magnitude.

The new machine arrived very quickly once the order had been placed. I was surprised how quickly, actually, as I had thought there to be a reasonable chance of some component or other being temporarily out of stock.

The big day arrived a couple of weeks ago, although with two children in the house, it took me another couple of days to get around to unpacking the boxes and setting things up. It was exciting to unpack my first new desktop in almost seven years,

Here’s a breakdown of the most important hardware, together with commentary on the parts of note:

  • 2 x Intel Xeon quad-core W5580 @ 3.20 Ghz, 1 Mb L2 cache, 8 Mb L3 cache.

  • 24 Gb 1333 Mhz DDR3 RAM.

That’s a lot of memory by today’s desktop standards, but I wanted to indulge myself and be able to concurrently run a large number of demanding tasks. You can simply never have enough RAM.

The memory is configured as 3 x 4 Gb DIMMs on the first CPU and another 3 on the riser card of the second CPU. This is the optimal configuration, as it maximises the bandwidth available across the 6 memory channels of the 2 CPUs. This results in the fastest access to the largest amount of memory.

I take my hat of to Dell for optimally configuring this, because it wasn’t something I was able to specify for the build. Dell simply did the right thing. You might think this

  • 2 x 1.5 Tb SATA hard drives.

I didn’t know what model of disc drive I’d be receiving. I could probably have found out from my account manager but I actually didn’t think to do so. Besides, I doubt that I could have influenced the choice of component.

It turned out that I received Seagate ST31500341AS drives, which look good enough on paper, but don’t feel terribly fast in use.

Regrettably, Dell didn’t offer a solid state drive as a build option, or I would have bought one for booting the OS.

As my /home is mounted over NFS, anyway, local disc speed is only really a factor when booting and writing temporary files, such as when compiling, ripping CDs, etc.

  • 2 x Dell UltraSharp U2410 24″ LCD monitor: 1920 x 1200; 6 ms response time; 16:10 aspect ratio; 80,000:1 contrast ratio.

These are real beauties and a huge upgrade from my previous single 20″ LCD monitor. I plan to run them as a single display, affording me a 3840 x 1200 work area. They’ve had some mixed reviews, but I find the colours to be vibrant and true. Each monitor is individually calibrated in the factory.

Once I’d mounted them on their stands and turned them on, they had me puzzled for a while, because I couldn’t find any buttons with which to configure them. It turned out that the blue LEDs at the right edge of the screen, which I had thought were just status lights, were actually touch-sensitive buttons. I would have actually known this if I had paid closer attention to the documentation sheet that accompanied each monitor.

  • nVidia Quadro FX 4800 graphics card: 192 CUDA parallel processing cores; 1.5 Gb GDDR3 RAM; 76.8 Gb/sec bandwidth.

This is a very high-end card, more the preserve of engineers doing visual modelling than consumer desktops.

An external sound card is still preferable to on-board audio. Dell didn’t offer me any options in the choice of external card, but this is a decent card, adequate for my needs.

Looking at the BIOS configuration, I was surprised to find that the machine has a very comprehensive BIOS, in fact the most extensive I’ve ever seen. I’ll mention only the features and settings that struck me as noteworthy:

  • SMART Reporting of drive errors during system start-up is disabled. I’m curious why that is, but I run smartd in Linux anyway, so I’ll hear about drive any errors soon enough.

  • On-board audio had been properly disabled, in line with the extra Soundblaster X-Fi Titanium card that had been installed in the machine. This is no more than one would hope for, but it would have been an easy setting to forget for Dell.

The performance section of the BIOS has me scratching my head a little:

  • Multi-core support is on, as you’d expect, but hyper-threading is disabled. I have enabled it, as I see no reason to leave it off.

  • Intel Turbo Boost is on, but SpeedStep is off.

  • C States Control is on, as are the Hardware Prefetcher and the Adjacent Cache Line Prefetch.

  • Memory Node Interleaving was set to SMP. I left it that way until I had installed Linux and verified its proper running, but I’ve since changed it to NUMA with no perceptible improvement in performance. Theoretically, there should be one, assuming my kernel has support built in.

On the other hand, dmesg shows:

Dec 5 21:28:37 coffee kernel: No NUMA configuration found

A quick Google search suggests a Dell BIOS bug that omits essential information from the ACPI tables, needed by the kernel. Grr.

Oh well; the performance is blindingly fast, anyway.

  • HDD Acoustic Mode was set to Bypass, which does nothing. I’ve changed this to Performance, which theoretically gives me better drive performance at the expense of quiet operation.

With the hardware set up, it was time to install Linux. I’ve been running Fedora for years and Red Hat Linux for many years before that, so Fedora 12 was the obvious distribution to install. At some point, I’d like to devote some time to gaining familiarity with Ubuntu, but for now, F12 was the obvious choice and had been released just a week earlier.

  • The CD-ROM/DVD drive was positioned after the hard drives in the boot device order, so I had to move it up the list before I could boot from the F12 installation DVD.

  • The DisplayPort connectors of the video card work only until X starts. I therefore had to instead connect the monitor via the DVI port and select installation using the simple video driver option.

The second monitor wasn’t used at all during the installation.

  • In the factory configuration, my 2 hard drives were sdg and sdh in Linux.

The box can house 6 drives, which would suggest sda to sdf. The fact that my two drives are sdg and sdh is perhaps because they are not configured with the on-board RAID controller.

I have a media card reader installed in the machine instead of a floppy drive. It appears that these removable drives are sda to sdf.

When examining the hard drives, I found that they had been partitioned by Dell as follows (the partition labels are Dell’s):

  • /dev/sdg1 VFAT DellUtility

  • /dev/sdg2 NTFS Recovery

  • /dev/sdg3 NTFS OS (Windows 7)

  • /dev/sdg4 (Extended)

  • /dev/sdg5 NTFS Data

  • /dev/sdh1 NTFS Data

As you can see, I’d ordered the machine with a Windows 7 Professional installation. It wasn’t very expensive and I reasoned that a dual-boot machine may prove useful at some point. Having Dell install an OS on the machine may also bring hardware faults to light that would otherwise go unnoticed.

In order to make some space for Linux, I had to delete sdg5 and recreate it as an ext4 file-system. Naturally, I made sure it was empty before I did this.

I also blew away sdh1, and replaced it with a swap partition, adding an sdh2 partition with a large ext4 file-system for an as yet undefined purpose.

Interestingly, sdg3 isn’t bootable. To boot Windows, one must boot sdg2, which is where the Windows boot loader resides. This chains to the actual Windows 7 installation on sdg3.

  • Once Linux was installed, the DisplayPort connectors of the video card still wouldn’t work. I still had a single-headed DVI system. Having done my homework prior to purchasing, though, I had known that this would be the case. Xorg doesn’t yet support DisplayPort.

As soon as I had installed the latest nVidia driver, both DisplayPort connectors sprang to life and it was easy to configure the dual-head. With that working, I was able to put my DVI cable away.

  • I’d had the box pre-configured with a 60 Gb primary partition, into which Windows 7 had been installed. However, I’d had no idea that Windows 7 was so large and that this would leave that OS with just 7 Gb of free space.

In any case, 60 Gb had been the largest partitioning option available to me during the specification of the build, so it was either that or allow Windows to span the entire drive, which I knew would give

me nowhere to install Linux.

I had been trying to avoid doing my own partitioning this time around. If Dell could partition the drive for me, why not have them do it and save myself the bother?

I would still have to add partitions for Linux, of course, but what I had really been trying to avoid was doing anything with NTFS, especially partition resizing. Unfortunately, due to the apparent size of Windows 7, I was now going to have to resize that 60 Gb NTFS partition, anyway.

Even worse, I had already installed Linux in the extended partition after Windows, so I was going to have to shrink that one before I could increase the size of the Windows partition.

Back in the day, I used Partition Magic for this kind of thing. Three years ago, however, that program had become obsolete, so I purchased Acronis Disk Director and used that to repartition my then new Lenovo laptop.

Unfortunately, Disk Director doesn’t yet work on Windows 7, and that’s part of the reason I had wanted my new box to arrive with NTFS file-systems that would require no further work.

That left me with just Linux’s own parted, which I’ve always shied away fom, fearing bugs and my own stupidity. Its command-line interface is very basic and offers immense opportunity to destroy working systems.

Happily, though, there’s a nice GTK+ interface to libparted (the underlying library of parted), called GParted, and the maintainers provide a nice live CD image that you can use to boot a simple X session running GParted. Running it from a live CD is necessary, because you can’t modify partitions containing a mounted file-system. That means that running it from a file-system on a partition you intend to modify isn’t going to work.

I burned a copy of the image to CD and booted into it.

GParted seems pretty mature and looks like a less-frilled version of Disk Director. I just hoped that it had no serious bugs.

I had to perform 4 operations in total:

  1. Move /dev/sdg6 (/) to the right and shrink it from 1.30 Tb to 1.22 Tb.

  2. Move /dev/sdg5 (/boot) to the right.

  3. Move /dev/sdg4 (extended partition) to the right and shrink it from 1.30 Tb to 1.22 Tb.

  4. Move /dev/sdg3 (Windows 7) to the right and expand it from 60 Gb to 150 Gb.

Large discs with large partitions take a long time to process. The estimated time to complete the above operations was some 20 hours. I’m not sure why moving so many empty sectors had to take so long, but there you go. I had no other tool at my disposal. I resigned myself to not getting to play with my new computer for a while.

Needless to say, I had the machine running via my UPS while performing this task.

The job actually took more like 18 hours, but there was an error during the final step, the resizing of the Windows 7 NTFS file-system. It threw up a message, notifying me that overlapping partitions weren’t allowed. Aargh!

Naturally, I feared the worst, that serious damage had already been inflicted on one or more partitions, but the problem turned out to be easy to correct. GParted was trying to resize the NTFS partition to 150 Gb, but there was now only enough free space to allow the partition to grow to 149.99 Gb.

I’d specified only that there should be no space either before or after the resized partition, i.e. that it should grow to fill the available space. It was GParted itself that had calculated that this would allow the partition to grow to 150 Gb, so the program must have a bug somewhere, possibly related to rounding sizes to cylinder boundaries. It, not I, was responsible for coming up with the values that had resulted in the attempt to create overlapping partitions.

With that minor hiccup rectified, I booted into Windows 7. As expected, Windows first needed to CHKDSK the file-system, after which the OS came up and saw the extra 90 Gb that was now available. Great.

I then booted Linux, which went equally smoothly, so I concluded that GParted had done a good job, even if it had put my heart in my throat for a minute or two at the end there. I’d certainly use it again, rather than shell out on expensive Windows software.

Since then, I’ve been configuring the various bits and pieces of Linux. Moving from a Fedora 9 to a Fedora 12 desktop has been nice, thanks to the incremental improvements here and there.

For one thing, configuring CUPS is particularly easy now. Sarah’s Vista laptop now properly prints to my CUPS-served Epson R800 printer, which is a configuration I could never get to work before.

Sound also works very well, because Creative have finally released their proprietary driver for the X-Fi card under an open source licence. It was integrated into ALSA as of 1.0.21. Before that, only a sub-standard open-source driver had been available.

Another thing that makes sound so good in this release of Fedora is that PulseAudio, the sound server, is now quite mature and reliable. For example, using PulseAudio, one can now configure the sound from different applications to go to different outputs. This allows, for example, sound from software telephone applications, such as Skype, to be redirected to a USB headset, whilst sound from all other applications is sent to the external speakers. This is a really cool feature.

Having my first 64 bit box has tripped me up a couple of times. For example, getting WINE to run the 32 bit Sonos Windows Desktop Controller software had me scratching my head for a minute or two, but was ultimately trivial to fix. Incidentally, that was probably the slowest application on my previous computer, but is scarcely slower than a native Linux application on this new box.

I’m immensely enjoying having two large monitors on my desk. My desktop is now 3840 x 1200, which allows me to leave Firefox maximised on the second monitor and configured to be visible on all workspaces, regardless of which virtual desktop I’m currently on. This is the only way to work! The browser is now never more than a mouse movement away.

I’ve also installed MythTV on this box and configured it as a front-end to the MythTV back-end that runs on the DVR in the living-room. This allows me to use one of the monitors as a TV, while I do work on the other. It’s pretty cool to be able to watch both live and recorded TV in my office, even though the computer contains no TV tuner. This is yet another very powerful feature of MythTV.

Incidentally, one of my new monitors had a dead pixel. I rang Dell and, without any fuss, they agreed to replace it free of charge. Within a couple of hours of calling them, I had received an e-mail with the UPS tracking information of the new monitor.

The new monitor arrived less than 24 hours after calling Dell to report the defect. I wouldn’t get that level of service from a local shop, so any fears I might have had about making a major hardware purchase with an on-line retailer have been nicely squared away by this experience.

To conclude, I’m very happy with both the new computer and the service I have received from Dell, both before and after the purchase. It’s been a very smooth process, the equipment was quickly delivered to my door, a duff part was replaced with no fuss in 24 hours, and everything works as expected. I couldn’t really have expected more from the experience.

Posted in Technology | 3 Comments