INTRODUCTION
• SIDRA AYUB
• F23-BS-BBIT-1036
• BBIT 3RD
SEMESTER MORNING
DEPARTMENT OF
MANAGEMENT SCIENCES
UNIVERSITY OF OKARA
• INSTRUCTOR:
PROF. NAFEES AHMAD
SYNCHRONIZATION
Synchronization:
• Synchronization ensure
processes in a Distributed
system work together in a
Coordination way.
WHAT IS CLOCK SYNCHRONIZATION?
Clock synchronization requires processes to bring their
clocks close together by using communication between
them
• It has four ways
1. Physical clock
2. Logical clock
3. Mutual exclusion
4. Election algorithm
Physical clock:
• Real hardware clock used for synchronization .
• It use Algorithm
1. Berkeley algorithm
2. Ntp(network time protocol)
1. Berkeley algorithm:
• Synchronization clock by averaging time .
1. Ntp:
• Ensure accurate time synchronization over a network.
Logical clock:
• Focuses on the order of events rather
ThaT actual time.
• It uses algorithm
1. Lamport clock
2. Vector clock
1.Lamport clock:
• Orders events using a single logical clock.
1. Vector clock:
• Tracks casual relationship between events using multiple
clocks.
Mutual exclusion:
• Mutual exclusion ensure only one process
Access a critical resource at a
Time.
• It uses algorithm
1. Non taken based
2. Token based
1. Non token based:
• Coordination is achieved without a
Physical token.
• It uses algorithm
1. Suzuki – kasami algorithm
2. Raymond’s algorithm
1.Suzuki- kasami algorithm:
• Uses message ( request/reply) for mutual exclusion.
1. Raymond’s algorithm:
• Uses a hierarchical structure to grant access
2. Token based:
• A token is passed among processe to
Grant access to resources.
Examples
1. Ricart- algorithm
2. Maekawas algorithm
1. Ricart-algorithm:
• Uses message passing with a token
For mutual exclusion.
Maekawas algorithm:
• Divides processes into smaller
• Groups to reduce communication
• Overhead.
Election algorithm
• Select a leader or coordinator in
• A distributed system.
• It uses algorithm
1. Bully algorithm
2. Ring algorithm
1.Bully algorithm:
• The process with the highest priority become the leader.
Ring algorithm
• Process are Organized in a circular structure,
• And the leader is elected through rotation.
Clock synchronization
Clock synchronization
Clock synchronization is the process of ensuring that
the clock of different devices or systems are consistent
with each other.
This is important for coordination operating in distributed
Systems and is achieved using methods
Like
1. Ntp
2. Berkeley algorithm
3. Gps
THANK YOU

More Related Content

PPTX
Synchronization
PPTX
Synchronization in Distributed Systems.pptx
DOC
Distributed Mutual exclusion algorithms
PPT
Chapter00000000
PDF
Synchonization in Distributed Systems.pdf
PPTX
UNIT II PPT.pptx
PPTX
Synchronization
Synchronization
Synchronization in Distributed Systems.pptx
Distributed Mutual exclusion algorithms
Chapter00000000
Synchonization in Distributed Systems.pdf
UNIT II PPT.pptx
Synchronization

Similar to sidra_ayoub[1] .pptx (20)

PPTX
Multiprocessing -Interprocessing communication and process sunchronization,se...
PPTX
3. syncro. in distributed system
PPTX
architeral design.pptx
PPTX
Lec07-Mutual Exclusion in DS.pptx
PPTX
distributed systems all about the data science process, covering the steps pr...
PPT
dokumen.tips_synchronization-in-distributed-systems-chapter-6.ppt
PPT
chapter4-processes nd processors in DS.ppt
PPTX
OS_module2. .pptx
PPT
resource management
PPT
Processes and Thread OS_Tanenbaum_3e
PPT
10-MultiprocessorScheduling chapter8.ppt
PPTX
How Operating system works.
PPTX
Operating-System-(1-3 group) Case study on windows Mac and linux among variou...
PPTX
Processes and operating systems
PPTX
Real Time Systems
PPTX
Synchronization Pradeep K Sinha
PPTX
(Slides) Task scheduling algorithm for multicore processor system for minimiz...
PPTX
Fault tolerance in distributed systems
PPTX
Lesson 05 - Time in Distrributed System.pptx
Multiprocessing -Interprocessing communication and process sunchronization,se...
3. syncro. in distributed system
architeral design.pptx
Lec07-Mutual Exclusion in DS.pptx
distributed systems all about the data science process, covering the steps pr...
dokumen.tips_synchronization-in-distributed-systems-chapter-6.ppt
chapter4-processes nd processors in DS.ppt
OS_module2. .pptx
resource management
Processes and Thread OS_Tanenbaum_3e
10-MultiprocessorScheduling chapter8.ppt
How Operating system works.
Operating-System-(1-3 group) Case study on windows Mac and linux among variou...
Processes and operating systems
Real Time Systems
Synchronization Pradeep K Sinha
(Slides) Task scheduling algorithm for multicore processor system for minimiz...
Fault tolerance in distributed systems
Lesson 05 - Time in Distrributed System.pptx
Ad

More from farantouqeer8 (20)

PPTX
Tahreem_Kousar_EconomicsSSSSSSSS_file[1].pptx
PPT
academic_writingGGGGGGGGGGGGGGGGGGGG.ppt
PPTX
POM-.hffffffffffffffffiiiiiiiiiiiiiiiiiiiiipptx
PPTX
presentationnnnnnnnnnnnnnnnnnnnnnnnn.pptx
PPTX
Group no 5 (g;iufd;ifjldfrfyif;if;iyf1).pptx
PPTX
Group # 4hjlgdlgdldkhjfdldykyhdyirey.pptx
PPTX
TAHREEM KOUSAR Operating System ASSIGNMENT.pptx
PPTX
Bad News Messages.p yfthfdyyyhhuiuuugptx
PPTX
principle of manangement.p. ptx
PPTX
Group 07 ( Work Group ). pptx.
PPTX
OPERATING SYSTEM (1008)BY. .pptx.
PPTX
Assignment Operating System Rao Hamza.pptx
PPTX
wajeeha sajjad pptx 1013. .pptx
PPT
41_P17CSC104_20201209054563635172951.ppt
PPTX
coafinal1-copy-150430204758-conversion-gate01.pptx
PPT
clock. ppt
PPT
clock (1) .ppt
PPTX
principle of manangement .pptx
PPTX
JAWERIA ZAKI ASSIGNMENT .pptx
PPTX
Faran Touqeer, Roll no 1042, Operating system Assignment.pptx
Tahreem_Kousar_EconomicsSSSSSSSS_file[1].pptx
academic_writingGGGGGGGGGGGGGGGGGGGG.ppt
POM-.hffffffffffffffffiiiiiiiiiiiiiiiiiiiiipptx
presentationnnnnnnnnnnnnnnnnnnnnnnnn.pptx
Group no 5 (g;iufd;ifjldfrfyif;if;iyf1).pptx
Group # 4hjlgdlgdldkhjfdldykyhdyirey.pptx
TAHREEM KOUSAR Operating System ASSIGNMENT.pptx
Bad News Messages.p yfthfdyyyhhuiuuugptx
principle of manangement.p. ptx
Group 07 ( Work Group ). pptx.
OPERATING SYSTEM (1008)BY. .pptx.
Assignment Operating System Rao Hamza.pptx
wajeeha sajjad pptx 1013. .pptx
41_P17CSC104_20201209054563635172951.ppt
coafinal1-copy-150430204758-conversion-gate01.pptx
clock. ppt
clock (1) .ppt
principle of manangement .pptx
JAWERIA ZAKI ASSIGNMENT .pptx
Faran Touqeer, Roll no 1042, Operating system Assignment.pptx
Ad

Recently uploaded (20)

PDF
Kalaari-SaaS-Founder-Playbook-2024-Edition-.pdf
PDF
Unleashing the Potential of the Cultural and creative industries
PDF
GSA-Past-Papers-2010-2024-2.pdf CSS examination
PPTX
IT infrastructure and emerging technologies
PPTX
CHROMIUM & Glucose Tolerance Factor.pptx
PDF
FAMILY PLANNING (preventative and social medicine pdf)
PDF
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
PDF
Compact First Student's Book Cambridge Official
PDF
FYJC - Chemistry textbook - standard 11.
PDF
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
PPTX
Thinking Routines and Learning Engagements.pptx
PPTX
4. Diagnosis and treatment planning in RPD.pptx
PDF
Physical pharmaceutics two in b pharmacy
PDF
BSc-Zoology-02Sem-DrVijay-Comparative anatomy of vertebrates.pdf
DOCX
THEORY AND PRACTICE ASSIGNMENT SEMESTER MAY 2025.docx
PDF
Laparoscopic Imaging Systems at World Laparoscopy Hospital
PDF
Health aspects of bilberry: A review on its general benefits
PPTX
Theoretical for class.pptxgshdhddhdhdhgd
PDF
faiz-khans about Radiotherapy Physics-02.pdf
PPTX
Cite It Right: A Compact Illustration of APA 7th Edition.pptx
Kalaari-SaaS-Founder-Playbook-2024-Edition-.pdf
Unleashing the Potential of the Cultural and creative industries
GSA-Past-Papers-2010-2024-2.pdf CSS examination
IT infrastructure and emerging technologies
CHROMIUM & Glucose Tolerance Factor.pptx
FAMILY PLANNING (preventative and social medicine pdf)
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
Compact First Student's Book Cambridge Official
FYJC - Chemistry textbook - standard 11.
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
Thinking Routines and Learning Engagements.pptx
4. Diagnosis and treatment planning in RPD.pptx
Physical pharmaceutics two in b pharmacy
BSc-Zoology-02Sem-DrVijay-Comparative anatomy of vertebrates.pdf
THEORY AND PRACTICE ASSIGNMENT SEMESTER MAY 2025.docx
Laparoscopic Imaging Systems at World Laparoscopy Hospital
Health aspects of bilberry: A review on its general benefits
Theoretical for class.pptxgshdhddhdhdhgd
faiz-khans about Radiotherapy Physics-02.pdf
Cite It Right: A Compact Illustration of APA 7th Edition.pptx

sidra_ayoub[1] .pptx

  • 1. INTRODUCTION • SIDRA AYUB • F23-BS-BBIT-1036 • BBIT 3RD SEMESTER MORNING DEPARTMENT OF MANAGEMENT SCIENCES UNIVERSITY OF OKARA • INSTRUCTOR: PROF. NAFEES AHMAD
  • 3. Synchronization: • Synchronization ensure processes in a Distributed system work together in a Coordination way.
  • 4. WHAT IS CLOCK SYNCHRONIZATION? Clock synchronization requires processes to bring their clocks close together by using communication between them • It has four ways 1. Physical clock 2. Logical clock 3. Mutual exclusion 4. Election algorithm
  • 5. Physical clock: • Real hardware clock used for synchronization . • It use Algorithm 1. Berkeley algorithm 2. Ntp(network time protocol) 1. Berkeley algorithm: • Synchronization clock by averaging time . 1. Ntp: • Ensure accurate time synchronization over a network.
  • 6. Logical clock: • Focuses on the order of events rather ThaT actual time. • It uses algorithm 1. Lamport clock 2. Vector clock 1.Lamport clock: • Orders events using a single logical clock. 1. Vector clock: • Tracks casual relationship between events using multiple clocks.
  • 7. Mutual exclusion: • Mutual exclusion ensure only one process Access a critical resource at a Time. • It uses algorithm 1. Non taken based 2. Token based
  • 8. 1. Non token based: • Coordination is achieved without a Physical token. • It uses algorithm 1. Suzuki – kasami algorithm 2. Raymond’s algorithm 1.Suzuki- kasami algorithm: • Uses message ( request/reply) for mutual exclusion. 1. Raymond’s algorithm: • Uses a hierarchical structure to grant access
  • 9. 2. Token based: • A token is passed among processe to Grant access to resources. Examples 1. Ricart- algorithm 2. Maekawas algorithm 1. Ricart-algorithm: • Uses message passing with a token For mutual exclusion.
  • 10. Maekawas algorithm: • Divides processes into smaller • Groups to reduce communication • Overhead.
  • 11. Election algorithm • Select a leader or coordinator in • A distributed system. • It uses algorithm 1. Bully algorithm 2. Ring algorithm 1.Bully algorithm: • The process with the highest priority become the leader.
  • 12. Ring algorithm • Process are Organized in a circular structure, • And the leader is elected through rotation.
  • 14. Clock synchronization Clock synchronization is the process of ensuring that the clock of different devices or systems are consistent with each other. This is important for coordination operating in distributed Systems and is achieved using methods Like 1. Ntp 2. Berkeley algorithm 3. Gps