March 5, 2008: Outlook Challenged

I have to make an admission. I have worked in Information Technology for fourteen years. I have been programming since 1985. I use computers every day for almost everything that I do. But I just can’t use Microsoft Outlook effectively. I am Outlook deficient. There, I have said it and it is out in the open. Now I can start the healing process.

“Minnet, jag har tappat mitt minne, är jag svensk eller finne, kommer inte ihåg…”

Tonight starts a week long stint of not having overnight support at the office. That means that there is an extremely high probability that I am going to be getting paged out constantly starting around three in the morning. Fortunately I am not too exhausted today and I am working from home tomorrow so the first few days should be alright. The first half of next week will be rough.

It rained this morning but is very warm. I walked over to Airlie Cafe and grabbed my breakfast sandwich and a salad for lunch later on.

I finished reading “Predictably Irrational” by Dan Ariely this morning. It was very good and I highly suggest it even to people without a particular interest in behavioral economics. I have started rereading “The Dilbert Principle” by Scott Adams for, what must be, the fourth time at least.

My afternoon was actually very busy. But not that stressful busy that you worry about. It was a good, productive busy. Busy troubleshooting and finding real solutions to problems. The kind of busy that you feel good about on the train ride home.

My train ride home didn’t come until very late, though. It was well after seven when I finally had the opportunity to head out of the office. Ramona and Winni might have been on their way to our apartment even before I was. I did finish reading “The Dilbert Principle” before leaving the office. Good book progress today.

On the ride home I started reading “Reconciliation: Islam, Democracy and the West” by Benazir Bhutto, former Prime Minister of Pakistan. It started off strong. I probably won’t get a chance to read any more of it until Friday.

I got home and we all ordered in dinner from Nino’s. Then we sat down to play a couple games of Steve Jackson’s Munchkin. Neither Dominica nor I had ever played Munchkin. It was fun and we had a good time. Dinner arrived and we made it through two bottles of wine.

We played until midnight when we realized that it was way too late for Dominica who has to work tomorrow and that now Ramona and Winni will have to walk home rather than taking the shuttle since the shuttle only runs until midnight during the week.

My textbook, “Object Oriented System Analysis and Design with UML“, for my master’s Systems Analysis and Design class arrived today. The class is actually called Object Methods or something like that as it is an object oriented SAD class but, more or less, it is just the master’s version of SAD2 that I took at SUNY Empire State College several years ago. This is one of the only two classes that I will have taken three of during my career at university the other being Java programming (Java Programming and Algorithms in Java at ESC and Java Programming at RIT.) I really enjoyed SAD as an undergrad so I am really looking forward to this class now. It starts officially on Monday. I am really excited about the textbook. It is an insanely expensive book at $160 but I found it used for just $60 but when it arrived today it was the most completely mint, brand-new book ever. It was even still shrink-wrapped and had not even even been opened as if it had been on a shelf and browsed. This was the best deal ever.

Tomorrow is my day at home with Oreo.  That is good because tonight is my first night without dedicated overnight support fielding my support calls during the off-hours.  So I will be on primary support starting at around two in the morning for Bahrain and three in the morning for London and Belfast.  Technically support is needed all night because of the Pacific Rim (Tokyo, Hong Kong, Singapore, Sydney, etc.) but they don’t really need anything ever.

Before going to bed I fired up the computer in the living room and got all logged into the office and set up so that I could work quickly and easily during the night.  I don’t want to be fighting to log in while attempting to wake up if someone needs me.  And I wanted all of the extra email cleaned up and deleted and anything lingering to be taken care of before the long night began.  I ended up working from midnight until just after one in the morning.  Then it was off to bed.

For those of you following the furlough news for me – there have been some changes proposed and I should know my furlough schedule tomorrow.  I hope.  Dominica and I are currently kicking around the possibility of escaping to Playa del Carmen on the Mayan Riviera in Mexico and potentially some combination to also head down to San Pedro Town in Belize or, to go in a completely different direction, possibly heading east to Croatia.  It is going to depend on timing and our finances.  We would definitely prefer Croatia but a short window of opportunity or the high costs of flights may force us one way or the other.

Linux CPU Speed Reporting

Linux has multiple means of reporting CPU speed. This can make hardware discovery difficult depending on what source you attempt to use as your reference point. You may discover that two sources, such as cpuinfo and dmidecode produce entirely different results. Your first inclination will probably be that one of these is inaccurate but there is generally a reason for this disparity.

In my examples I will be working from Red Hat Enterprise Linux 4 running on an HP DL585 G2 using dual-core CPUs. This model uses AMD Opteron processors which are natively 64bit and based on the AMD64 architecture (a.k.a. x86-64 or x64.)

We will begin by looking at the output of dmidecode. Dmidecode is the most standard method for retrieving this type of information. We know that all four of our processors will be identical due to SMP limitations so we will not bother to look at all four of them – one will be sufficient. Using dmidecode we can retrieve both the Max Speed of the board as well as the Current Speed of the installed processors.

dmidecode | grep "Current Speed" | head -n 1
Current Speed: 2400 MHz

dmidecode | grep "Max Speed" | head -n 1
Max Speed: 2400 MHz

In this case we can see that we are dealing with processors of 2.4GHz which, according to dmidecode, is the fastest processor available for this revision of the motherboard. Often maximum speeds can be changed by the BIOS so do not be surprised if a firmware update changes this number. The “head -n 1” is simply for clarity to remove the extra processors – they all show identical information. Dmidecode pulls its information directly from the system firmware.

Cpuinfo in the proc filesystem is full of very useful CPU information and should be a primary source of discovery. In should be noted, however, that /proc/cpuinfo can be misleading if used incorrectly but that it contains some of the most important information to our system. Again we will only look at a single CPU instance in this example.

grep MHz /proc/cpuinfo | head -n 1
cpu MHz : 1004.694

In this case we see that cpuinfo is reporting to us that the processors are running at just 1GHz. This is a very different number than what we saw with dmidecode. The reason for the difference in the reported speed is that dmidecode is showing the processor’s rated speed – more or less its model number. This is why the speed is an even number. Cpuinfo, on the other hand, is reading the current speed directly from the CPU clock. Normally we would expect these numbers to be very close to each other with an acceptable degree of rounding. This dramatic difference in speeds is because the server is mostly idle and the CPU has been stepped down by the kernel to save power while it is not needed. This is an important power saving characteristic of newer processors and needs to be taken into account when using CPU speed reporting tools.

We can find additional information, as detected during the boot process, from dmesg. Dmesg will give us the maximum detected speed of our process as well as some very useful information if we just know where to look.

dmesg | grep "MHz processor"
time.c: Detected 2411.266 MHz processor.

dmesg | grep "powernow" | head -n 6
powernow-k8: Found 8 Dual-Core AMD Opteron(tm) Processor 8216 processors (version 2.00.00-rhel4)
powernow-k8: 0 : fid 0x10 (2400 MHz), vid 0xa
powernow-k8: 1 : fid 0xe (2200 MHz), vid 0xc
powernow-k8: 2 : fid 0xc (2000 MHz), vid 0xe
powernow-k8: 3 : fid 0xa (1800 MHz), vid 0x10
powernow-k8: 4 : fid 0x2 (1000 MHz), vid 0x12

As you can see from the first command output, dmesg tested the processors and determined that they are approximately 2.4GHz which corresponds to the rated speed as shown by dmidecode. We can see here that dmesg believes that this server has eight CPUs which is technically correct as each Opteron in this configuration is truly two processors. This is confusing, though, because it reports eight dual-core processors which is not correct. There are four dual-core processors here. Each dual-core is two discrete processors for eight total with just four sockets (semantic difference between the die configuration of Intel and AMD chips.)

What we are really interested in, in the above output, is the five PowerNow K8 levels – zero through four. These are the five speed steps available to our processors. When viewing the output of /proc/cpuinfo we should see the processor to be at one of the speeds indicated here as being available to us. This can be extremely useful information.

We can also discover some simple CPU count information through our first two tools. Each tool views the system differently so we need to be aware of what we are looking at. Dmidecode views the system from a socket perspective and cpuinfo views the system from a core perspective (which can be either an independent CPU or cores within a single CPU – AMD versus Intel ideology.)

dmidecode | grep "Central Processor" | wc -l
4

grep processor /proc/cpuinfo | wc -l
8

As you can see, it is important to know which view of the processor you are speaking about. This will become ever more important as CPUs continue to increase in cores per CPU, CPUs per socket and threads per core!

To gain more insight into the CPU discovery process I will now run through the same examples but on an HP DL380 G5 server using two quad-core Intel XEON processors based on its Core 2 architecture.

dmidecode | grep "Current Speed" | head -n 1
Current Speed: 2333 MHz

dmidecode | grep "Max Speed" | head -n 1
Max Speed: 4800 MHz

grep MHz /proc/cpuinfo | head -n 1
cpu MHz : 2333.337

dmesg | grep "MHz processor"
time.c: Detected 2333.337 MHz processor.

dmidecode | grep "Central Processor" | wc -l
2

grep processor /proc/cpuinfo | wc -l
8

Unfortunately the trick used on the AMD Opteron to display the steppings of the PowerNow architecture does not work with the Intel processors. But we can see here how the discrepancy between processor reporting methods varies even more dramatically as we move towards more multi-core processors.

March 4, 2008: Microsoft’s East Coast Launch Event

Today is the New York City launch of the Microsoft 2008 product line. The official initial launch was held in Los Angeles last week but today was the kick off of the east coast tour. For those of you who have never been to a Microsoft launch event it includes all day seminars and classes in a variety of technical areas. This year the launch is for Windows Server 2008, Visual Studio 2008 and SQL Server 2008. I have been to launches previously in 2003 and 2005. I find them to be very valuable to get a quick snapshot of where Microsoft is heading for the next two to three years. It is an all day event, though, and rather exhausting.

I had to get up and get out the door even earlier than I normally would even when going into the office on the early side. The event was held at the Sheraton at seventh avenue and fifty-third. That means that I had to take the PATH to the World Trade Center and then the “E” train to seventh avenue. That meant that it took longer to get there than my usual walk to Wall Street and they wanted people to be there as early as a quarter after seven in the morning which was pretty early. I was shooting for a little closer to eight.

The morning keynote was pretty good and we got to see one of the Microsoft Technical Fellows speak and saw several demonstrations. We were provided a breakfast – orange, blueberry muffin, granola bar and orange juice. Then we had the morning technical session which ran until a quarter after one in the afternoon. We ate lunch during the session since I was in the “lengthy” morning session that had no scheduled lunch break. They provided a grilled vegetable sandwich, pretzels, red delicious apple and a Milky Way candy car.

I did get a short break between the sessions mid-afternoon so I hiked across seventh avenue to 810 Deli & Cafe to grab a large coffee and a tuna and avocado wrap before returning to the next session. I needed some caffeine to keep me going.

The afternoon session ran until just after five. All of the other sessions only went until four but I tend to be ambitious. The crowd had dwindled significantly by the time that we were leaving.

I beat Dominica and Oreo home but just five minutes. She came home and cooked dinner.

Dominica picked up Munchkin Cthulhu by Steve Jackson Games today. She has been dying to get her hands on card games for several days now.

On Sunday while hanging out with Ramona and Winni, Ramona was talking about sailing in the British Virgin Islands and mentioned this hilarious British red callbox that had been converted into a shower and installed at the end of a dock where they had, appropriately, docked. I said that I thought that that sounded exactly like the cover of Simon Winchester’s book “Outposts” which I had just read a few weeks ago – possibly while Ramona was in BVI. So I sent her a picture of the book and she identified it as the very same callbox. Now there is an incredible coincidence. Such a tiny, unremarkable spot on the face of the planet and I didn’t have a clue where that picture was taken and for her to actually have been there just a week ago and to be talking about it – madness, as they say in Belfast.

We ate dinner and watched some It’s A Different World and then I had to get to work to make up a bunch of things that didn’t get completed today because I was at the Microsoft show. So I worked about two hours until a bit after eleven. Dominica played more of MySims while I worked.

We had another Amazon order arrived today. I received “Interface Oriented Design”, “More News from Lake Wobegon” Audio CDs and the fourth season of Allo, Allo from the BBC circa 1987.

March 3, 2008: Furlough Surprise

I managed to get up and get moving this morning and get in to work on the early side. Just to find out that I am getting furloughed in about two weeks. (For those not familiar, a furlough is a layoff that is supposed to be temporary.) So in roughly two weeks (date to be determined) I will be out of work for two weeks. 🙁

Unfortunately because of the short notice Dominica and I haven’t had time to contemplate a vacation at all. This year is our five year anniversary and her thirtieth birthday and it would be a perfect chance to travel a little and actually take some time off. We really wanted to go somewhere for our anniversary this year but everything will be incredibly expensive doing it at the last minute. So we have no idea what we are even going to attempt to do let alone be able to do. Dominica does not have any vacation time saved up at work so it will be extra difficult (and expensive) for her to take time off. So we have no idea what we are doing.

Tomorrow is the Microsoft 2008 Release Event here in New York City. I got approved to be able to go to that a month or two ago. So I will be at that tomorrow up in midtown all day. It will be a nice change of pace. I haven’t had an opportunity to go to any of Microsoft’s sessions in the last two years. I used to go to these things all of the time. Although this is the last really big launch event since the 2003 Launch Event which I felt was quite valuable.

I stopped in at Airlie Cafe on my way into the office this morning and grabbed a breakfast sandwich as well as a salad to have as my lunch. That is all that I managed to eat all day and I was really hungry and tired by the end of the day at the office.

Dominica and I spent a lot of time today trying to figure out what me having two weeks off means. Does it mean that we should go on a vacation – a vacation with no money and no time to plan and without any firm details? Because we didn’t know until this morning that I was going on furlough she doesn’t have any vacation time saved up with causes additional problems. We thought about going to Europe but with the US dollar in such horrible shape against the Euro that seems like an extremely bad idea. So we are talking about maybe going to Mexico. But we really have no idea.

If you like Star Wars you will love “Star Wars According to a Three Year Old“.

I ended up getting stuck in the office quite late.  Much later than I had anticipated.  Some schedule work that I had from eleven in the morning got rescheduled until one thirty and then didn’t actually start until after three and took four and a half hours.  So it turned into a long day quickly on me.

I got home and Dominica cooked a really cool new dish that involves corn muffins, sautéed vegetables and baked acorn squash.  It was delicious.  We ate out dinner and watched the first two episodes of A Different World, the Cosby Show spin off about college life.  Boy did that show bring back memories.  I had totally forgotten about that show and I must have watched it all of the time.

We only got forty-five minutes of relaxation or so before I was paged out and had to work for another hour.  It has really been a long day now.  So that took me until nine thirty before being really done at the office.  Then I took half an hour to do some consulting work for a certification exam that I am working with but that took very little effort.

Dominica spent the evening alone playing MySims that I got for her for Christmas.  She didn’t even play it once for two months but has been playing it a bit the last few days.  I went to bed just after ten and we watched one more episode of our show while falling asleep.  Tomorrow is a very early day for me so I will be rather tired.  I will also be away from the office all day.

Today was my chance to check and see how SGL did in the month of February with my first full month of Google Analytics data. The most interesting things to note are that my technology articles are by far the most popular things that I write and that people from sixty countries read the blog just during February. I is amazing to think of how many people from all over the world are interested in SGL. Here are the countries, in order of visits, that have come to SGL this past month: United States, United Kingdom, Canada, Germany, India, Australia, Malaysia, Sweden, Ireland, Netherlands, France, South Korea, Mexico, Poland, Switzerland, Italy, South Africa, Japan, Hong Kong, New Zealand, Netherlands Antilles, Denmark, Romania, Turkey, Finland, Thailand, Azerbaijan, Spain, Austria, China, Brazil, Hungary, Trinidad and Tobago, Serbia and Montenegro, Belgium, Singapore, Dominica, Bosnia and Herzegovina, Colombia, Russia, Pakistan, Saudi Arabia, French Polynesia, Sri Lanka, Greece, Cyprus, Chile, French Guiana, Czech Republic, Costa Rica, Taiwan, Kyrgyzstan, Estonia, Ghana, Iran, Norway, Luxemburg, Israel, Philippines and Argentina.

Here are some additional interesting facts about my visitors: Firefox beat out Internet Explorer as the most popular browser. While Windows was clearly the most popular operating system to visit SGL, Linux visitors neatly doubled the presence of Mac OS visitors. Solaris even made a reasonable showing at .4% more than doubling visitors from the Sony Playstation Portable. Somehow the hideously small 1024×768 was by far the most popular screen resolution. About one half of one percent of our visitors see the site as ScottAndDominica.com and not as SheepGuardingLlama.com.

March 2, 2008: Playing on AsoBrain

Dominica’s first thing this morning was playing MySims on the Nintendo Wii. She is starting to get into it a bit. It is a cute and simple game but it looks like it might be a bit of fun. It adds some new twists to the Sims family of games. The graphics are definitely good. Very pleasant which makes the game quite relaxing to play. I enjoy watching Dominica play Sims games. I don’t really like playing any of them myself but they are interesting and I can see why people enjoy them.

We met up with Ramona and Winni around noon. We would have been over there sooner but our valets today completely fell apart and it took us fifty-five minutes to get out car out of the garage and we had to go over there and get it ourselves. Then we had to fight with the managers in the garage who just couldn’t understand that we wanted to be able to drive our car and that holding it hostage was not acceptable. The turn around time on a car is supposed to be just fifteen minutes and waiting almost and hour and having to walk to Military Park to get the car ourselves on a slow Sunday afternoon when there should have been more than ample time is really a problem.

The four of us drove down to Elizabeth, New Jersey to try to find some board games at Toys R Us. But really shopping in Elizabeth is not the best place to find intellectual games and the store there was completely devoid of them. We did pick up Mad Gab which Dominica and I learned to play while we were last visiting my family in Ohio. So then we were off to breakfast.

We discovered a diner in Elizabeth that we ended up really liking. The food was good and inexpensive and the people there were really nice. We will definitely be going back there again. They also had fried New Jersey crab cakes on mac and cheese which I have not had since going to the Omega Diner down in North Brunswick more than a year ago.

We hit Best Buy because our wireless access point hasn’t been working recently and it was always a bit problematic. So we decided to just pick up an Apple AirPort Extreme to use as our wireless. It wasn’t cheap but it is attractive and supposedly works extremely well so we decided to just give it a try. It has an included Gigabit Ethernet switch which might be nice depending on how we end up using the system. The AirPort also supports 802.11n which is makes it the first device that we have that will do that.

We recently decided that we are moving our home “entertainment system” over to Apple Mac and AppleTV based so the AirPort Extreme plays into that very well. Our short term plan is to get a Mac Mini for the living room which we will use as our “iTunes Server” and to keep using our AppleTV in our bedroom as our remote television station. Eventually, if and when we manage to get a house again we expect that we will have a guest bedroom and, in that case, we will add another AppleTV to add television to that room as well. We have a plan and it seems to work pretty well.

What I wish that Apple would now do, considering the pieces of the system that they have in place already, is design and build a dedicated “iTunes Media Server”. The ITMS unit idea would be that it would be a standalone unit with four hard drives (up to four terabytes of raw storage or three terabytes with RAID 5) that runs iTunes internally and is used to feed program content out to AppleTV, FrontRow or iTunes on Windows. It should also have one or two USB connections that could be used for syncing an iPod. The interface would be controlled by iTunes on Windows or Mac (or Linux, hint, hint) but all data would be handled local on the ITMS. The iTunes on the ITMS would run continuously so that no computer would need to be left on in order for subscription content to be downloaded at any time day or night. I believe that this is a key component missing from Apple’s iTunes and AppleTV strategy. And I also think that if they decide to build such a device that they should send me one for free for coming up with the idea (hint, hint.) Other possible features of the ITMS could be the inclusion of Time Capsule compatibility, a built in AirPort wireless access point and possibly even routing capabilities to make this truly an all-in-one unit. Although I would prefer it without all of the extra capability with the exception of the Time Capsule feature which I think is perfect for this device and ends up filling another important gap in the Apple lineup – that of RAID protected Time Capsule storage.

We came back to Eleven80 and set up the AirPort so that we could put Ramona and Winni’s laptops online and we taught Dominica how to play Settlers of Catan online. We ended up having someone from Slovakia jump into our game. He was rather annoying but it gave Dominica a chance to learn to play with Ramona sitting with her and showing her how to play. It worked really well and Dominica ended up completely demolishing everyone.

We had a small shipment from Amazon arrive today too. I am guessing that it actually arrived yesterday and we just failed to check the mail. We received the first season of A Different World and the second half of the fourth season of Family Guy. I also got “Lake Wobegon U.S.A.” which is the third in a collection of “News from Lake Wobegon” Audio CD collections. The other two in the series are “News from Lake Wobegon” and “More News from Lake Wobegon”. They are generally considered to be roughly the best fifteen hours of the classic “News from Lake Wobegon” stories. I also got the book “Agile Retrospectives” which I have been looking forward to reading for a while.

We ordered in dinner from Dominos. And then it was back to Settlers.  The game took a while to play (we are playing to thirteen points) and that was all the more time that we had tonight.  Ramona and Winni headed back home at eleven thirty on the Eleven80 shuttle.