Computer Science/Operating System
-
Limination of Process ModelProcess model 문제fork를 통해 만들어졌기 때문에 공유가 가능함에도 불구하고 공유할 수 없는 문제가 발생→ 공유할 수 있는 자원이라면 공유하는 것이 유리Multiprocessing 이슈이제는 cpu가 하나의 컴퓨터에 많이 존재할 수 있음. 따라서 지금까지 짠 process를 4개의 process에 분배해서 잘 돌리면 효율이 더 증가하지 않을까결론 resource도 optimize하고, process를 찢어서 여러개의 cpu에 돌릴 수 있게끔 → multithread라는 개념이 등장.Thread Model사실 process model은 사실 매우 무겁다. 리소스도 중복이 많이 되고, fine grane하게 찢을 수 없다는 문제점이 존재.공유 불가..
4. MultithreadingLimination of Process ModelProcess model 문제fork를 통해 만들어졌기 때문에 공유가 가능함에도 불구하고 공유할 수 없는 문제가 발생→ 공유할 수 있는 자원이라면 공유하는 것이 유리Multiprocessing 이슈이제는 cpu가 하나의 컴퓨터에 많이 존재할 수 있음. 따라서 지금까지 짠 process를 4개의 process에 분배해서 잘 돌리면 효율이 더 증가하지 않을까결론 resource도 optimize하고, process를 찢어서 여러개의 cpu에 돌릴 수 있게끔 → multithread라는 개념이 등장.Thread Model사실 process model은 사실 매우 무겁다. 리소스도 중복이 많이 되고, fine grane하게 찢을 수 없다는 문제점이 존재.공유 불가..
2023.07.02 -
What is a Process?Process의 정의 an instance of a running programProgram과 Process의 차이는 무엇인가?→ 돌아가고 있는 프로그램 하나의 instance (Active한 개념), 프로그램을 램에 들고와서 cpu가 active하게 하는 대상. 물론 1개의 프로그램이 여러 process가 될 수 있다. (수행중인 프로그램이 process이다.) Program이라는 것은 passive한 개념이다.Process의 구성요소가 무엇인가?ImageText sectionData sectionHeap sectionmemory that is dynamically allocatedStack sectiontemporary data storage when invoking ..
3. ProcessesWhat is a Process?Process의 정의 an instance of a running programProgram과 Process의 차이는 무엇인가?→ 돌아가고 있는 프로그램 하나의 instance (Active한 개념), 프로그램을 램에 들고와서 cpu가 active하게 하는 대상. 물론 1개의 프로그램이 여러 process가 될 수 있다. (수행중인 프로그램이 process이다.) Program이라는 것은 passive한 개념이다.Process의 구성요소가 무엇인가?ImageText sectionData sectionHeap sectionmemory that is dynamically allocatedStack sectiontemporary data storage when invoking ..
2023.07.02 -
Computer system ArchitectureMain processor / memory / IO device→ 이 장치들이 bus로 연결되어 있음 CPU는 메인 메모리에 있는 것들을 하나씩 가져와서 시작PC: 현재 실행하고 있는 주소를 담고 있는 register모든 IO device는 controller가 있음, 일명 펌웨어로 돌아가는 cpu는 아니지만 컨트롤러이다. https://www.techopedia.com/definition/11356/io-controller-ioc→ I/O controller한테 명령을 시키고, 그것이 끝날 때 알려달라고 요청. 그래서 interrupt라는 개념이 등장. 매 instruction이 끝날 때마다 interrupt를 체크하고, 만약 interrupt가 왔으면..
2. Backgrounds & PreliminariesComputer system ArchitectureMain processor / memory / IO device→ 이 장치들이 bus로 연결되어 있음 CPU는 메인 메모리에 있는 것들을 하나씩 가져와서 시작PC: 현재 실행하고 있는 주소를 담고 있는 register모든 IO device는 controller가 있음, 일명 펌웨어로 돌아가는 cpu는 아니지만 컨트롤러이다. https://www.techopedia.com/definition/11356/io-controller-ioc→ I/O controller한테 명령을 시키고, 그것이 끝날 때 알려달라고 요청. 그래서 interrupt라는 개념이 등장. 매 instruction이 끝날 때마다 interrupt를 체크하고, 만약 interrupt가 왔으면..
2023.07.02 -
Definition of Operating systemA. Silberschatz: “A program that acts as an intermediary between a user of a computer and the computer hardware.”Dietel: “Programs that make the hardware usable.”Operating Systems Goals자원의 효율적인 사용예전에는 하드웨어가 비쌌고, 그 효율을 최대한 쓰기 위해서 만들어짐.사용자 편의성유저 입장에서 커맨드를 모르고도 사용할 수 있게끔신뢰성, 접근성Evolution of Operating systemsBatch system (한번에 하나의 프로그램만 처리할 수 있음)multi-programmed batch sy..
1. IntroductionDefinition of Operating systemA. Silberschatz: “A program that acts as an intermediary between a user of a computer and the computer hardware.”Dietel: “Programs that make the hardware usable.”Operating Systems Goals자원의 효율적인 사용예전에는 하드웨어가 비쌌고, 그 효율을 최대한 쓰기 위해서 만들어짐.사용자 편의성유저 입장에서 커맨드를 모르고도 사용할 수 있게끔신뢰성, 접근성Evolution of Operating systemsBatch system (한번에 하나의 프로그램만 처리할 수 있음)multi-programmed batch sy..
2023.07.02