Presentation is loading. Please wait.

Presentation is loading. Please wait.

Context Switch in Reconfigurable System Sun, Yuan-Ling ESL of CSIE, CCU 10.11.2005.

Similar presentations


Presentation on theme: "Context Switch in Reconfigurable System Sun, Yuan-Ling ESL of CSIE, CCU 10.11.2005."— Presentation transcript:

1 Context Switch in Reconfigurable System Sun, Yuan-Ling ESL of CSIE, CCU 10.11.2005

2 Outline Introduction Context Switch Conclusions

3 Outline Introduction Context Switch Conclusions

4 Introduction What is context? Software: CPU registers, process state and memory management information … (stored in process control block ) Hardware: configuration (function) [David I. Lehn, Kiran Puttegowda, Jae H. Park, Peter M. Athanas, Mark T. Jones, "Evaluation of rapid context switching on a CSRC device,"Evaluation of rapid context switching on a CSRC device Proceedings of the International Conference on Engineering of Reconfigurable Systems and Algorithms, 2002. ]

5 The states of process States : new 、 ready 、 running 、 waiting and terminated 。

6 The states of Configuration States: new 、 ready ( reservation) 、 running and terminated. [Christoph Steiger, Herbert Walder, Marco Platzner Operating Systems for Reconfigurable Embedded Platforms: Online Scheduling of Real-time Tasks , IEEE Transactions on Computers, 53(11):1392-1407, November 2004 ] All tasks are stored in state queue. (for scheduler)

7 Process Data Structure Software: process control block

8 Configuration Data Structure Hardware : Configuration control block task state , PID , registers … area size (gate count) arrival time , execute time , deadline

9 Tables FPGA information table : FPGA total size , free size , task location , task start time , task terminal time , routing. (for scheduler , partition) Object translation table : accessible SW/HW object. (for communication)

10 Outline Introduction Context Switch Conclusions

11 Context Switching Software definition: When CPU switches to another process, the system must save the state of the old process and load the saved state for the new process. Hardware definition: The configuration activation process is known as context switching. How to map the SW/HW context switch?

12 Hardware Context Switching Kiran Puttegowda, David I. Lehn, Jae H. Park, Peter Athanas, Mark Jones, "Context Switching in a Run-Time Reconfigurable System" The Journal of Supercomputing, Volume 26 Issue 3, November 2003Context Switching in a Run-Time Reconfigurable System

13 Why needs context switching Resource: CPU time quantum limit : SW  SW FPGA area limit: HW->HW Performance : SW  HW Low power : HW  SW (SW  HW??)

14 Switch point (quiescent state) How to find switch point? Using Hot-swapping

15 Hot-swapping Algorithm Establish a quiescent state. Transfer the component state between the old and the new object. Update the reference to the component.

16 What we can use ? Object translation table Mediator Quiescent state Call count reaches zero. State transfer Preserve as much of the original state and semantics as possible.

17 Indirection

18 Mediator Forward Block Completed

19 Outline Introduction Context Switch Conclusions

20 Define hardware context. Define hardware context switch. Using hot swapping to find switch point. Future work Communication issue Implementation problem


Download ppt "Context Switch in Reconfigurable System Sun, Yuan-Ling ESL of CSIE, CCU 10.11.2005."

Similar presentations


Ads by Google