일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
- 자물쇠와 열쇠
- pwnable
- 문자열압축
- 머신러닝
- 여행경로
- 2020 KAKAO BLIND RECRUITMENT
- DFS/BFS
- 개발
- level2
- 베스트앨범
- vscode
- level 2
- 더 맵게
- themida
- level3
- 동빈나
- 스택/큐
- 프로그래머스
- 전화번호 목록
- 동적계획법
- level 3
- Programmers
- 코딩테스트
- 같은숫자는싫어
- 선형회귀
- level1
- github
- Python3
- 타겟 넘버
- Today
- Total
hoon
몇가지 가정 1. Each job runs for the same amount of time 2. All jobs arrive at the same time 3. Once started, each job runs to completion 4. All jobs only use the CPU (i.e., they perform no I/O) 5. The run-time of each job is known (!) • To make the scheduler omniscient, which is not likely to happen anytim 반환시간 Tturnaround=Tcompletion-Tarrival FIFO(First In, Frist out) Scheduling 명확하고 단순함 But, 맨처음의 ..
OS는 동시에 많은 일들이 작동하게 보이기 위해 물리적인 CPU를 공유함 Challenges in building such virtualization machinery -Performance : 과도한 overhead 없이 가상화를 구현 -Control : CPU 제어를 다시 가져오면서 효율적으로 process 실행 제어는 자원의 비용으로써 OS에서 특히 중요, 제어없이 프로세스는 영원히 실행될 수 있고, machine을 탈취하거나 허락되지 않은 정보에 접근이 가능하다. -Obtaining high performance while maintaining control hardware와 operating-system의 지원이 둘다 요구됨, OS는 그것의 일을 효과적으로 수행하기 위해 hardware supp..
fork()의 성공의 Retrun value는 parent는 child process pid를 반환받고 child는 0을 반환받는다. (child process pid는 절대로 0이 아니다. 0은 단지 성공에 대한 return value이다.!!) int sched_setaffinity(pid_t pid, size_t cpusetsize,const cpu_set_t *mask)는 cpu코어를 정할 수 있게 해주는 함수이다. 설명에 잘 나와있듯이 If pid is zero, then the calling thread is used. NOTE .... Specifying pid as 0 will set the attribute for the calling thread, and passing the value..