Operating system concept P1 week1

Digital Institute of Lifelong Education of AITU
17 Apr 202426:07

Summary

TLDRВ этом видео обсуждается концепция операционных систем, которые служат посредником между пользователем и аппаратным обеспечением компьютера. Операционная система обеспечивает удобную и эффективную среду для выполнения программ. Видео также рассматривает различные виды систем, такие как персональные компьютеры, серверы и облачные вычисления, а также рассматривает различные аспекты операционных систем, такие как управление аппаратными ресурсами, обработка прерываний, структура хранения и многопроцессорные системы. В заключении рассматриваются различные типы многопроцессорных систем, включая кластерные системы и их использование для обеспечения высокой доступности и вычислительной мощности.

Takeaways

  • 💻 Операционная система (ОС) служит посредником между пользователем и аппаратным обеспечением компьютера.
  • 🛠️ Основная цель ОС - предоставить удобную и эффективную среду для выполнения программ.
  • 🌐 Операционные системы могут быть найдены на устройствах от смартфонов до облачных вычислений.
  • 🖥️ Компьютерная система обычно делится на четыре части: аппаратное обеспечение, ОС, прикладные программы и пользователь.
  • 🔩 Аппаратное обеспечение включает процессор, память и устройства ввода-вывода, предоставляя основные вычислительные ресурсы.
  • 📝 Прикладные программы определяют, как использовать ресурсы компьютера для решения задач пользователей.
  • 🔄 Операционная система контролирует аппаратное обеспечение и координирует использование ресурсов между различными программами и пользователями.
  • ⚙️ Прерывание (interrupt) - это сигнал от устройства, которое просит центральный процессор приостановить текущую работу и обратить внимание на другое действие.
  • 💾 Хранилище в компьютере организовано в иерархию, где быстрые, но дорогие виды памяти расположены ближе к процессору, а медленные и дешевые - дальше.
  • 🔗 В многопроцессорных системах ресурсы распределяются между процессорами, что позволяет увеличить производительность и эффективность работы.
  • 🔁 В кластерных системах несколько компьютеров или узлов объединяются для обеспечения высокой доступности и производительности.

Q & A

  • Что является основной функцией операционной системы?

    -Операционная система служит посредником между пользователем и аппаратным обеспечением компьютера, предоставляя среду для выполнения программ в удобном и эффективном режиме.

  • Какие устройства могут использовать операционные системы?

    -Операционные системы могут использоваться на устройствах от смарт-телевизоров и смартфонов до персональных компьютеров, серверов и облачных вычислительных сред.

  • Чем операционная система отличается от других программ?

    -Операционная система - это программа, которая всегда работает на компьютере, обычно это ядро системы. Она отличается от других программ, так как управляет аппаратным обеспечением и координирует использование ресурсов для различных приложений и пользователей.

  • Что такое прерывание и как оно используется в компьютерных системах?

    -Прерывание - это сигнал от устройства, которое просит центральный процессор остановить текущую работу и обратить внимание на другое действие. Компьютеры используют таблицу прерывательных обработчиков, чтобы эффективно управлять такими ситуациями.

  • Какие типы памяти используются в компьютерных системах?

    -Компьютерные системы используют различные типы памяти, включая основную память (ОЗУ), вспомогательную память, невольтные и вольтные хранилища. Основная память, или ОЗУ, обычно реализована с использованием динамической памяти с постоянным доступом (DRAM).

  • Что такое прямое управление памятью (DMA) и для чего оно используется?

    -Прямое управление памятью (DMA) позволяет контроллеру устройства передавать блоки данных напрямую между устройством и основной памятью без участия центрального процессора, что делает передачу данных более эффективной для медленных устройств.

  • Какие преимущества предоставляет многопроцессорная система?

    -Многопроцессорные системы увеличивают пропускную способность, позволяя выполнять больше работы за меньшее время. Они могут включать несколько процессоров, каждый из которых имеет один или несколько ядер.

  • Что такое кластеризованные системы и для чего они используются?

    -Кластеризованные системы объединяют несколько компьютеров для предоставления высокой доступности и вычислительной мощности. Они могут использоваться для обеспечения непрерывного функционирования в случае сбоя одного или более компьютеров в кластере.

  • Какие различия между многопроцессорными и кластерными системами?

    -Многопроцессорные системы включают несколько процессоров, работающих вместе в одной системе, в то время как кластерные системы состоят из двух или более отдельных компьютеров, подключенных через сеть. Кластеры могут предоставлять высокую доступность и вычислительные услуги, используя специально разработанное программное обеспечение.

  • Что такое симметричное и асимметричное кластерирование?

    -В симметричном кластере один компьютер работает в активном режиме, а другой наблюдает (горячий резерв). В случае сбоя активный сервер, резервный становится активным. В асимметричном кластере несколько хостов работают и одновременно выполняют задачи, контролируя друг друга.

Outlines

00:00

🖥️ Введение в операционные системы

В этом параграфе представлены основные концепции операционных систем (ОС). ОС выступает в качестве посредника между пользователем и аппаратным обеспечением компьютера, предоставляя удобную и эффективную среду для выполнения программ. ОС является сложной системой, отвечающей за определение ввода, вывода и функций. Она работает на устройствах от смартфонов до облачных вычислений. Компьютерная система может быть разделена на аппаратное обеспечение, ОС, прикладные программы и пользователя. ОС управляет аппаратными ресурсами и координирует их использование для разных пользователей и программ.

05:01

🔌 Механизмы прерываний в ОС

В этом разделе рассматривается, как компьютер обрабатывает запросы к аппаратным устройствам с помощью механизма прерываний. Прерывание - это сигнал, который заставляет центральный процессор (ЦП) переключиться на выполнение другого кода. Компьютеры используют таблицу прерываний, которая указывает на соответствующие службы обработки прерываний (ISR) для каждого типа события. Эти службы завершают задачу, связанную с прерыванием, и возвращают систему в исходное состояние. Болеви операционные системы требуют продвинутого управления прерываниями, включая возможность отложить обработку, эффективное распределение и приоритетное управление прерываниями.

10:01

💾 Структура памяти и ввода-вывода в компьютерных системах

Память является ключевым компонентом компьютерных систем, где любая программа должна быть загружена перед выполнением. Основная память, или оперативная память (ОЗУ), обычно реализована с помощью динамической памяти с произвольным доступом (DRAM). Компьютеры также используют другие формы памяти, такие как прошиваемая только для чтения память (PROM) и невольтные неволатильные памяти (NVS). Ввод-вывод (I/O) является критически важным для надежности и производительности системы. Вместо использования прерываний для передачи больших объемов данных, системам предпочтительнее использовать прямой доступ к памяти (DMA), который позволяет контроллерам устройств передавать блоки данных напрямую между устройством и основной памятью без участия ЦП.

15:02

🔄 Многопроцессорные и многоядерные системы

Этот параграф охватывает преимущества и принципы работы многопроцессорных и многоядерных систем. Многопроцессорные системы, включая симметричную многозадачность и асинхронные многопроцессорные системы, позволяют выполнять больше задач за меньшее время. Многоядерные системы, где несколько вычислительных ядер находятся на одном микросхемном кристалле, обеспечивают более эффективное использование ресурсов благодаря быстрому внутреннему обмену данными. ОС и прикладные программы должны быть оптимизированы для эффективного использования многоядерных процессоров, что может быть вызовом для разработчиков.

20:03

🌐 Кластерные системы и высокий уровень доступности

В этом разделе рассматриваются кластерные системы, которые объединяют несколько компьютеров для повышения доступности и производительности. Кластеры могут быть сфокусированы на предоставлении высокого уровня доступности, что означает, что услуги будут продолжать работать даже при сбоях в одной или нескольких системах. Для достижения высокой доступности используется избыточность на уровне оборудования и программного обеспечения. Кластеры также могут предоставлять высокую производительность, позволяя различным компьютерам выполнять приложение параллельно. Однако для этого требуется специальное программное обеспечение и адаптация приложений для параллельного выполнения.

25:04

🛠️ Технологии кластеров и сетевые хранилища

Этот параграф затрагивает быстро развивающиеся технологии кластеров и сетевых хранилищ. Сетевые хранилища позволяют нескольким системам получить доступ к одному и тому же хранилищу данных, что увеличивает производительность и надежность. В кластерных системах с сетевыми хранилищами нет необходимости в общении между различными хостами для доступа к одной базе данных, что значительно повышает производительность. Различные технологии кластеров и сетевых хранилищ позволяют достичь высоких показателей доступности и производительности, что является критически важным для многих приложений.

Mindmap

Keywords

💡Операционная система

Операционная система (ОС) является программным обеспечением, которое управляет компьютером и предоставляет среду для выполнения программ. В видео упоминается, что ОС является посредником между пользователем и аппаратным обеспечением компьютера, предоставляя удобный и эффективный способ выполнения программ. Она контролирует аппаратные ресурсы и координирует их использование между различными приложениями и пользователями.

💡Аппаратное обеспечение

Аппаратное обеспечение, или.hardware, включает в себя основные компоненты компьютера, такие как центральный процессор (CPU), память и устройства ввода-вывода. В контексте видео, аппаратное обеспечение предоставляет базовые вычислительные ресурсы для системы, и ОС управляет этим аппаратным обеспечением для выполнения задач.

💡Программное обеспечение

Программное обеспечение (software) в видео относится к набору инструкций, которые определяют, как аппаратные ресурсы компьютера используются для решения проблем пользователя. Включает в себя операционные системы, приложения и драйверы устройств. Программное обеспечение определяет, как ресурсы компьютера будут использоваться для выполнения различных задач.

💡Ввод-вывод

Ввод-вывод (I/O) описывает процесс передачи данных между компьютером и внешними устройствами, такими как клавиатура, мышь или жесткий диск. В видео упоминается, что операционная система управляет вводом-выводом, что является критически важным для надежности и производительности системы.

💡Многопроцессорные системы

Многопроцессорные системы (multiprocessor systems) состоят из двух или более процессоров, каждый из которых может выполнять задачи параллельно. В видео рассматривается, как такие системы могут увеличивать производительность, позволяя компьютеру выполнять больше работы за меньшее время. Также упоминается, что операционные системы должны быть адаптированы для эффективного использования многопроцессорных систем.

💡Прерывания

Прерывания (interrupts) в видео описываются как сигналы, которые устройству дают компьютеру остановить текущую задачу и обратить внимание на другую. Это позволяет устройству взаимодействовать с процессором и обеспечивает асинхронное управление событиями. В операционных системах используются прерывания для эффективного управления асинхронными событиями, такими как ввод данных с клавиатуры или чтение с диска.

💡Память

Память (memory) в видео относится к аппаратному компоненту компьютера, который хранит данные и инструкции для выполнения. Операционная система управляет доступом к памяти и координирует использование памяти различными процессами и приложениями. В видео также упоминается различные типы памяти, такие как волatility (изменчивость) и non-volatile (неизменчивость), а также динамическая память с доступом на обращение (DRAM).

💡Симметричное многопроцессорное взаимодействие (SMP)

Симметричное многопроцессорное взаимодействие (SMP) описывает архитектуру, в которой все процессоры в системе имеют равные права доступа к общему ресурсу, таким как память. В видео говорится о том, что в SMP все процессоры выполняют как функции операционной системы, так и пользовательские процессы, что позволяет эффективно использовать многопроцессорные системы.

💡Кластеры

Кластеры (clusters) в видео представляют собой системы, состоящие из двух или более отдельных компьютеров, объединенных для выполнения задач. Они могут использоваться для обеспечения высокой доступности и fault tolerance, что означает, что если один узел кластера выходит из строя, другой узел может возобновить работу приложения без потери данных. В видео также упоминается, что кластеры могут использоваться для обеспечения высоких производительных характеристик, позволяя распределенным приложениям выполняться параллельно на нескольких компьютерах.

💡Мультипоточность

Мультипоточность (multithreading) в контексте видео относится к способности операционной системы и приложений разделять работу на несколько потоков, которые могут выполняться одновременно на нескольких ядрах процессора. Это позволяет повысить эффективность использования ресурсов и ускорить выполнение задач. В видео говорится о том, что операционные системы должны быть адаптированы для эффективного использования мультипоточности в многоядерных системах.

Highlights

操作系统是用户与计算机硬件之间的中介,提供执行程序的环境。

操作系统是庞大而复杂的系统,需要精心定义的输入输出和功能。

操作系统应用于卡片、应用程序、物联网设备、智能手机、个人电脑、企业电脑和云计算环境。

计算机系统可分为硬件、操作系统、应用程序和用户四部分。

硬件包括中央处理单元、内存和输入输出设备,为系统提供基本计算资源。

操作系统控制硬件并协调各种应用程序和用户之间的使用。

计算机系统由硬件、软件和数据组成,操作系统提供适当使用这些资源的手段。

用户视角下,计算机系统设计为单个用户独占资源,以最大化用户工作效率。

计算机最初用于军事和政府目的,如密码破解和轨迹计算。

摩尔定律预测集成电路数量每18个月翻一番,这一预测一直成立。

操作系统没有普遍接受的定义,但通常包括内核和系统程序。

中断是设备控制器用来获取CPU注意的一种机制,类似于弹出窗口。

中断处理程序(ISR)用于管理中断,确保任务完成后系统恢复正常。

现代操作系统需要更高级的中断处理功能,如延迟中断和多级中断。

存储结构中,CPU只能从内存中加载指令,因此程序必须先加载到内存中才能运行。

计算机使用多种形式的存储,包括易失性和非易失性存储。

多处理器系统在各种设备中普遍存在,包括移动设备和服务。

多核处理器系统比多个单核芯片更有效,因为它们在芯片上的通信更快。

NUMA系统通过为每个CPU提供本地内存来解决多处理器系统中的性能瓶颈问题。

刀片服务器是一种将多个处理器板、输入输出板和网络板放置在同一机箱中的系统。

集群系统通过将多个CPU聚集在一起,提供高可用性和高性能计算环境。

集群技术允许多个系统共享存储,并通过特殊软件和应用程序版本实现并行处理。

Transcripts

play00:02

hello everyone so start a course

play00:05

operating system

play00:11

concept so uh an operating system access

play00:15

intermediary between user and computer

play00:19

hardware so as you know the propose of

play00:22

operating system is provide environment

play00:24

which user can execute programs in

play00:27

convenient efficient manner so

play00:30

operating system is large and complex

play00:34

system H pie should well delayed portion

play00:37

of system with carefully Define outputs

play00:40

inputs and

play00:48

functions operating system are overwar

play00:51

from cards and some application and some

play00:55

Internet of Things devices smart phones

play01:00

yeah personal

play01:01

computers some Enterprise computers

play01:04

cloud computing

play01:17

environment so let's move to the so

play01:21

overall computer system uh computer uh

play01:25

can divide roll into four parts which is

play01:29

Hardware operating system application

play01:31

program and user Hardware can Central uh

play01:36

Processing Unit uh the memory and the

play01:39

input output device provides a basic

play01:42

Computing resource for the system the

play01:44

application program such as word

play01:46

processor spreadsheets capillar and web

play01:48

browser defines the ways to which these

play01:51

resource are used to solve user computer

play01:54

problems the operating system controls

play01:57

the hardware and coordinates it use

play01:59

among the various application programs

play02:02

for the various user so we can also view

play02:05

computer system and consist of Hardware

play02:07

software and data so the operating

play02:10

system provides means for proper use of

play02:12

this resource and the operating um

play02:16

operation of computer system and

play02:18

operating system is similar to a

play02:20

government like government is Bor from

play02:22

useful function it's by itself it simply

play02:25

provides environment with which programs

play02:27

can do useful work don't understand more

play02:30

fully the operating system role we

play02:33

explore some

play02:35

more viewpoints that user of the of the

play02:40

system so user view the user view of the

play02:43

computer R is according interface being

play02:45

used many computer users SE with laptop

play02:49

a front of PC consist of monitor

play02:52

keyboard and mouse so this such system

play02:55

is designed one user to monopolize its

play02:57

resource the goal of maximizing

play03:00

the work that user is performing in this

play03:03

case the operating system is designed

play03:06

mostly is of use with some attention

play03:10

paid for to Performance and security and

play03:13

non paid to resource

play03:15

utilization uh how various Hardware

play03:18

software sources are shared so Computing

play03:22

started as an experiment to determine

play03:24

what could be done and quickly move to

play03:26

fix propose system for military use

play03:30

before such as code breaking and

play03:32

trajectory plotting and governmental use

play03:35

such as sensus calculations those early

play03:38

computer involved into General propose

play03:42

multifunction main frames and that's

play03:44

when pring system were burn so in 1960

play03:48

Mo La predicts that the number

play03:50

transition integrate circuit would

play03:52

double every 18 months and prediction

play03:56

has held true so computer gain in

play03:59

function

play04:00

shrunken sze leading W number of uses

play04:03

was number of variety operating system

play04:07

additional we have no Universal accepted

play04:10

definition of what is part of the

play04:12

operating

play04:13

system and simply Viewpoint is that this

play04:16

includes everything eventor ships when

play04:19

you order the operating system the

play04:21

features include however VAR greatly

play04:24

across system some system take up less

play04:27

than a megabyte of space Cas and lack

play04:30

even full screen editor where is other

play04:33

required Gaby of space and Bas entirely

play04:36

a graphical window system a more common

play04:40

definition and one of the we we usually

play04:43

follow that operating system is one of

play04:45

program running all times on the

play04:47

computer usually call it the kernel

play04:50

along with kernel there are two other

play04:52

type of program system programs which

play04:55

are assed with operating system but not

play04:57

necessarily part of the kernel and

play05:01

applications uh programs which include

play05:04

all programs not associated with

play05:06

operation of the

play05:16

system so

play05:18

interrupts um a computer when program

play05:22

wants to do something like read from the

play05:25

keyboard write a file it talks to device

play05:29

driver

play05:32

yeah so this driver communication with

play05:34

Device control which manage the actual

play05:37

Hardware like keboard or storage

play05:40

device when device controller finish it

play05:43

task uh it needs to tell device drivers

play05:46

that is done this communication is done

play05:50

using something called an interrupt an

play05:53

interrupt is like a signal that tells

play05:55

the computer main process to stop what

play05:58

is doing and pay attention to something

play06:01

else imagine you're working on a

play06:04

computer and suddenly popup appears that

play06:07

popups like interrupt it grabs your

play06:10

attention and ask you to do something

play06:12

else so in the computer case it's a

play06:15

interrupt asking CPU to do something

play06:19

specific to manage this interrupts

play06:21

efficiently the computer use a table

play06:24

that contains pointers to different

play06:27

roads to know how to handle speciic

play06:30

interrupts so these roots are called

play06:33

interrupt service

play06:35

routines uh when interrupts happens the

play06:38

CPU looks in the table find the right

play06:40

ACR and follows its

play06:43

instructions the ACR not only completes

play06:46

the task of SE with interrupt but also

play06:49

make sure that everything does back to

play06:52

normal afterward it's like traffic of

play06:55

contemporary directing traffic and then

play06:58

making sure

play07:00

flow smoothly again so interrupts a way

play07:03

for Hardware to get CPU attention and

play07:06

the computer uses routines to manage to

play07:09

handle these

play07:11

interruptions ensuring that everything

play07:13

works smoothly despite the sudden poses

play07:16

in nor in the normal flow of

play07:22

task so the next slide

play07:25

implementation basic interrupt mechanism

play07:28

and a computer works like this so CPU

play07:32

has special line call to interrupt

play07:34

request line after each instruction the

play07:37

CPU checks this line if a device control

play07:42

signals and interrupt on this line the

play07:45

CPU reads interrupt number and jumps to

play07:47

the corresponding interrupt handle

play07:50

routin using this number as an index the

play07:54

interrupt

play07:56

Vector the handle saves State processes

play07:59

interrupt restores that state and

play08:03

Returns the CPU to its previous state

play08:06

however mod operating system require

play08:09

more advanced interrup handling

play08:11

features different

play08:14

handling ability to delay interrupt

play08:17

handling during critical processing

play08:20

efficient dispatching quick and

play08:22

effective selection of right interrup

play08:24

handle for device multi-level interrupts

play08:28

capability to discussion between the

play08:31

high and low priority interrupt and

play08:34

respond accordingly modeling CPU in

play08:37

interrupt controller Hardware provide

play08:39

these features CPUs typically have two

play08:43

interrupt request line one non maskable

play08:47

interrupt and another markable interrupt

play08:50

line used by device controllers

play08:53

interrupt chaining it techniques when

play08:55

they interrupt letter points to list of

play08:57

handlers solving the problem problem of

play09:00

having more devices than Vector elements

play09:03

the interrupt Vector designed for CPUs

play09:06

like Intel processor used different

play09:09

range of non-maskable and maskable

play09:12

events additionally interrupts riority

play09:15

levels all to CPU to manage low and high

play09:18

priority interrupts

play09:20

efficiently the system ensure urin work

play09:23

is handled first and summary interrupts

play09:26

a crucial for handling a synchronous

play09:29

events in modeling operating system

play09:32

there are triggered by device controller

play09:35

and Hardware fults a priority system

play09:38

ensur that high priority task can

play09:41

interrupt lower priority ones efficien

play09:44

interrup handling is vital for optimal

play09:48

system performance especially for time

play09:51

sensitive

play09:54

processes so storage structure the CPU

play09:58

can load in struction only from memory

play10:01

so any program must first be loaded into

play10:04

memory to run the general proposed

play10:07

computer run must also program from

play10:10

reable memory call it main memory it

play10:13

also call it Ram so memory main memory

play10:17

commonly is Implement in a semiconductor

play10:20

technology called Dynamic Random Access

play10:24

Memory computer use other forms of

play10:27

memory as well for example the first

play10:30

program to run on computer power on is

play10:33

bootst program which then loads the

play10:36

operating

play10:38

system since Ram ISAT loses its content

play10:42

when power is turned off or otherwise

play10:45

lost we us to hold the bootstrap program

play10:49

instead of for this some other propose

play10:51

the computer use

play10:53

electrically arable progammable read

play10:56

only memory and another forum for wi

play11:00

storage that is infrequently reach to is

play11:04

non

play11:06

volle storage structure can be organized

play11:10

into achy based on capacity and excess

play11:14

time when trade off between size and

play11:17

speed close to CPU smaller and faster

play11:20

memory is used the system differ in

play11:23

speed capacity whether they are volatile

play11:26

or

play11:27

nonvolatile vol

play11:29

storage LS data when power is removed

play11:32

requiring safekeeping in nonvolatile

play11:36

storage the top four levels in ychy use

play11:39

semiconductor memory with NVM device

play11:44

like flashh memory at the for level

play11:46

known for Speed flash memory is widely

play11:50

used in mobile device and increasingly

play11:53

in long-term storage for laptops desktop

play11:56

and servers in the text the term

play11:59

terminology used for storage includes

play12:01

voltage storage simply refers to as

play12:04

memory non voltage storage retains data

play12:08

when power is lost primary focus on

play12:12

storage secondary storage mechanical

play12:15

envs example include G gdd optical disc

play12:20

holographic storage and magnetic type

play12:23

electrical nvs example include flash

play12:27

memory V run SD and R mechanical storage

play12:32

generally large and less expensive for

play12:34

bite while electrical storage is caser

play12:38

but smaller and faster a balanced

play12:40

storage system use cost effective memory

play12:43

while providing ample and expensive

play12:46

nonvolatile storage cash may be utilized

play12:50

to enhance performance Vues significant

play12:53

difference in excess time or transfer

play12:56

rate between components

play13:00

and big part of operating system is

play13:02

focus handling input output because it's

play13:05

crucial for system relability and

play13:07

performance in a compter system uh

play13:11

various device communicate with each

play13:14

other using common passway call it a bus

play13:17

its earlier section we learned about

play13:19

interrupt driving input or output which

play13:22

is good for small data transfer but not

play13:25

efficient for moving large amount of

play13:27

data

play13:29

like a nonvolatile storage to under this

play13:33

we use something called direct memory

play13:35

access which de withd Dem the device

play13:38

controller can transfer a whole block of

play13:42

data directly between the device and

play13:46

Main memory without Bing the CPU

play13:51

match so that means only the interrup is

play13:54

needed per block of data making it more

play13:57

efficient than having interruptor every

play14:00

bite especially for slow devices while

play14:03

device control is managing this task zpu

play14:07

CPU is free to do other important

play14:12

work some advanc system use switch

play14:15

instead of bus for

play14:17

communication this allows multiple

play14:20

compon components to talk each other the

play14:22

same time without competing for Shar bus

play14:26

in such case di becomes even more more

play14:30

effective uh so as you see all compan

play14:34

computer system work

play14:38

together uh in today Computing landscape

play14:41

multiprocessor system are prevalent

play14:44

across Ranch of devices from mobile

play14:47

gadgets to service typically this system

play14:50

consists two or more processor each heav

play14:53

single core this processor sh resource

play14:56

such computer bars memory and prefer

play14:59

devices the main advantages

play15:02

multiprocessor system is increase

play15:05

through aiming to accomplish more work

play15:08

in less

play15:10

time the common approach is s symmetric

play15:15

multiprocessing where H CPU perform all

play15:18

task including both operating system

play15:21

function and user processes while CMP

play15:25

enables simulation execution of multiple

play15:29

processes in efficien can be Aur if

play15:32

processor are not optimally utilized

play15:35

leading to EO and overload CPUs caral

play15:39

system design including shared data

play15:42

structure can address this challenge

play15:44

alling for damic resource sharing among

play15:47

processors the definition of

play15:50

multiprocessor now extend to multicore

play15:52

system where multiple Computing cores

play15:55

exist on single chip multi system can be

play15:59

more efficient than multiple single core

play16:01

chips due to fast on chips

play16:04

communication additionally single chip

play16:07

with multiple core consumes less power

play16:10

than several single core chips which is

play16:13

crucial for energy efficient mobile

play16:15

device and

play16:19

laptops uh as you see on this figure we

play16:22

show dual core design with two cores on

play16:26

same processor chip and this design each

play16:30

core has its own register set as well as

play16:33

it own local cache often known as level

play16:37

one

play16:39

L1 uh cach notice that uh the level

play16:44

two cash is local to cheap but is shared

play16:48

by two processing

play16:50

CS most architecture adops this approach

play16:53

combining local and chared caches where

play16:57

local lower level cash are generally

play17:00

smaller and faster than higher level

play17:02

shared caches aside from architecture

play17:05

considerations such as cach memory and

play17:08

bus contention a multicore processor

play17:11

with and core appears to the operating

play17:14

systems as and standard CPUs this

play17:19

characteristics put pre pressure on

play17:21

operating system designers and

play17:23

application programmers to make

play17:26

efficient use of this process course to

play17:30

an issue P so virtually all mod

play17:34

operating system including Windows maros

play17:37

Linux as well Android iOS mobile system

play17:41

support multicore CMP

play17:43

systems additional uh CPU to

play17:48

multiprocessor system will increase

play17:50

computing power however as successed

play17:53

earlier the concept does not scale very

play17:56

well and once we add to many inuse

play17:59

contention for System bus

play18:02

becomes um bot linic for performance and

play18:06

performance begins to

play18:10

degrade an alternative approach insists

play18:13

to provide hcpu with its own local

play18:16

memory that accessed via small last

play18:19

local bus so the CPU are connect by

play18:22

shared system can interconnect so that's

play18:26

all CPU share one physical add space

play18:30

this approach known as nonuniform memory

play18:33

access on num yeah as you see on this

play18:37

figure the advantages is that when CPU

play18:42

access it local memory not only is fast

play18:45

but there also no contention over the

play18:48

system

play18:49

interconnect those numer system can

play18:51

scale more effectively as more processor

play18:54

are added a potential drawback with

play18:56

numer system is increased poy when CPU

play19:00

must access remote memory across the

play19:03

system and reconnect creating and

play19:06

possible performance penalty in other

play19:08

words for example CPU canot access the

play19:11

local memory of CPU 3 as quickly as it

play19:15

can access its own local memory and

play19:19

slowing down performance breaking system

play19:22

can minimize thisa penalties through

play19:25

careful CPU scheduling and memory

play19:27

management

play19:30

because NOA system can scale to

play19:32

accommodate a large number of processors

play19:35

they are become increasingly popular on

play19:37

servers as well as high performance

play19:39

Computing system finally blade servers a

play19:43

system in which multiple processor

play19:45

boards input output boards and

play19:47

networking boards are placed in the same

play19:50

chases and difference between this and

play19:53

traditional multiprocessor system is

play19:56

that each blade processor Bo boot into

play19:59

independently and its own operating

play20:02

system some blade server boards

play20:05

multiprocessor as well which blurs the

play20:08

line between type of

play20:11

computers in a sense these servers

play20:14

consist of multiple independent

play20:17

multiprocessor

play20:19

system another type of multiprocessor

play20:22

system is clustered system which gathers

play20:25

together multiple

play20:27

CPUs cluster system are differ from

play20:30

multiprocessor system describes in that

play20:33

they are composed of two or more

play20:35

individual system or not joined together

play20:39

H not is typically a multicore system

play20:43

such system are considered Loosely

play20:46

coupled we should note that the

play20:48

definition of clustered is not concrete

play20:51

many commercial and open source package

play20:54

rels to Define what cluster system is

play20:58

and what why one form is better than

play21:00

another the generally accepted

play21:03

definition is that clustered Computer

play21:05

Share storage and not closely link it

play21:07

via local area network or faster

play21:10

interconnects as Infinity band

play21:14

clustering uh is usually used to provide

play21:17

High availability service that is

play21:19

nervous that will continue even if one

play21:22

or more system in the cluster fail

play21:26

generally we obtain High availability by

play21:29

editing editing level redut dency in the

play21:32

system a layer of cluster software runs

play21:35

on the cluster notes H not can monitor

play21:39

one on all the others if the monitor

play21:42

machine HS the monitoring machine can

play21:44

take ownership or storage and restart

play21:47

the application that we running of valid

play21:50

machine so the user and clients of

play21:53

application see only brief interrupt of

play21:56

service High availability provides

play21:59

increased reliability which crucial in

play22:02

many

play22:03

application the ability to containing

play22:05

providing service proportion to the

play22:07

level of surviving hardw is called

play22:10

graceful

play22:12

degradation some system go beyond

play22:15

graceful degradation and call it f

play22:17

tolerant because it can suffer fure and

play22:20

single component and still continue

play22:22

operation H tolerance require mechanism

play22:25

to all the fur to be dedicated

play22:29

diagnose it and if the possible correct

play22:31

it clasing can be structured

play22:34

symmetrically or symmetrically and

play22:36

asymmetrical clustering one machine is

play22:39

hold to be stuned mode while the other

play22:42

is running the

play22:44

application the hot stability M machine

play22:47

does nothing but monitor the active

play22:51

server that server fails the h stand the

play22:55

H becomes active server and metri

play22:59

clustering two or more host are running

play23:03

applicants and monitoring each other the

play23:06

structure is obviously more efficient

play23:08

and uses all of ability Hardware however

play23:12

it does require that more than one

play23:15

application can be available to run

play23:18

since clust consist of several computer

play23:21

system connect via Network cluster can

play23:23

also be used to provide high performance

play23:26

Computing environment such system can

play23:28

supply significant greater comp uh

play23:32

computational Power and Signal processor

play23:34

or CMP system because they can run an

play23:38

application uh concurrently in all

play23:40

computers in the cluster the application

play23:43

must have been written especially to

play23:47

take advantage of the cluster however

play23:50

this involves technique known as par

play23:54

parallelization which device a program

play23:57

to separate components that run in

play23:59

parallel or individual cores in a

play24:02

computer or computer scene cluster

play24:05

typically this application are designed

play24:07

to that one each component not in the

play24:10

cluster has solved it portion of the

play24:13

program the result from all these notes

play24:16

are combined into Final Solution other

play24:19

for cluster include parallel

play24:23

um uh over white area network and

play24:27

parallel class all all multiple host

play24:30

access same data on shared storage

play24:33

because most operating system lack

play24:35

support to simulaneously data access by

play24:37

multiple host parallel cluster usually

play24:40

require use of special VAR software and

play24:43

special release of application for

play24:46

example Oracle real application clust

play24:50

version of Oracle database it has been

play24:53

designed to run parallel cluster each

play24:56

machine runs Oracle and layer of

play24:59

software tracks access to Shared disk

play25:02

each machine has full access to all data

play25:04

in database to provide shared access the

play25:07

system must also Supply Access Control

play25:10

and locking to ensure that the no

play25:12

conflicting operation Ur this function

play25:15

commonly known as distributed loog

play25:18

manager it's included in some cluster

play25:21

technology cluster technology is

play25:23

changing rapidly some cluster production

play25:26

support thousand on system and cluster

play25:29

as well as cluster no separately by

play25:32

Miles many of these Improvement are made

play25:35

possible storage area

play25:38

network this allows many to attach to

play25:41

Pur storage if the application the data

play25:44

are stored on sun the cluster software

play25:47

can assign application to run on any

play25:49

horse is attached to the sun if the host

play25:53

fails then any other host can take over

play25:56

in database cluster do no host can share

play25:58

same database greatly increasing

play26:01

performance relability

Rate This

5.0 / 5 (0 votes)

Связанные теги
Операционные системыКомпьютерное обеспечениеАрхитектура компьютераМногопроцессорные системыХранилище данныхВвод-выводИнтерпретаторыСетевое хранилищеВысока доступностьЭнергоэффективность