October 2005 - Posts

Twenty Seven?

Having just completed my 27th lap around the sun I feel rather tired.

:)

Anyone recall that David Shore (House) quote about the earth making it around the sun one more time?


© 2005 Kenny Kerr

Posted by KennyKerr with 4 comment(s)

Max CPU: Another one for your developer toolbox...

For various reasons, mostly related to my day job, I often find it useful to simulate excessive CPU usage. I’m sure every developer that has been coding for a while has at one point written the following program.

int main()
{
    while (true);
}

(For the C# programmers out there, this is in fact a perfectly valid C++ program.) Of course today it is common to have multi-processor computers, or at least multi-core or hyper-threaded processors in which case the program above will only max out one of the logical processors on the computer.

For this reason I wrote the Max CPU program to provide a simpler and more convenient way of maxing out my processors.


Single 64-bit dual-core Intel Pentium

Max CPU will determine how many logical processors are currently available and allow you to stress any number of them.


Dual Intel Xeon with Hyper-Threading

The program creates one thread for every processor and each thread will automatically spin or sleep depending on the position of the slider control.

Of course you can set the processor affinity thus limiting the processors that the threads can get executed on but that would be cheating.

:)

And just in case you accidentally raise the process priority, I have lowered the relative priority of the “processor threads” so that they won’t starve your computer.

It doesn’t minimize and defaults to being a top-most window to avoid you forgetting to stop it since you don’t want to be running this little guy in the background just for fun.

Anyway, I find this little tool useful. I have no idea if it will interest anyone else but I thought I’d share it anyway.

Download the executable and save it to a local drive before running it. It requires the .NET Framework 2.0 and will run natively as either a 32-bit or 64-bit process depending on your operating system.


© 2005 Kenny Kerr

 

Posted by KennyKerr with 8 comment(s)

The Lesser Spotted Security MVP

For all those MVPs who didn’t managed to find me in the crowd at the Summit, Raffaele Rialdi managed to get a photo of a few of the security MVPs hanging out with Michael Howard.


© 2005 Kenny Kerr

Posted by KennyKerr with no comments

Martyn Lovell blogs again…

I just noticed that Martyn Lovell has started blogging again at a new home on blogs.msdn.com

Martyn is the dev lead on the Visual C++ Libraries team. Besides for being a smart guy, he’s also a really interesting guy to talk to. I had a fun conversation with him some time back... Subscribed!


© 2005 Kenny Kerr

Posted by KennyKerr with no comments

Media Center Update

The “Update Rollup 2” for Windows XP Media Center Edition 2005 was just posted on the MSDN Subscriber downloads website. Go grab it while it’s hot!


© 2005 Kenny Kerr

Posted by KennyKerr with no comments

MVP Summit Concludes

I arrived home a few days ago and realized that I didn’t get to meet half the people I had hoped. With so many MVPs and such a busy program, it was really hard getting a moment to track everyone down.

It was a pleasure meeting Rafael Munoz, Rick Samona, Blaine Wastell, J.D. Meier, Michael Howard, Nicole Calinoiu (finally in person), Raffaele Rialdi, Robert Hurlbut, Valery Pryamikov, Jamie CansdaleScott Hanselman (virtually), Avi Ben-Menahem and many more.

I met Robert at the last minute and didn’t really get a chance to chat much. He is also looking for a new consulting gig if you need some expert security help.

Hey Scott, time to update your Ultimate Tools List?

;)


© 2005 Kenny Kerr

Posted by KennyKerr with 6 comment(s)
More Posts