The Cloud OS
The Cloud OS
Some slides have been adopted from IBM Linux Study Guide under IBM Academic Relationship program
A Must read:
https://towardsdatascience.com/ai-and-the-operating-system-
4282edd3a930
https://resources.sei.cmu.edu/asset_files/Presentation/2017_017_001_4
97378.pdf
https://docker-curriculum.com/
• https://bitfusion.io/
• https://docs.google.com/a/google.com/viewer?url=www.google.com/
about/datacenters/efficiency/internal/assets/machine-learning-
applicationsfor-datacenter-optimization-finalv2.pdf
vi tar ls
User mode
Kernel mode
Operating System
User
Kernel
System Call Interface
VFS
VFSDriver
VFSDriver
Driver TCP/IP Drivers
• Optional Reading:
• http://tldp.org/HOWTO/KernelAnalysis-HOWTO-3.html
• Thus all user mode software must request use of the kernel
by means of system calls in order to perform privileged
instructions, such as process creations or input/output
operations
http://lxr.free-electrons.com/
• Optional readings:
• http://linux.die.net/man/2/clone
• http://oreilly.com/catalog/linuxkernel/chapter/ch10.html
• A file is a:
– Collection of data
– A stream of characters or byte stream
• No structure is imposed on a file by the operating system
• Linux supports many file system
• Ext2 is Linux’s default file system and is widely used
• Implemented using a VFS(Virtual File system) layer
• Kernel sends a file system calls to VFS
• VFS redirects to FS
• Designated file system uses its own code and buffer cache
functions to request I/O on physical devices
• Sockets
• System V IPC mechanism
– Shared memory
– Semaphores
• Locking & Waiting
– Message Queues
• http://tldp.org/LDP/lpg/node7.html