/all-about-OS

All about Operating System

Primary LanguageTeX

All About OS

Technical Terminology

Terminology Description
batch 批次,one time a job
idle 閒置
volatile 斷電即遺失
userprog user program
overhead 浪費
cascading 瀑布般的
trashing 越來越多 page fault 導致 CPU 使用率低下
locality a set of pages that are actively used together
preemptive/non-preemptive 打斷/不打斷

Important concepts

  • Two Interrupt types: System call (software trigger), Signal (Hareware trigger)

I/O

Zero-copy

In Linux, There are two ways to implement zero-copy: mmap + write and sendfile

mmap returns addresses instead of copy data from kernal memory

  • by Java: Java NIO - transferTo()

References