Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
2 – Operating SystemsMarian Marinov     Borislav VaradinovCEO of 1H Ltd.   System Administratormm@1h.com             bobi ...
What is Operating System?➢ To manages hardware resources.➢ To provides common services forthe application developers.➢To a...
➢Non-interrupted execution➢Interrupted execution
Arduino example
Arduino example
Kernel architecture     l spaceKerne            e  User spac
Monolithic kernels
Micro kernels
Hybrid kernels
Kernel architectures
Kernel software➢   CPU Handling➢   Memory Manager➢   Interrupt handler➢   Device drivers➢   File systems➢   Network➢   CPU...
Multi-platform➢   27 CPU Architectures➢   x86 / x86_64➢   RISC / PA-RISC➢   SPARC➢   ARM➢   24 x86 CPU types➢   486/586/K5...
Memory Manager (MM)➢ Does the physical memory allocation➢ Implements Physical Address Extension(PAE)➢   Linux specific all...
Interrupt Manager➢This code is a simple dispatcher of events
Device drivers....
File Systems➢ The Virtual File System(VFS) layer is theOne ring to rule them all system in terms offile systems.➢ It is re...
➢ Devices                   Network           Et                                  W he                                W i ...
Types of Operating Systems➢   Single/Multi-platform➢   Single/Multi-processing➢   Single/Multi-tasking➢   Cooperative➢   P...
Thread scheduling➢ Windows➢ Linux  - Completely Fair Scheduler (CSF)  - Niceness          CPU Core 0       CPU Core 1     ...
I/O scheduling➢Linux I/O schedulers➢ Completely Fair Queuing - per-processqueues and then allocates time slices foreach of...
Network scheduling➢ Windows➢ Linux➢ Traffic queuing with different 23 different QoS mechanisms➢ INGRESS and EGRESS queuing
Hardwarehttp://academy.telerik.com/student-courses/software-technologies/os-windows-linux/
Free Trainings @ Telerik Academy   C# Programming @ Telerik Academy       csharpfundamentals.telerik.com Telerik Softwa...
2. operating systems
2. operating systems
Upcoming SlideShare
Loading in …5
×

2. operating systems

402 views

Published on

  • Be the first to comment

  • Be the first to like this

2. operating systems

  1. 1. 2 – Operating SystemsMarian Marinov Borislav VaradinovCEO of 1H Ltd. System Administratormm@1h.com bobi [ at ] itp.bg
  2. 2. What is Operating System?➢ To manages hardware resources.➢ To provides common services forthe application developers.➢To acts as an intermediarybetween the user(s) and thecomputer system. From a user’spoint of view, the operating systemis there to execute programs.
  3. 3. ➢Non-interrupted execution➢Interrupted execution
  4. 4. Arduino example
  5. 5. Arduino example
  6. 6. Kernel architecture l spaceKerne e User spac
  7. 7. Monolithic kernels
  8. 8. Micro kernels
  9. 9. Hybrid kernels
  10. 10. Kernel architectures
  11. 11. Kernel software➢ CPU Handling➢ Memory Manager➢ Interrupt handler➢ Device drivers➢ File systems➢ Network➢ CPU Scheduler➢ I/O Scheduler➢ Network Scheduler➢ Security mechanisms
  12. 12. Multi-platform➢ 27 CPU Architectures➢ x86 / x86_64➢ RISC / PA-RISC➢ SPARC➢ ARM➢ 24 x86 CPU types➢ 486/586/K5...➢ Athlon/Opteron➢ Cyrix➢ AMD Elan➢ Winchip➢ Intel Pentium*, Atom, Core*
  13. 13. Memory Manager (MM)➢ Does the physical memory allocation➢ Implements Physical Address Extension(PAE)➢ Linux specific allocation➢ SLAB – per cpu and per node queues➢ SLUB – faster and default➢ SLOB – fragmentation➢ Memory compaction➢ Huge pages
  14. 14. Interrupt Manager➢This code is a simple dispatcher of events
  15. 15. Device drivers....
  16. 16. File Systems➢ The Virtual File System(VFS) layer is theOne ring to rule them all system in terms offile systems.➢ It is responsible for the main file systemcache
  17. 17. ➢ Devices Network Et W he W i F i rn G iM et➢ Drivers A PR ax m S at /H➢ Protocols eu S r R DP ad A io ARP IP MP IC P UD SC TCP DC TP RD CP Tu AN esB. S VL idg A. nn s s T.M el Br .A .N .
  18. 18. Types of Operating Systems➢ Single/Multi-platform➢ Single/Multi-processing➢ Single/Multi-tasking➢ Cooperative➢ Preemptive➢ Single/Multi-threading➢ Single/Multi-user➢ Real-time
  19. 19. Thread scheduling➢ Windows➢ Linux - Completely Fair Scheduler (CSF) - Niceness CPU Core 0 CPU Core 1 Level 00 Level 0 Level -19 Level 00 Level 0 PIDLevelTICKS Level 0 PID TICKS PIDLevelTICKS PID TICKS PID TICKS PID TICKS 21426 185TICKS PID 185 21426 31512 132TICKS PID 21426 185 21426 185 64723 200185 21426 21426 185 64723 200 34231 94 185 21426 64723 200 64723 200 64723 200 64723 200 64723 200
  20. 20. I/O scheduling➢Linux I/O schedulers➢ Completely Fair Queuing - per-processqueues and then allocates time slices foreach of the queues to access the disk➢ Anticipatory - "anticipating" synchronousread, good for video streaming➢ Deadline - imposing a deadline on all I/Ooperations to prevent starvation of requests➢ Noop - simple FIFO queue and implementsrequest merging
  21. 21. Network scheduling➢ Windows➢ Linux➢ Traffic queuing with different 23 different QoS mechanisms➢ INGRESS and EGRESS queuing
  22. 22. Hardwarehttp://academy.telerik.com/student-courses/software-technologies/os-windows-linux/
  23. 23. Free Trainings @ Telerik Academy C# Programming @ Telerik Academy  csharpfundamentals.telerik.com Telerik Software Academy  academy.telerik.com Telerik Academy @ Facebook  facebook.com/TelerikAcademy Telerik Software Academy Forums  forums.academy.telerik.com

×