Www.xjtu.edu.cn Dprocess on SMP Siyuan Ma.

Slides:



Advertisements
Similar presentations
Hamilton Venus Software Error Handling
Advertisements

Use Cases for Fault Tolerance Support in MPI Rich Graham Oak Ridge National Laboratory.
Barber Shop 1 Barber Customer Queue. 2 C1C2C3 Barber Before Opening Customers waiting in queue.
Parasol Architecture A mild case of scary asynchronous system stuff.
Thursday, June 08, 2006 The number of UNIX installations has grown to 10, with more expected. The UNIX Programmer's Manual, 2nd Edition, June, 1972.
Unix Processes.
1 Process Description and Control Chapter 3 = Why process? = What is a process? = How to represent processes? = How to control processes?
University of Pennsylvania 9/12/00CSE 3801 Multiprogramming CSE 380 Lecture Note 3.
BINA RAMAMURTHY UNIVERSITY AT BUFFALO System Structure and Process Model 5/30/2013 Amrita-UB-MSES
Scheduler Activations Jeff Chase. Threads in a Process Threads are useful at user-level – Parallelism, hide I/O latency, interactivity Option A (early.
Server Design Discuss Design issues for Servers Review Server Creation in Linux.
Operating Systems CSE 411 CPU Management Sept Lecture 11 Instructor: Bhuvan Urgaonkar.
Process Description and Control Chapter 3. Major Requirements of an OS Interleave the execution of several processes to maximize processor utilization.
Dr. Pedro Mejia Alvarez Software Testing Slide 1 Software Testing: Building Test Cases.
Fault Tolerance BOF Possible CBHPC paper –Co-authors wanted –Tammy, Rob, Bruce, Daniel, Nanbor, Sameer, Jim, Doug, David What infrastructure is needed.
Chapter 3 Process Description and Control
Operating Systems ECE344 Ashvin Goel ECE University of Toronto OS-Related Hardware.
Process. Processes A process is an abstraction for sequence of operations that implement a computation/program. A process may be manipulated, suspended,
1 RTOS Design Some of the content of this set of slides is taken from the documentation existing on the FreeRTOS website
Operating Systems ECE344 Ashvin Goel ECE University of Toronto Thread Scheduling.
CS 162 Discussion Section Week 6 3/6 – 3/7. Today’s Section ●Administrivia (5 min) ●Quiz (5 min) ●Lecture Review (15 min) ●Worksheet and Discussion (25.
VERITAS Cluster Server for Solaris Event Notification.
Report from USA Massimo Sgaravatto INFN Padova. Introduction Workload management system for productions Monte Carlo productions, data reconstructions.
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
Exceptions cs1043. Program Exceptions When a program detects an error, what should it do? – Nothing, simply allow the program to fail. – Implement a course.
Processes Questions answered in this lecture: What is a process? How does the dispatcher context-switch between processes? How does the OS create a new.
1 Chapter 4 Processes R. C. Chang. 2 Linux Processes n Each process is represented by a task_struct data structure (task and process are terms that Linux.
Kernel mode linux. Why? ● The pros – There is a C like interface inside the Linux kernel already. – The speed. – The size of AP. ● The cons – Missing.
Process Models, Creation and Termination Reference –text: Tanenbaum ch. 2.1.
Concurrency & Context Switching Process Control Block What's in it and why? How is it used? Who sees it? 5 State Process Model State Labels. Causes of.
(a) What is the output generated by this program? In fact the output is not uniquely defined, i.e., it is not necessarily the same in each execution. What.
Week 3 January 22, 2004 Adrienne Noble. Today CVS – a great tool to use with your groups Threads – basic thread operations Intro to synchronization Hand.
EU 2nd Year Review – Feb – WP4 demo – n° 1 WP4 demonstration Fabric Monitoring and Fault Tolerance Sylvain Chapeland Lord Hess.
Processes, Threads, and Process States. Programs and Processes  Program: an executable file (before/after compilation)  Process: an instance of a program.
- Manvitha Potluri. Client-Server Communication It can be performed in two ways 1. Client-server communication using TCP 2. Client-server communication.
Process Description and Control Chapter 3. Source Modified slides from Missouri U. of Science and Tech.
CS 390 Unix Programming Environment
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
Managing Processors Jeff Chase Duke University. The story so far: protected CPU mode user mode kernel mode kernel “top half” kernel “bottom half” (interrupt.
More Discussions on hw5 Timer interrupts –called ticks. ISR called tick handler Kernel uses ticks for: –time keeping, incrementing the global system time.
Processes 2 Introduction to Operating Systems: Module 4.
Where Testing Fails …. Problem Areas Stack Overflow Race Conditions Deadlock Timing Reentrancy.
HTCondor’s Grid Universe Jaime Frey Center for High Throughput Computing Department of Computer Sciences University of Wisconsin-Madison.
Process Control Daemon For Embedded Linux Platforms Speaker: Hai Shalom rt-embedded.com/pcd.
Fault Screen (“FAULT”)
CS 3340 Windows Programming
Chapter 4 Booting and Shutdown
Processes A process is a running program.
How to Fix the Automatic Repair Loop in Windows 8.1
Tarek Abdelzaher Vikram Adve Marco Caccamo
Hotmail Tech Support phone number Ireland.
Windows Server 2012 missing WMVCore dll
System Structure and Process Model
System Structure and Process Model
Structure of Processes
Objective: Be able to add and subtract directed numbers.
System Structure B. Ramamurthy.
Process Models, Creation and Termination
CHAPTER 8 ( , ) John Carelli, Instructor Kutztown University
Aseismic Slip and Repeating Earthquakes on the San Andreas Fault
I/O Procedures.
Process Control B.Ramamurthy 2/22/2019 B.Ramamurthy.
Unix Process Control B.Ramamurthy 4/11/2019 B.Ramamurthy.
Page Allocation and Replacement
Processes Creation and Threads
Reference Membrane Location
Process Description and Control in Unix
Process Description and Control in Unix
Objective: Be able to add and subtract directed numbers.
use your multiplication chart for help:)
Presentation transcript:

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 sync error compare error socket period event sync error sync error handler compare error handler period event handler Kill the error process Check ft queue close the ft mode Tell the console Report to console Tell the console fork a new twin log

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 Code Seg 1 Sync 1 Code Seg 2 Sync 2 Code Seg 3 Sync 3 Process X Code Seg 1 Sync 1 Code Seg 2 Sync 2 Code Seg 3 Sync 3 Process X’ Sync sleep on a queue to wait brother add a timer timer Sync? Time out? Sync FT Daemon User process moniter Reboot abnormal process remove the timer Wake up the brother Brother gone?

Recovery process x process x’ process x’’ Ft daemon handler sync killed by daemon double fork process x sync timeout sync sync exit wake up process x’ fork by process 2 exit process x’’ Ft daemon handler