SlideShare a Scribd company logo
1 of 40
Presented By:
Luneeva Prajapati(760320)
Madan Acharya(760321)
Mehul Rawat(760322)
Nijjal kashyapati(760323)
Oman Neupane(760324)
Prajwal Mahat(760326)
Priyanka Nepal(760327)
Puspan Gautam(760328)
Mac Operating System
Agendas:
 Introduction
 History and background.
 Different version of Mac os
 Memory management
 Process Management
 Pros and cons of MAC os
Mac os
 Mac os is a series of graphical user interface –
based operating systems developed by Apple Inc.
for their Macintosh line of computer systems.
 Mac OS was designed only to run on Apple
computers.
 In 1984,Apple introduced the Macintosh PC with
the Macintosh Operating system.
 Apple names it’s OS as “Mac OS”,beginning in
1997.
Mac OS X
History
1990
2004
February 1994 – Apple announces the beginning of Copland
August 1996 – Apple abandons Copland project
December 1996 – Apple purchases NeXT for $430 million
March 2001 – Apple releases Mac OS X
September 2001 – Apple releases Mac OS 10,1
August 2002 – Apple releases Mac OS 10.2
October 2003 – Apple releases Mac OS 10.3 and the rest is
history.
Mac OS X
Background
Aqua
Darwin
Quartz OpenGL QuickTime
Carbon Cocoa Java
• Darwin
– Open Source
– Mach 3.0
– BSD core services
• The first Mac was introduced
by Apple’s then-chairman
Steve Jobs was the first
successful personal
computer to feature a
mouse and a Graphical User
Interface(GUI).
• The Mac OS could be easily
distinguished from Other
Operating systems because
it was the only Os with a full
GUI.
• These releases could only
run one program at a time
which could later run
multiple programs.
• Aqua interface
development
• 2D and 3D
graphics support
• It featured water
theme
• Due to graphics
improvement
cheetah become
slow and new mac
os is released.
Mac os Cheetah
• Simplified CD and
DVD burning
• New features in
Finder
• More extensive
printer support.
Mac os Puma
• It added search to
finder.
• MPEG-4 support for
quicktime.
• Range of privacy
features were made
• Accessibility API
(universal Access)
apps were made
Mac os Jaguar
• Meet Safari was
introduced as first
web browser made
by Apple
• 150+ new features
including Font
Book,Xcode
enhancements and
more.
Mac os Panther
Mac Os Tiger
• It shocked
executives at
Microsoft by
offering a number
of features such as
fast file searching
and improved
graphics
processing,
acomplete built in
dictionary
Mac os Leopard
• Apple advertised
that mac os x
leopard has 300+
new features,
including
ichat,Dashboard
enhancements,Dicti
onary could now
search wikipedia
etc.
Mac os snow leopard
• Snow leopard
included many
refinements to the
user interface and
New wallapapers
Mac os lion
• Launchpad,
multitouch
gestures and
natural
scrolling was
introduced
Mac os mountain lion
• Apps like
Notes,Remainders
and Messages
arrive in Mac.
• Notification center
with on screen
banners
comunicating
updates.
Mac os Ventura
• Useful Message
Features
• Mail App Features
• Shared Tab Groups
• Passkeys
• Continuity Camera
• Face Time Handoff
• Focus Filters
• Stage Manager
• Lockdown Mode
Kernal progamming
 The kernel is the heart of Mac os
 Responsible for resource allocation storage
and printer management
 Uses system calls for ease by programmers
Multitasking and Users
• A Mac os system can support up to 100 users
,each concurrently running a different set of
programs
• Processes can communicate with each other
while remaining entirely separate
Hierarchial File system
• Provides a structured and secure file system
• Files are stored in hierachical system.
Mac OS X
Processor Modes & Privileged Instructions
• Supervisor Mode – allows execution of privileged instructions
and access to privileged registers
– Swapper (PID = 0) – switches processes from main memory to
secondary storage
– PageDaemon (PID = 2) – converts addresses to support the virtual
memory subsystem
• User Mode - The processor mode that forbids execution of
privileged instructions and access to privileged registers. Any
attempt to do so will result in a privilege violation exception.
– Init (PID = 1) – spawns processes for remote terminals; changes run
levels; can assume role of parent for orphaned process
Mac OS X
Allowable Process States
Process states for FreeBSD 4.4
• SIDL: Process is partially created
• SRUN: Process is runnable
• SSLEEP: Process is awaiting event
• SSTOP: Process is stopped (by signal or parent
process)
• SZOMB: Process is partially terminated (waiting
for parent process to collect status)
Mac OS X
Memory Management
5 Basic Mach Abstractions
• Task
• Thread
• Port
• Message
• Memory Object
Basic VM Operations
• allocate a region of virtual memory on a page boundary,
• deallocate a region of virtual memory,
• set the protection status of a region of virtual memory,
• specify the inheritance of a region of virtual memory and
• create and manage a memory object that can then be mapped into the
address space of another task.
Mac OS X
Memory Management (cont.)
Four basic memory management data structures are used in
Mach:
1. the resident page table - a table used to keep track of
information about machine independent pages
2. the address map - a doubly linked list of map entries, each of
which describes a mapping from a range of addresses to a
region of a memory object
3. the memory object - a unit of backing storage managed by the
kernel or a user task and
4. the pmap - a machine dependent memory mapping data
structure (i.e., a hardware defined physical address map).
Mac OS X
File Management
File related system calls
Virtual File System (VFS)
UFS HFS+ NFS
UDP
Disk Network
The Darwin kernel implements a Virtual File
System (VFS) that translates a file-related
system call into the matching call for the
appropriate file system.
Mac OS X
Threads
• Threads are scheduled to run preemptively or, with symmetric multiprocessing,
concurrently. Threading models built on top of the kernel’s can, however, use
various synchronization mechanisms to present cooperative threading behavior.
• The kernel environment of Mac OS X, specifically Mach, provides the fundamental
thread support. Mach maintains the register state of its threads and schedules
them preemptively in relation to one another. In the case of symmetric
multiprocessing, the kernel can preemptively schedule threads concurrently, one
on each processor. The client API for Mach threads is implemented in the System
framework.
Mach Threads
Posix Threads
Multiprocessing
Services (Carbon)
Thread Manager
(Carbon)
NSThread
(Cocoa)
java.lang.Thread
Mac OS X
Scheduling
• Marriage of FreeBSD and Mach
• Uses a priority scheduling algorithm combined with a
time quantum
• Priorities are stored in the PCB and range from -20 to
20 with higher values indicating lower level priority
• “Pzero” refers to a priority variable of 0
• Reschedules every tenth of a second and recomputes
priorities once every second
Mac OS X
Scheduling
• No preemption in Mac OS X scheduling
• Task will relinquish CPU after time quantum or when
it must wait for an I/O completion
• Process feedback – priorities change dynamically
based on wait time and amount of time that the
process has had the processor
• Feedback prevents starvation
Layers of Mac Os
• The OS consists of
layers that build on top
of each other to handle
more sophisticated
technology.
• The lower the level the
more specialized the
service
• Layer 3,core service is
where memory
management takes
place.
The core services layer
• Responsible for
implementing most low
level features
• These features are
included in core
Foundation Framework
• The foundation
framework is built off
higher level features.
• Cocoa uses foundation
framework and
application kit to
implement various
services including
memory management.
Virtual Memory
• The virtual memory system used in Mac OS is a descendant of
mach VM.
• Works through idea of physical memory being a cache for virtual
memory.
• VM objects get cached with system pages(RAM)
• Each page is then represented in given address space by map entry
• When a virtual memoryobject is duplicated, it results in creation of
shadow object.
• Initially the shadow object is empty,but when a page is
modified,the contents of parent object get copied into shadow
object
• To then read data from page,the system looks for copy of the page
in the shadow object and if one exists its used,if no object is found
the system uses original parent copy
Paging Out Process
• Move any pages that were not recently touched
from active to inactive.
• If a page in the inactive list is not recently
touched ,it finds the page’s VM object.
• The VM object’s paper attempts to write the
page out to the backing store.
• If it succeeds, the kernel frees the physical
memory occupied by the page and move in to
free list.
Universal Page lists(UPLs)
• It is type of data structure
that is used when
communicating with a
virtual memory system.
• They have multiple uses
surrounding memory
manipulation
• Changing the behaviour
of pages-
caching,mapping,permissi
ons etc
• Pushing and pulling data
from virtual memory
objects.
Paging in Process
• Get pages either from backing store or files containing page
data.
• Memory acccess fault occurs when code tries to access data at
virtual address that is not mapped to physical memory
• Soft Faults
• Page of the referenced address is resident in physical memory
• Page not mapped into the address space of process.
• Hard Faults
• Page of the referenced address is not in physical memory but
is swapped out to backing store
• Also known as page fault.
Page lists in the kernel
Active List
• Currently mapped into
memory/have been recently
accessed
Inactive List
• Resident in physical memory but
have not been accessed recently.
• Contains valid data but may be
removed from memory.
Free list
• Physical memory that are not
associated with any address space of
vm object.
• Available for immediate use by any
process that needs them.
Advantages of Mac Os
• Easy to use
• Integration with Apple and other Products
• Mac OS can run windows at the same time
• Reliability
• Design
Disadvantages of Mac OS
• Gaming
• Price
• Fewer Software Options
• Cannot be upgraded/customized
Mac OS X
Future Outlook
“We are betting our future on Mac OS X.” –Steve Jobs
Avie Tevanian, Chief Software Technology Officer at Apple,
explained Mac OS X was the platform of the future: “We built
Mac OS X hoping that it will last 15 to 20 years. I hope it
does,” he joked. “I can’t go through this again.”
macospptok.pptx

More Related Content

Similar to macospptok.pptx

SQL Queries on Smalltalk Objects
SQL Queries on Smalltalk ObjectsSQL Queries on Smalltalk Objects
SQL Queries on Smalltalk ObjectsESUG
 
Linux kernel architecture
Linux kernel architectureLinux kernel architecture
Linux kernel architectureSHAJANA BASHEER
 
UWP apps development - Part 3
UWP apps development - Part 3UWP apps development - Part 3
UWP apps development - Part 3Jiri Danihelka
 
Cloud computing UNIT 2.1 presentation in
Cloud computing UNIT 2.1 presentation inCloud computing UNIT 2.1 presentation in
Cloud computing UNIT 2.1 presentation inRahulBhole12
 
Manta Unleashed BigDataSG talk 2 July 2013
Manta Unleashed BigDataSG talk 2 July 2013Manta Unleashed BigDataSG talk 2 July 2013
Manta Unleashed BigDataSG talk 2 July 2013Christopher Hogue
 
Hadoop: Components and Key Ideas, -part1
Hadoop: Components and Key Ideas, -part1Hadoop: Components and Key Ideas, -part1
Hadoop: Components and Key Ideas, -part1Sandeep Kunkunuru
 
Distributed Data processing in a Cloud
Distributed Data processing in a CloudDistributed Data processing in a Cloud
Distributed Data processing in a Cloudelliando dias
 
UNIT 4-UNDERSTANDING VIRTUAL MEMORY.pptx
UNIT 4-UNDERSTANDING VIRTUAL MEMORY.pptxUNIT 4-UNDERSTANDING VIRTUAL MEMORY.pptx
UNIT 4-UNDERSTANDING VIRTUAL MEMORY.pptxLeahRachael
 
Deployment Strategy
Deployment StrategyDeployment Strategy
Deployment StrategyMongoDB
 
Azure fb-google Web Services
Azure fb-google Web ServicesAzure fb-google Web Services
Azure fb-google Web ServicesShreya Srivastava
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case studyLavanya G
 
Regarding About Operating System Structure
Regarding About Operating System StructureRegarding About Operating System Structure
Regarding About Operating System Structuresankarkvdc
 
Linux Performance Tunning Memory
Linux Performance Tunning MemoryLinux Performance Tunning Memory
Linux Performance Tunning MemoryShay Cohen
 
Flink Forward Berlin 2017: Robert Metzger - Keep it going - How to reliably a...
Flink Forward Berlin 2017: Robert Metzger - Keep it going - How to reliably a...Flink Forward Berlin 2017: Robert Metzger - Keep it going - How to reliably a...
Flink Forward Berlin 2017: Robert Metzger - Keep it going - How to reliably a...Flink Forward
 
EuroSec2012 "Effects of Memory Randomization, Sanitization and Page Cache on ...
EuroSec2012 "Effects of Memory Randomization, Sanitization and Page Cache on ...EuroSec2012 "Effects of Memory Randomization, Sanitization and Page Cache on ...
EuroSec2012 "Effects of Memory Randomization, Sanitization and Page Cache on ...Kuniyasu Suzaki
 

Similar to macospptok.pptx (20)

SQL Queries on Smalltalk Objects
SQL Queries on Smalltalk ObjectsSQL Queries on Smalltalk Objects
SQL Queries on Smalltalk Objects
 
Linux kernel architecture
Linux kernel architectureLinux kernel architecture
Linux kernel architecture
 
UWP apps development - Part 3
UWP apps development - Part 3UWP apps development - Part 3
UWP apps development - Part 3
 
Chapter 6 os
Chapter 6 osChapter 6 os
Chapter 6 os
 
Linux introduction
Linux introductionLinux introduction
Linux introduction
 
Cloud computing UNIT 2.1 presentation in
Cloud computing UNIT 2.1 presentation inCloud computing UNIT 2.1 presentation in
Cloud computing UNIT 2.1 presentation in
 
Manta Unleashed BigDataSG talk 2 July 2013
Manta Unleashed BigDataSG talk 2 July 2013Manta Unleashed BigDataSG talk 2 July 2013
Manta Unleashed BigDataSG talk 2 July 2013
 
Hadoop: Components and Key Ideas, -part1
Hadoop: Components and Key Ideas, -part1Hadoop: Components and Key Ideas, -part1
Hadoop: Components and Key Ideas, -part1
 
Distributed Data processing in a Cloud
Distributed Data processing in a CloudDistributed Data processing in a Cloud
Distributed Data processing in a Cloud
 
UNIT 4-UNDERSTANDING VIRTUAL MEMORY.pptx
UNIT 4-UNDERSTANDING VIRTUAL MEMORY.pptxUNIT 4-UNDERSTANDING VIRTUAL MEMORY.pptx
UNIT 4-UNDERSTANDING VIRTUAL MEMORY.pptx
 
Deployment Strategy
Deployment StrategyDeployment Strategy
Deployment Strategy
 
Hadoop
HadoopHadoop
Hadoop
 
Azure fb-google Web Services
Azure fb-google Web ServicesAzure fb-google Web Services
Azure fb-google Web Services
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case study
 
Virtual memory 20070222-en
Virtual memory 20070222-enVirtual memory 20070222-en
Virtual memory 20070222-en
 
Windows XP operating system
Windows XP operating systemWindows XP operating system
Windows XP operating system
 
Regarding About Operating System Structure
Regarding About Operating System StructureRegarding About Operating System Structure
Regarding About Operating System Structure
 
Linux Performance Tunning Memory
Linux Performance Tunning MemoryLinux Performance Tunning Memory
Linux Performance Tunning Memory
 
Flink Forward Berlin 2017: Robert Metzger - Keep it going - How to reliably a...
Flink Forward Berlin 2017: Robert Metzger - Keep it going - How to reliably a...Flink Forward Berlin 2017: Robert Metzger - Keep it going - How to reliably a...
Flink Forward Berlin 2017: Robert Metzger - Keep it going - How to reliably a...
 
EuroSec2012 "Effects of Memory Randomization, Sanitization and Page Cache on ...
EuroSec2012 "Effects of Memory Randomization, Sanitization and Page Cache on ...EuroSec2012 "Effects of Memory Randomization, Sanitization and Page Cache on ...
EuroSec2012 "Effects of Memory Randomization, Sanitization and Page Cache on ...
 

Recently uploaded

Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 

Recently uploaded (20)

Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 

macospptok.pptx

  • 1.
  • 2. Presented By: Luneeva Prajapati(760320) Madan Acharya(760321) Mehul Rawat(760322) Nijjal kashyapati(760323) Oman Neupane(760324) Prajwal Mahat(760326) Priyanka Nepal(760327) Puspan Gautam(760328) Mac Operating System
  • 3. Agendas:  Introduction  History and background.  Different version of Mac os  Memory management  Process Management  Pros and cons of MAC os
  • 4. Mac os  Mac os is a series of graphical user interface – based operating systems developed by Apple Inc. for their Macintosh line of computer systems.  Mac OS was designed only to run on Apple computers.  In 1984,Apple introduced the Macintosh PC with the Macintosh Operating system.  Apple names it’s OS as “Mac OS”,beginning in 1997.
  • 5. Mac OS X History 1990 2004 February 1994 – Apple announces the beginning of Copland August 1996 – Apple abandons Copland project December 1996 – Apple purchases NeXT for $430 million March 2001 – Apple releases Mac OS X September 2001 – Apple releases Mac OS 10,1 August 2002 – Apple releases Mac OS 10.2 October 2003 – Apple releases Mac OS 10.3 and the rest is history.
  • 6. Mac OS X Background Aqua Darwin Quartz OpenGL QuickTime Carbon Cocoa Java • Darwin – Open Source – Mach 3.0 – BSD core services
  • 7. • The first Mac was introduced by Apple’s then-chairman Steve Jobs was the first successful personal computer to feature a mouse and a Graphical User Interface(GUI). • The Mac OS could be easily distinguished from Other Operating systems because it was the only Os with a full GUI. • These releases could only run one program at a time which could later run multiple programs.
  • 8.
  • 9. • Aqua interface development • 2D and 3D graphics support • It featured water theme • Due to graphics improvement cheetah become slow and new mac os is released. Mac os Cheetah
  • 10. • Simplified CD and DVD burning • New features in Finder • More extensive printer support. Mac os Puma
  • 11. • It added search to finder. • MPEG-4 support for quicktime. • Range of privacy features were made • Accessibility API (universal Access) apps were made Mac os Jaguar
  • 12. • Meet Safari was introduced as first web browser made by Apple • 150+ new features including Font Book,Xcode enhancements and more. Mac os Panther
  • 13. Mac Os Tiger • It shocked executives at Microsoft by offering a number of features such as fast file searching and improved graphics processing, acomplete built in dictionary
  • 14. Mac os Leopard • Apple advertised that mac os x leopard has 300+ new features, including ichat,Dashboard enhancements,Dicti onary could now search wikipedia etc.
  • 15. Mac os snow leopard • Snow leopard included many refinements to the user interface and New wallapapers
  • 16. Mac os lion • Launchpad, multitouch gestures and natural scrolling was introduced
  • 17. Mac os mountain lion • Apps like Notes,Remainders and Messages arrive in Mac. • Notification center with on screen banners comunicating updates.
  • 18. Mac os Ventura • Useful Message Features • Mail App Features • Shared Tab Groups • Passkeys • Continuity Camera • Face Time Handoff • Focus Filters • Stage Manager • Lockdown Mode
  • 19. Kernal progamming  The kernel is the heart of Mac os  Responsible for resource allocation storage and printer management  Uses system calls for ease by programmers
  • 20. Multitasking and Users • A Mac os system can support up to 100 users ,each concurrently running a different set of programs • Processes can communicate with each other while remaining entirely separate
  • 21. Hierarchial File system • Provides a structured and secure file system • Files are stored in hierachical system.
  • 22. Mac OS X Processor Modes & Privileged Instructions • Supervisor Mode – allows execution of privileged instructions and access to privileged registers – Swapper (PID = 0) – switches processes from main memory to secondary storage – PageDaemon (PID = 2) – converts addresses to support the virtual memory subsystem • User Mode - The processor mode that forbids execution of privileged instructions and access to privileged registers. Any attempt to do so will result in a privilege violation exception. – Init (PID = 1) – spawns processes for remote terminals; changes run levels; can assume role of parent for orphaned process
  • 23. Mac OS X Allowable Process States Process states for FreeBSD 4.4 • SIDL: Process is partially created • SRUN: Process is runnable • SSLEEP: Process is awaiting event • SSTOP: Process is stopped (by signal or parent process) • SZOMB: Process is partially terminated (waiting for parent process to collect status)
  • 24. Mac OS X Memory Management 5 Basic Mach Abstractions • Task • Thread • Port • Message • Memory Object Basic VM Operations • allocate a region of virtual memory on a page boundary, • deallocate a region of virtual memory, • set the protection status of a region of virtual memory, • specify the inheritance of a region of virtual memory and • create and manage a memory object that can then be mapped into the address space of another task.
  • 25. Mac OS X Memory Management (cont.) Four basic memory management data structures are used in Mach: 1. the resident page table - a table used to keep track of information about machine independent pages 2. the address map - a doubly linked list of map entries, each of which describes a mapping from a range of addresses to a region of a memory object 3. the memory object - a unit of backing storage managed by the kernel or a user task and 4. the pmap - a machine dependent memory mapping data structure (i.e., a hardware defined physical address map).
  • 26. Mac OS X File Management File related system calls Virtual File System (VFS) UFS HFS+ NFS UDP Disk Network The Darwin kernel implements a Virtual File System (VFS) that translates a file-related system call into the matching call for the appropriate file system.
  • 27. Mac OS X Threads • Threads are scheduled to run preemptively or, with symmetric multiprocessing, concurrently. Threading models built on top of the kernel’s can, however, use various synchronization mechanisms to present cooperative threading behavior. • The kernel environment of Mac OS X, specifically Mach, provides the fundamental thread support. Mach maintains the register state of its threads and schedules them preemptively in relation to one another. In the case of symmetric multiprocessing, the kernel can preemptively schedule threads concurrently, one on each processor. The client API for Mach threads is implemented in the System framework. Mach Threads Posix Threads Multiprocessing Services (Carbon) Thread Manager (Carbon) NSThread (Cocoa) java.lang.Thread
  • 28. Mac OS X Scheduling • Marriage of FreeBSD and Mach • Uses a priority scheduling algorithm combined with a time quantum • Priorities are stored in the PCB and range from -20 to 20 with higher values indicating lower level priority • “Pzero” refers to a priority variable of 0 • Reschedules every tenth of a second and recomputes priorities once every second
  • 29. Mac OS X Scheduling • No preemption in Mac OS X scheduling • Task will relinquish CPU after time quantum or when it must wait for an I/O completion • Process feedback – priorities change dynamically based on wait time and amount of time that the process has had the processor • Feedback prevents starvation
  • 30. Layers of Mac Os • The OS consists of layers that build on top of each other to handle more sophisticated technology. • The lower the level the more specialized the service • Layer 3,core service is where memory management takes place.
  • 31. The core services layer • Responsible for implementing most low level features • These features are included in core Foundation Framework • The foundation framework is built off higher level features. • Cocoa uses foundation framework and application kit to implement various services including memory management.
  • 32. Virtual Memory • The virtual memory system used in Mac OS is a descendant of mach VM. • Works through idea of physical memory being a cache for virtual memory. • VM objects get cached with system pages(RAM) • Each page is then represented in given address space by map entry • When a virtual memoryobject is duplicated, it results in creation of shadow object. • Initially the shadow object is empty,but when a page is modified,the contents of parent object get copied into shadow object • To then read data from page,the system looks for copy of the page in the shadow object and if one exists its used,if no object is found the system uses original parent copy
  • 33. Paging Out Process • Move any pages that were not recently touched from active to inactive. • If a page in the inactive list is not recently touched ,it finds the page’s VM object. • The VM object’s paper attempts to write the page out to the backing store. • If it succeeds, the kernel frees the physical memory occupied by the page and move in to free list.
  • 34. Universal Page lists(UPLs) • It is type of data structure that is used when communicating with a virtual memory system. • They have multiple uses surrounding memory manipulation • Changing the behaviour of pages- caching,mapping,permissi ons etc • Pushing and pulling data from virtual memory objects.
  • 35. Paging in Process • Get pages either from backing store or files containing page data. • Memory acccess fault occurs when code tries to access data at virtual address that is not mapped to physical memory • Soft Faults • Page of the referenced address is resident in physical memory • Page not mapped into the address space of process. • Hard Faults • Page of the referenced address is not in physical memory but is swapped out to backing store • Also known as page fault.
  • 36. Page lists in the kernel Active List • Currently mapped into memory/have been recently accessed Inactive List • Resident in physical memory but have not been accessed recently. • Contains valid data but may be removed from memory. Free list • Physical memory that are not associated with any address space of vm object. • Available for immediate use by any process that needs them.
  • 37. Advantages of Mac Os • Easy to use • Integration with Apple and other Products • Mac OS can run windows at the same time • Reliability • Design
  • 38. Disadvantages of Mac OS • Gaming • Price • Fewer Software Options • Cannot be upgraded/customized
  • 39. Mac OS X Future Outlook “We are betting our future on Mac OS X.” –Steve Jobs Avie Tevanian, Chief Software Technology Officer at Apple, explained Mac OS X was the platform of the future: “We built Mac OS X hoping that it will last 15 to 20 years. I hope it does,” he joked. “I can’t go through this again.”