Virtual Machine to the Rescue!!
I just took a humongous sigh of relief a few moments ago because finally I found a solution to something that had been bugging me for the past many days. Basically I am trying to work on a project for Advanced Computer Architecture. My partner and I decided to work on architectural techniques to reduce power consumption dynamically. Now this is a very novel concept, where you change things in your processor based on detection of excessive temperatures.... say shutdown some parts of the processor or reduce the amount of speculative execution based on such a temperature reading. Well to test some of the techniques that we had in mind, we needed to use this Power Simulator called Wattch. Unfortunately, Wattch was coded in Princeton in 2000 and worked fine on Redhat 6.0. However if you try to use this code today to run on a Solaris or Redhat 9 machines youd get a bunch of errors because of datatype and function changes in the GCC header files. I spent almost a week trying to find the correct header files for all those teeny tiny functions in the code and took help from some of the smartest people in CS at UW, but all to no avail.
Finally Kai Ting, a friend of mine from GE suggested that I use a Virtual Machine from VMWare to emulate a new machine, install Redhat 6.0 on it and then make Wattch work on this Virtual Machine!! I havent completely tried the idea yet, but it's such a superb idea!! I think this will work and it will finally help save my butt like big time. I was scared that I would do really bad on the course, because my project was going soooo bad but now seems like there is hope! Thanks Kai and thanks VMWare.... Deeper Thought (that's my dumb PC at home) has a Virtual Machine running on it now!!
No comments:
Post a Comment