How Big is Your Processor Cache? Find out with Coreinfo

Tuesday, November 24th, 2009

Need to know how big the caches are on your processor? You could wade through the copious documentation on Intel or AMD’s web sites. It turns out this is no fun at all. I did this last week and still didn’t have the answer after skimming several white papers. ...

C# Optimization Revisited Part 3: The “Native Option” C++

Tuesday, September 1st, 2009

In part 1 and part 2 of my thread on C# optimization there was a lot of talk about algorithms and the like. The next two posts take a different tack… first re-implementing the same algorithm using different languages and then in a different language and hardware. It turns out ...

N-Body Modeling and Technical Computing Resources

Thursday, April 16th, 2009

Someone asked for a list of resources on N-Body modeling. I had a bunch of links in my favorites so here they are. I also threw in some more on technical computing and writing high performance code.

C# Optimization Revisited Part 2: Concurrency

Wednesday, March 25th, 2009

In Part 1 of Optimization Revisited I considered, with the help of Bill Clinton, improving performance by using a fundamentally better algorithm rather than micro-optimizing an existing one. One thing that’s pretty obvious looking at the CPU usage on a  machine with more than one core is that even the ...

C# Optimization Revisited Part 1: Algorithms and Bill Clinton

Thursday, March 19th, 2009

As part of my journey in technical computing I’ve been writing a gravitational N-body simulation. Turns out you learn a thing or two about optimization when building numerical simulations that need to run as fast as possible. First off I used Vance Morrison’s code timer library to run multiple ...

Building a Green Windows Home Server: The 37 Watt Server

Sunday, September 14th, 2008

Which uses more power, the AeroCool Green Home Server or a 40 Watt light bulb? You guessed it, the light bulb looses. A few hours playing with a Smart-Watt meter hooked up to my home server I came up with some power usage numbers. While idle the Home Server consumes less ...

Building a Home Supercomputer

Thursday, September 11th, 2008

So having successfully put together a home server my mind started to wonder to desktop super computing and gravitational modeling. Which is when I came across this...  Building home linux render cluster "24 cores that run each at 2.4 Ghz, a total of 48GB ram, and just need 400W ...

Building a Green Windows Home Server: Installing the Software

Friday, September 5th, 2008

So now the hardware all seems to be working it's time to install Windows Home Server and any associated add-ins. More importantly there are some drivers, BIOS and operating system settings to update in order to get the best performance from your system and reduce it's power consumption. The ...

C# String Assignment Optimization

Tuesday, August 26th, 2008

I happened to come across the following code the other day. string cost = "FR" + "E" + "E"; // bad perf = true J Which, after my performance investigation the other day, got me wondering again. Is there performance really going to be ...

C# Inline Methods and Optimization

Tuesday, August 19th, 2008

Last night I was playing around with a vector class that's part of a scientific computation code I've been working on. It's a long story more on that later but it means I've found some of my own time to write code in. Anyway... The Vector class uses the automatically ...