SlideShare a Scribd company logo
1 of 24
Presented by:




Under Supervision Of:
Prof.Dr. Mostafa Gadal-Haqq
   Introduction to LOCUS
   LOCUS main features
   LOCUS Distributed File System
   File system Operations
     Read / Modification
     File Recovery
     File Merging
   LOCUS is a distributed operating system that
    provides a very degree of network transparency
    while at the same time supporting high
    performance and automatic replication of storage.

   Is compatible with Unix OS.

   Was developed at UCLA (University of California, Los
    Angeles) between 1980 and 1983 with supporting by
    DARPA.
   Transparent access to data
   Automatic replication of storage
   Distributed process execution
   Dynamic reconfiguration
 In Unix, files are organized into a tree structure with
  a root named by the character ’/’.
 The first few levels of the tree look like this:
 Naming similar to UNIX: single directory tree
  structure and file groups.
 It is functionally a superset of the Unix tree
  structured naming system.
Characteristics
 Uniform name space
 Network transparency
 Location transparency
 Location independence
 High availability by replication
 Cache consistency guaranteed
   The LOCUS filesystem presents a single tree
    structured naming hierarchy to users and
    applications which covers all objects in the
    filesystem on all machines.
   LOCUS makes the network of machines
    appears to users and programs as a single
    computer.
   Files can be moved dynamically with no
    effect on naming.
   LOCUS names are fully transparent; it is not
    possible from the name of a resources to discern
    its location in the network.
   Transparent Naming: pathname works
    anywhere
     Name resolves to
          <filegroup number, inode number>
   Search for the pathname iteratively starting
    from working directory or root
     Finds a <filegroup, inode> at the end of search
   Remote resources are accessed in the same
    manner as local ones.
   Processes can be created locally and
    remotely in the same manner.
 The data of files could be stored on more than one
  node and LOCUS would keep the various copies up
  to date.
 Motivation for Replication
     Availability
      ▪ Multiple copies of data resources provide the opportunity for
        substantially increased availability.
     Performance
      ▪ If users of the file exist on different machines, and copies are
        available near those machines, then read access can be
        substantially faster compared to the necessity to have one of the
        users always make remote accesses.
   In order to ensure that all access was made to the
    most recent version of any file LOCUS would
    nominate one node as the "current synchronization
    site" (CSS) for a particular file system. All accesses
    to files a file system would need to be coordinated
    with the appropriate CSS.
   There are three logical functions in a file access :
     Using Site (US)
    The request to open a file and to which pages of the file are to be
    supplied.
     Storage Site (SS)
    Is the site at which a copy of the requested file is stored, and which has
    been selected to supply pages of that file to the using site.
     Current Synchronization Site (CSS)
    Which enforces a global access synchronization policy for the file's
    filegroup and selects SSs for each open request. A given physical site can
    be the CSS for any number of filegroups but there is only one CSS for any
    given filegroup in any set of communicating sites
LOCUS is a procedure based operating system - processes request system
service by executing system calls
   Open/Read




                SS   CSS
   First, information on inode decide whether US can
    directly read the file locally, usually after the first open
   Otherwise, the US request CSS, which is determined by
    the logical mount table, if the file in CSS, return the
    information from itself, if not, CSS set up an incore
    inode structure, which store the state information for
    synchronization and store the sites who store the file, as
    well as a version vector, check which SS store the last
    version of file.
   After decision, the incore inode(already revised) is sent
    to the US, which means the US can directly contact with
    SS by using the logical page number and a guess: two
    buffer cache are used. Both at SS and across the network.
   Creation
     Storage locations for new file determined at create time.
     Attempts to use same storage sites as parent
      directory/local site
     Remote sites – inode allocated by physical container
   Modification
     Modifications are written to new pages, followed by
      atomic commit, remote update
     Commit & Abort
      ▪ One copy of file is updated and committed
      ▪ Updated file propagation - “Pulling” by other SS


   Machine Dependent File
     Different Versions of the same file (Process Context based)
   The basic approach in LOCUS is to maintain, within
    a single partition, strict synchronization among
    copies of a file so that all uses of that file see the
    most recent version, even if concurrent activity is
    taking place on different machines.

 Partitions
  Partitions clearly are the primary source of difficulty in a
  replicated environment.
 For example, while site B is down, work is done on site A.
  Site A goes down before B comes up. When site A comes
  back up, an effective partition merge must be done.
 Detection of Conflicting Updates to Files
Suppose file f was replicated at sites S1 and S2 . Initially
  assume each copy was identical but after some period
  sites S1 and S2 partitioned. If f is modified at S1
  producing f1 then when S1 and S2 merge the two copies
  of f will be inconsistent. Are they then in conflict? No.
  The copy at S1 (fl) should propagate to S2 and that will
  produce a consistent state. The copies of the object
  would be in conflict if during the partition not only was
  S1's copy modified to produce fl but S2's copy was
  modified to produce f2. At merge a conflict should be
  detected.
  As already pointed out the system may be able to
  resolve the conflict.
   The LOCUS file system is a network wide, tree
    structured directory system, with leaves being data
    files whose internal structure is unknown to the
    LOCUS system nucleus.

   All files, including directories, have a type associated
    with them. The type information is used by recovery
    software to take appropriate action.
 The LOCUS recovery and merge philosophy is
  hierarchically organized. The basic system is
  responsible for detecting all conflicts. For those
  data types that it manages, including internal
  system data as well as file system directories,
  automatic merge is done by the system.
 If the system is not responsible for a given file type,
  it reflects the problem up to a higher level; to a
  recovery/merge manager if one exists for the given
  file type.
  Difficulties of Merging :
a) operations (remove, rename and link) may be done
   to a file in a partition which does not store the file.
b) a file which was deleted in one partition while it was
   modified in another, wants to be saved.
c) a directory may have to be resolved without either
   partition storing particular files.
   G. Popek, B. Walker, J. Chow, D. Edwards, C. Kline,
    G. Rudisin, G. Thiel, LOCUS: A Network Transparent,
    High Reliability Distributed System, University of
    California, Los Angeles.

   Bruce Walker, Gerald Popek, Robert English, Charles
    Kline and Greg Thiel, The LOCUS Distributed
    Operating System, University of California, ACM,
    Los Angeles, 1983.

More Related Content

What's hot

Fault tolerance in distributed systems
Fault tolerance in distributed systemsFault tolerance in distributed systems
Fault tolerance in distributed systemssumitjain2013
 
Big Table, H base, Dynamo, Dynamo DB Lecture
Big Table, H base, Dynamo, Dynamo DB LectureBig Table, H base, Dynamo, Dynamo DB Lecture
Big Table, H base, Dynamo, Dynamo DB LectureDr Neelesh Jain
 
File Protection in Operating System
File Protection in Operating SystemFile Protection in Operating System
File Protection in Operating SystemMeghaj Mallick
 
Allocation and free space management
Allocation and free space managementAllocation and free space management
Allocation and free space managementrajshreemuthiah
 
Election algorithms
Election algorithmsElection algorithms
Election algorithmsAnkush Kumar
 
Distributed objects & components of corba
Distributed objects & components of corbaDistributed objects & components of corba
Distributed objects & components of corbaMayuresh Wadekar
 
Software engineering a practitioners approach 8th edition pressman solutions ...
Software engineering a practitioners approach 8th edition pressman solutions ...Software engineering a practitioners approach 8th edition pressman solutions ...
Software engineering a practitioners approach 8th edition pressman solutions ...Drusilla918
 
System models in distributed system
System models in distributed systemSystem models in distributed system
System models in distributed systemishapadhy
 
operating system question bank
operating system question bankoperating system question bank
operating system question bankrajatdeep kaur
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSKathirvel Ayyaswamy
 
Distributed Operating Systems
Distributed Operating SystemsDistributed Operating Systems
Distributed Operating SystemsUmmiya Mohammedi
 
GOOGLE FILE SYSTEM
GOOGLE FILE SYSTEMGOOGLE FILE SYSTEM
GOOGLE FILE SYSTEMJYoTHiSH o.s
 
8 memory management strategies
8 memory management strategies8 memory management strategies
8 memory management strategiesDr. Loganathan R
 
Os solved question paper
Os solved question paperOs solved question paper
Os solved question paperAnkit Bhatnagar
 

What's hot (20)

Fault tolerance in distributed systems
Fault tolerance in distributed systemsFault tolerance in distributed systems
Fault tolerance in distributed systems
 
Big Table, H base, Dynamo, Dynamo DB Lecture
Big Table, H base, Dynamo, Dynamo DB LectureBig Table, H base, Dynamo, Dynamo DB Lecture
Big Table, H base, Dynamo, Dynamo DB Lecture
 
File Protection in Operating System
File Protection in Operating SystemFile Protection in Operating System
File Protection in Operating System
 
Allocation and free space management
Allocation and free space managementAllocation and free space management
Allocation and free space management
 
Election algorithms
Election algorithmsElection algorithms
Election algorithms
 
Distributed objects & components of corba
Distributed objects & components of corbaDistributed objects & components of corba
Distributed objects & components of corba
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Software engineering a practitioners approach 8th edition pressman solutions ...
Software engineering a practitioners approach 8th edition pressman solutions ...Software engineering a practitioners approach 8th edition pressman solutions ...
Software engineering a practitioners approach 8th edition pressman solutions ...
 
System models in distributed system
System models in distributed systemSystem models in distributed system
System models in distributed system
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
 
6.distributed shared memory
6.distributed shared memory6.distributed shared memory
6.distributed shared memory
 
operating system question bank
operating system question bankoperating system question bank
operating system question bank
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
 
Disk structure
Disk structureDisk structure
Disk structure
 
Distributed Operating Systems
Distributed Operating SystemsDistributed Operating Systems
Distributed Operating Systems
 
GOOGLE FILE SYSTEM
GOOGLE FILE SYSTEMGOOGLE FILE SYSTEM
GOOGLE FILE SYSTEM
 
File allocation methods (1)
File allocation methods (1)File allocation methods (1)
File allocation methods (1)
 
Run time storage
Run time storageRun time storage
Run time storage
 
8 memory management strategies
8 memory management strategies8 memory management strategies
8 memory management strategies
 
Os solved question paper
Os solved question paperOs solved question paper
Os solved question paper
 

Viewers also liked

Distributed operating system(os)
Distributed operating system(os)Distributed operating system(os)
Distributed operating system(os)Dinesh Modak
 
CloudDesk - Cloud operating system
CloudDesk - Cloud operating systemCloudDesk - Cloud operating system
CloudDesk - Cloud operating systemRajesh Hegde
 
Cloud operating system
Cloud operating systemCloud operating system
Cloud operating systemsadak pramodh
 
7 distributed and real systems
7 distributed and real systems7 distributed and real systems
7 distributed and real systemsmyrajendra
 
Distributed Operating System,Network OS and Middle-ware.??
Distributed Operating System,Network OS and Middle-ware.??Distributed Operating System,Network OS and Middle-ware.??
Distributed Operating System,Network OS and Middle-ware.??Abdul Aslam
 
Mobile Operating Systems
Mobile Operating SystemsMobile Operating Systems
Mobile Operating SystemsDasun Hegoda
 
Mobile operating system ppt
Mobile operating system pptMobile operating system ppt
Mobile operating system pptSantosh Kumar
 
Unix operating system
Unix operating systemUnix operating system
Unix operating systemABhay Panchal
 
Mac OS(Operating System)
Mac OS(Operating System)Mac OS(Operating System)
Mac OS(Operating System)Faizan Shaikh
 

Viewers also liked (16)

Distributed operating system(os)
Distributed operating system(os)Distributed operating system(os)
Distributed operating system(os)
 
Aos distibutted system
Aos distibutted systemAos distibutted system
Aos distibutted system
 
CloudDesk - Cloud operating system
CloudDesk - Cloud operating systemCloudDesk - Cloud operating system
CloudDesk - Cloud operating system
 
Cloud OS(basic)
Cloud OS(basic)Cloud OS(basic)
Cloud OS(basic)
 
Arachne ppt
Arachne pptArachne ppt
Arachne ppt
 
Amoeba
AmoebaAmoeba
Amoeba
 
Cloud operating system
Cloud operating systemCloud operating system
Cloud operating system
 
7 distributed and real systems
7 distributed and real systems7 distributed and real systems
7 distributed and real systems
 
6.Distributed Operating Systems
6.Distributed Operating Systems6.Distributed Operating Systems
6.Distributed Operating Systems
 
Distributed Operating System,Network OS and Middle-ware.??
Distributed Operating System,Network OS and Middle-ware.??Distributed Operating System,Network OS and Middle-ware.??
Distributed Operating System,Network OS and Middle-ware.??
 
Mobile Operating Systems
Mobile Operating SystemsMobile Operating Systems
Mobile Operating Systems
 
Macintosh ppt
Macintosh pptMacintosh ppt
Macintosh ppt
 
Mobile operating system ppt
Mobile operating system pptMobile operating system ppt
Mobile operating system ppt
 
Unix operating system
Unix operating systemUnix operating system
Unix operating system
 
Cloud operating systems
Cloud operating systemsCloud operating systems
Cloud operating systems
 
Mac OS(Operating System)
Mac OS(Operating System)Mac OS(Operating System)
Mac OS(Operating System)
 

Similar to Locus Distributed Operating System

3. distributed file system requirements
3. distributed file system requirements3. distributed file system requirements
3. distributed file system requirementsAbDul ThaYyal
 
Operating Systems - Implementing File Systems
Operating Systems - Implementing File SystemsOperating Systems - Implementing File Systems
Operating Systems - Implementing File SystemsMukesh Chinta
 
Unit 3 chapter 1-file management
Unit 3 chapter 1-file managementUnit 3 chapter 1-file management
Unit 3 chapter 1-file managementKalai Selvi
 
Chapter 10 - File System Interface
Chapter 10 - File System InterfaceChapter 10 - File System Interface
Chapter 10 - File System InterfaceWayne Jones Jnr
 
Introduction One of the key goals for the Windows Subsystem for Li.pdf
Introduction One of the key goals for the Windows Subsystem for Li.pdfIntroduction One of the key goals for the Windows Subsystem for Li.pdf
Introduction One of the key goals for the Windows Subsystem for Li.pdfanwarfoot
 
Unit 3 file management
Unit 3 file managementUnit 3 file management
Unit 3 file managementKalai Selvi
 
PARALLEL FILE SYSTEM FOR LINUX CLUSTERS
PARALLEL FILE SYSTEM FOR LINUX CLUSTERSPARALLEL FILE SYSTEM FOR LINUX CLUSTERS
PARALLEL FILE SYSTEM FOR LINUX CLUSTERSRaheemUnnisa1
 
file management_osnotes.ppt
file management_osnotes.pptfile management_osnotes.ppt
file management_osnotes.pptHelalMirzad
 
File system interfacefinal
File system interfacefinalFile system interfacefinal
File system interfacefinalmarangburu42
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSKathirvel Ayyaswamy
 
Distributed file system
Distributed file systemDistributed file system
Distributed file systemAnamika Singh
 
Presentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPresentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPrakriti Dubey
 
Linux File System.docx
Linux File System.docxLinux File System.docx
Linux File System.docxBhuvanaR13
 
Distributed file systems
Distributed file systemsDistributed file systems
Distributed file systemsSri Prasanna
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File SystemNtu
 

Similar to Locus Distributed Operating System (20)

3. distributed file system requirements
3. distributed file system requirements3. distributed file system requirements
3. distributed file system requirements
 
Operating Systems - Implementing File Systems
Operating Systems - Implementing File SystemsOperating Systems - Implementing File Systems
Operating Systems - Implementing File Systems
 
Unit 3 chapter 1-file management
Unit 3 chapter 1-file managementUnit 3 chapter 1-file management
Unit 3 chapter 1-file management
 
Chapter 10 - File System Interface
Chapter 10 - File System InterfaceChapter 10 - File System Interface
Chapter 10 - File System Interface
 
CH11.pdf
CH11.pdfCH11.pdf
CH11.pdf
 
Introduction One of the key goals for the Windows Subsystem for Li.pdf
Introduction One of the key goals for the Windows Subsystem for Li.pdfIntroduction One of the key goals for the Windows Subsystem for Li.pdf
Introduction One of the key goals for the Windows Subsystem for Li.pdf
 
Unit 3 file management
Unit 3 file managementUnit 3 file management
Unit 3 file management
 
PARALLEL FILE SYSTEM FOR LINUX CLUSTERS
PARALLEL FILE SYSTEM FOR LINUX CLUSTERSPARALLEL FILE SYSTEM FOR LINUX CLUSTERS
PARALLEL FILE SYSTEM FOR LINUX CLUSTERS
 
file management_osnotes.ppt
file management_osnotes.pptfile management_osnotes.ppt
file management_osnotes.ppt
 
File system interfacefinal
File system interfacefinalFile system interfacefinal
File system interfacefinal
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
5.distributed file systems
5.distributed file systems5.distributed file systems
5.distributed file systems
 
UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
 
Presentation on nfs,afs,vfs
Presentation on nfs,afs,vfsPresentation on nfs,afs,vfs
Presentation on nfs,afs,vfs
 
Linux File System.docx
Linux File System.docxLinux File System.docx
Linux File System.docx
 
Distributed file systems
Distributed file systemsDistributed file systems
Distributed file systems
 
File System operating system operating system
File System  operating system operating systemFile System  operating system operating system
File System operating system operating system
 
12. dfs
12. dfs12. dfs
12. dfs
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File System
 

Recently uploaded

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Recently uploaded (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Locus Distributed Operating System

  • 1. Presented by: Under Supervision Of: Prof.Dr. Mostafa Gadal-Haqq
  • 2. Introduction to LOCUS  LOCUS main features  LOCUS Distributed File System  File system Operations  Read / Modification  File Recovery  File Merging
  • 3. LOCUS is a distributed operating system that provides a very degree of network transparency while at the same time supporting high performance and automatic replication of storage.  Is compatible with Unix OS.  Was developed at UCLA (University of California, Los Angeles) between 1980 and 1983 with supporting by DARPA.
  • 4. Transparent access to data  Automatic replication of storage  Distributed process execution  Dynamic reconfiguration
  • 5.  In Unix, files are organized into a tree structure with a root named by the character ’/’.  The first few levels of the tree look like this:
  • 6.  Naming similar to UNIX: single directory tree structure and file groups.  It is functionally a superset of the Unix tree structured naming system.
  • 7. Characteristics  Uniform name space  Network transparency  Location transparency  Location independence  High availability by replication  Cache consistency guaranteed
  • 8. The LOCUS filesystem presents a single tree structured naming hierarchy to users and applications which covers all objects in the filesystem on all machines.
  • 9. LOCUS makes the network of machines appears to users and programs as a single computer.  Files can be moved dynamically with no effect on naming.
  • 10. LOCUS names are fully transparent; it is not possible from the name of a resources to discern its location in the network.  Transparent Naming: pathname works anywhere  Name resolves to <filegroup number, inode number>  Search for the pathname iteratively starting from working directory or root  Finds a <filegroup, inode> at the end of search
  • 11. Remote resources are accessed in the same manner as local ones.  Processes can be created locally and remotely in the same manner.
  • 12.  The data of files could be stored on more than one node and LOCUS would keep the various copies up to date.  Motivation for Replication  Availability ▪ Multiple copies of data resources provide the opportunity for substantially increased availability.  Performance ▪ If users of the file exist on different machines, and copies are available near those machines, then read access can be substantially faster compared to the necessity to have one of the users always make remote accesses.
  • 13. In order to ensure that all access was made to the most recent version of any file LOCUS would nominate one node as the "current synchronization site" (CSS) for a particular file system. All accesses to files a file system would need to be coordinated with the appropriate CSS.
  • 14. There are three logical functions in a file access :  Using Site (US) The request to open a file and to which pages of the file are to be supplied.  Storage Site (SS) Is the site at which a copy of the requested file is stored, and which has been selected to supply pages of that file to the using site.  Current Synchronization Site (CSS) Which enforces a global access synchronization policy for the file's filegroup and selects SSs for each open request. A given physical site can be the CSS for any number of filegroups but there is only one CSS for any given filegroup in any set of communicating sites
  • 15. LOCUS is a procedure based operating system - processes request system service by executing system calls
  • 16. Open/Read SS CSS
  • 17. First, information on inode decide whether US can directly read the file locally, usually after the first open  Otherwise, the US request CSS, which is determined by the logical mount table, if the file in CSS, return the information from itself, if not, CSS set up an incore inode structure, which store the state information for synchronization and store the sites who store the file, as well as a version vector, check which SS store the last version of file.  After decision, the incore inode(already revised) is sent to the US, which means the US can directly contact with SS by using the logical page number and a guess: two buffer cache are used. Both at SS and across the network.
  • 18. Creation  Storage locations for new file determined at create time.  Attempts to use same storage sites as parent directory/local site  Remote sites – inode allocated by physical container  Modification  Modifications are written to new pages, followed by atomic commit, remote update  Commit & Abort ▪ One copy of file is updated and committed ▪ Updated file propagation - “Pulling” by other SS  Machine Dependent File  Different Versions of the same file (Process Context based)
  • 19. The basic approach in LOCUS is to maintain, within a single partition, strict synchronization among copies of a file so that all uses of that file see the most recent version, even if concurrent activity is taking place on different machines.  Partitions Partitions clearly are the primary source of difficulty in a replicated environment.  For example, while site B is down, work is done on site A. Site A goes down before B comes up. When site A comes back up, an effective partition merge must be done.
  • 20.  Detection of Conflicting Updates to Files Suppose file f was replicated at sites S1 and S2 . Initially assume each copy was identical but after some period sites S1 and S2 partitioned. If f is modified at S1 producing f1 then when S1 and S2 merge the two copies of f will be inconsistent. Are they then in conflict? No. The copy at S1 (fl) should propagate to S2 and that will produce a consistent state. The copies of the object would be in conflict if during the partition not only was S1's copy modified to produce fl but S2's copy was modified to produce f2. At merge a conflict should be detected. As already pointed out the system may be able to resolve the conflict.
  • 21. The LOCUS file system is a network wide, tree structured directory system, with leaves being data files whose internal structure is unknown to the LOCUS system nucleus.  All files, including directories, have a type associated with them. The type information is used by recovery software to take appropriate action.
  • 22.  The LOCUS recovery and merge philosophy is hierarchically organized. The basic system is responsible for detecting all conflicts. For those data types that it manages, including internal system data as well as file system directories, automatic merge is done by the system.  If the system is not responsible for a given file type, it reflects the problem up to a higher level; to a recovery/merge manager if one exists for the given file type.
  • 23.  Difficulties of Merging : a) operations (remove, rename and link) may be done to a file in a partition which does not store the file. b) a file which was deleted in one partition while it was modified in another, wants to be saved. c) a directory may have to be resolved without either partition storing particular files.
  • 24. G. Popek, B. Walker, J. Chow, D. Edwards, C. Kline, G. Rudisin, G. Thiel, LOCUS: A Network Transparent, High Reliability Distributed System, University of California, Los Angeles.  Bruce Walker, Gerald Popek, Robert English, Charles Kline and Greg Thiel, The LOCUS Distributed Operating System, University of California, ACM, Los Angeles, 1983.