tmp

CR3 레지스터는 x86 아키텍처에서 중요한 역할을 하는 레지스터로, 문맥 전환(context switch) 시 프로세스 간의 페이지 디렉토리 베이스 주소를 저장합니다. 이 레지스터는 가상 메모리 관리에서 핵심적인 역할을 하며, 특히 다음과 같은 방식으로 쓰레드 간 문

2024년 5월 21일
·
0개의 댓글
·

[PintOS] Introduction to User Program - Virtual Memory

PintOS - User Program을 시작하기 앞서 Virtual Address 부터 정리하고 갑시다!

2024년 5월 21일
·
0개의 댓글
·

[CS-KEYWORD] 32bit OS 🆚 64bit OS

추억의 Window 98....

2024년 5월 21일
·
1개의 댓글
·
post-thumbnail

[CS-KEYWORD] File discriptor

File Discriptor?! FD?!

2024년 5월 21일
·
0개의 댓글
·

[CS-KEYWORD] User Stack and Kernel Stack

User Stack과 kernel Stack의 차이점은 무엇일까용?

2024년 5월 20일
·
0개의 댓글
·

[CS-KEYWORD] Register vs Memory

레지스터, 넌 누구냐

2024년 5월 20일
·
0개의 댓글
·

[CS-KEYWORD] User Mode and Kernel Mode

When a Program is booted up on an Operating system let’s say Windows, then it launches the program in user mode. When a user-mode program requests to

2024년 5월 20일
·
0개의 댓글
·
post-thumbnail

부동소수점과 고정소수점

PintOS 커널단에서는 Fixed-Point 방식으로 실수를 표현한다.

2024년 5월 19일
·
0개의 댓글
·
post-thumbnail

[PintOS] 1-3 Advanced Scheduler (구현)

Implement 4.4 BSD scheduler MLFQ like scheduler without the queues.MLFQS (Multi-level Feedback Queue Scheduling) 와 유사한 스케쥴러를 구현한다!

2024년 5월 18일
·
2개의 댓글
·
post-thumbnail

[PintOS] 1-3 Advanced Scheduler

📈 Advanced Scheduler Like the priority scheduler, the advanced scheduler chooses the thread to run based on priorities. However, the advanced schedu

2024년 5월 17일
·
0개의 댓글
·
post-thumbnail

[PintOS] 1-2 Priority Scheduling

[PintOS] Thread - Priority_donation 수행

2024년 5월 16일
·
4개의 댓글
·

[PintOS] 1-2 Priority Scheduling 을 들어가기 전에...

CPU 스케쥴링의 역사를 간략하게 알아볼까용?

2024년 5월 16일
·
0개의 댓글
·
post-thumbnail

[BoJ] 10972 다음 순열

https://www.acmicpc.net/problem/10972Brute-force 방식으로, 백트래킹을 이용한 접근법을 생각해봤으나 N이 10,000까지 가능하므로 무조건 시간초과가 납니다.N,M을 활용한 수열 백트래킹에 익숙해진 나머지 규칙을 찾아내기가

2024년 5월 13일
·
0개의 댓글
·

OS 특강?

Design abstractions to use hardwareDefine APIs for applications to useProtection & IsolationContain malicious or buggy behaviors of applicationsProtec

2024년 5월 11일
·
0개의 댓글
·
post-thumbnail

[PintOS] Alarm Clock

Busy wait 상태의 next tick 을 기다리는 쓰레드를 단순히 sleep 상태로 변경하여 Kernel ticks 와 idle ticks 변화를 확인합니다.현재 위와 같이 yield가 지속적으로 일어나 CPU를 낭비하고 있다.따라서, 위와 같이 ticks 만큼

2024년 5월 11일
·
0개의 댓글
·
post-thumbnail

CSAPP 컴파일 오류

해당 코드를 실행하려고 하니 Pthread_create를 찾을 수 없다고 나온다.분명 "csapp.h" 을 제대로 include 했는데... 링커는 이를 찾을 수 없다고 합니다ㅠ.를 한다는 것이 만능은 아니다. include를 하는 것은 컴파일러에게 function의

2024년 5월 7일
·
0개의 댓글
·
post-thumbnail

M1 Issue?

당연히 RISC 기반의 프로세서 위에서, Apple Rosetta 번역기를 통해 x86 프로그램을 구동하므로 성능저하가 있을 수 있습니다. 아무리 성능저하가 있을지라도, 이렇게 간단한 C 프로그램을 구동하는 데 왜 성능 차이가 이렇게 크게 나는걸까요??에뮬레이션 오버헤

2024년 5월 2일
·
0개의 댓글
·
post-thumbnail

[CSAPP] 6.3 The Memory Hierarchy

In general, a cache (pronounced “cash”) is a small, fast storage device that acts as a staging area for the data objects stored in a larger, slower de

2024년 4월 29일
·
0개의 댓글
·
post-thumbnail

[CSAPP] 6.2 Locality

Well-written computer programs tend to exhibit good locality. That is, they tend to reference data items that are near other recently referenced data

2024년 4월 29일
·
0개의 댓글
·
post-thumbnail

[CSAPP] 6.1 Storage Technologies

if you understand how the system moves data up and down the memory hierarchy, then you can write your application programs so that their data items ar

2024년 4월 29일
·
0개의 댓글
·