Upload
sylvester-duffy
View
27
Download
2
Tags:
Embed Size (px)
DESCRIPTION
www.xjtu.edu.cn. Dprocess on SMP. Siyuan Ma. Arch. Ft process. User console. Ft event queue. Ft daemon. Ft_kthread_queue. Ft daemon. Ft daemon. Ft event queue. compare error. socket error. sync error. sync error. period event. sync error. sync error handler. - PowerPoint PPT Presentation
Citation preview
Ft daemon
compare error handler
Ft daemon
Ft event queue
compareerror
sync error handler
syncerror
socketerrorsync
error
syncerror
periodevent
Tell the consolefork a new twin
Tell the console
period event handler
Check ft queue
Report to console
log
close the ft modeKill the error process
Ft daemon cons
central fault handler make it easy to change the ft policy
do not affect the running of ft processes even if it is down
pros Single Point of Failure
more centralization, less fault tolerance
able to improve sort the event queue before handler it, more analysis More option in console Periodic reboot to overcome the Single Point of Failure
User process breakdown
timer
Sync?
Sync?
Sync?
sleep on a queue to wait brother
add a timer
FT Daemon
•User process moniter
•Reboot abnormal process
Process X
Process X’ Code Seg 1
Code Seg 1
Sync 1
Sync 1
Code Seg 2
Code Seg 2
Sync 2
Sync 2
Code Seg 3
Code Seg 3
Sync 3
Sync 3
Sync
remove the timer
Wake up the brother
Sync
Time out?
Brother gone?