Summary: | 碩士 === 國立清華大學 === 電機工程學系 === 90 === With the ubiquity of the World Wide Web (WWW), more and more appliances have networking capabilities and are hooked on the Internet. If they are embedded with a Web server, users can control these appliances through a Web browser anywhere in the world. Design of embedded Web servers thus becomes a very important research topic. One research issue is the choice of the programming language for building an embedded Web server. Java is a simple, small, secure and object-oriented language that promotes clean interfaces and software reuse. These features make Java an ideal tool for building an embedded Web server. Among the methods of executing Java bytecodes, Java processor is very suitable for embedded systems. Since power dissipation and thermal issues become increasingly significant in modern processor design, this thesis studies the power/performance of Java processors when used in embedded Web servers. We select Sun Microsystems picoJava-II as our reference and study its power/performance ratios for different folding models.
We construct an embedded Web server by HP ChaiServer and trace its bytecodes. Next, the performance of the picoJava-II with pattern-based and rule-based 2-foldable, 3-foldable and 4-foldable folding models are simulated and evaluated with a bytecode-level simulator. The power consumption of the simulated picoJava-II is obtained by synthesizing the RTL code of picoJava-II. Simulation results show that, the pattern-based 2-, 3-, 4-foldable strategies of picoJava-II can eliminate 30%, 52% and 53% stack operations in the HP ChaiServer trace file respectively. However, ruled-based folding can respectively eliminate 49%, 83% and 93% stack operations. Moreover, power analysis shows that the rule-based 2-foldable strategy has the lowest power/performance ratio.
|