1 / 18

Direct Execution of Linux Binary on Windows for Grid RPC Workers

Direct Execution of Linux Binary on Windows for Grid RPC Workers. Uemura, Y.; Nakajima, Y.; Sato, M. IEEE International Parallel and Distributed Processing Symposium, IPDPS,March,2007. Reporter:Tung-Yen Haieh. Outline. Introduction

zubeda
Download Presentation

Direct Execution of Linux Binary on Windows for Grid RPC Workers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Direct Execution of Linux Binary on Windows forGrid RPC Workers Uemura, Y.; Nakajima, Y.; Sato, M. IEEE International Parallel and Distributed Processing Symposium, IPDPS,March,2007. Reporter:Tung-Yen Haieh

  2. Outline • Introduction • Hybrid Grid Environment: Executing Linux Programs on Windows • Design and Implementation of the BEE Agent • Integration of BEE into the OmniRPC System • Performance of Hybrid Grid Environment using BEE • Conclusion

  3. Introduction(1/2) • Nowadays, local area or campus-type networks consist of PCs using different operating systems, including Windows and Linux. • To build a largescale grid environment, PCs in offices and laboratories are expected to be used as computational resources in addition to dedicated conventional PC clusters.

  4. Introduction(2/2) • This paper has designed and implemented an agent called BEE, which enables direct execution of Linux binary programs on Windows for a Grid RPC worker. • This paper has integrated the BEE agent into an OmniRPC system in order to make use of Windows PCs as computing resources in a hybrid grid environment combining Windows PCs into grid computing resources.

  5. Hybrid Grid Environment: Executing Linux Programs On Windows(1/3)

  6. Hybrid Grid Environment: Executing Linux Programs On Windows(2/3) • Flexibility: Windows users (PC owners) can work as usual while the worker program runs. If possible, the program should run with low priority, or only when the PC is idle. • Efficiency and Performance: When running the worker program, the execution should be nearly as fast as native ported binary.

  7. Hybrid Grid Environment: Executing Linux Programs On Windows(3/3) • Manageability: The user can setup the environment and prepare the program running in Windows with minimal cost. • Using cross-platform compilers such as Cygwin • Using virtual machine software such as VMware

  8. Design And Implementation Of The BEE Agent(1/5) The BEE has two functions: • The binary program loader • It is a function by which to load a Linux binary program into the Windows memory address space. • The system call emulator. • The system call emulator is a function by which to emulate Linux system calls.

  9. Design And Implementation Of The BEE Agent(2/5)

  10. Design And Implementation Of The BEE Agent(3/5) BEE executes the Linux binary program in following steps: • 1) Before executing the Linux binary program, the interrupt handler for the software interrupt 0x80 of the Linux system is called by using the device driver in the IDT. • 2) The binary program loader loads the specified binary into its own address space and runs as a Windows process. • 3) When a system call occurs during execution, the registered interrupt handler is invoked.

  11. Design And Implementation Of The BEE Agent(4/5) • 4) The interrupt handler returns the control to the system call emulator in BEE. • 5) BEE emulates the system call and returns control to the caller of the system call to continue the execution. • 6) When the exit() system call is called, BEE terminates.

  12. Design And Implementation Of The BEE Agent(5/5)

  13. Integration Of BEE Into The OmniRPC System(1/5)

  14. Performance Of Hybrid Grid Environment Using BEE(2/5)

  15. Performance Of Hybrid Grid Environment Using BEE(3/5)

  16. Performance Of Hybrid Grid Environment Using BEE(4/5)

  17. Performance Of Hybrid Grid Environment Using BEE(5/5)

  18. Conclusion • The paper proposed a mechanism that utilizes Windows PCs as workers of a Grid RPC system in a hybrid grid environment that contains Windows and Linux PCs. • It has designed and implemented an agent called BEE that consists of a binary program loader and a system call emulator to enable a worker program imported from Linux to run under Windows.

More Related