ComputerScience(126)
-
[OS Project] ์ด์์ฒด์ ๊ตฌํํ๊ธฐ ํ๋ก์ ํธ
2025. 01. 10 Friday ์ด์ Geek News์์ ์ฌ๋ฏธ์์ด ๋ณด์ด๋ ํ๋ก์ ํธ๋ฅผ ์ฐพ๊ฒ ๋์๋ค.! ๐ฉ๐ป์ ๋๋ก ๋ ์ฝ๋ฉ์ ํ ๊ฒ . . ์ง๋ ๊ฒจ์ธ ๋ฐฉํ๋ ํ์ฐฝ ์ฑ ๊ฐ๋ฐํ๋ ๊ทธ ์์ ์ด ๋ง์ง๋ง์ธ ๊ฒ ๊ฐ๊ฑฐ๋ฑ์ ^^.. ...๐ฅ๋ฌด์ธ๊ฐ ๋ง๋ค๊ณ ์ถ์๊ฒ ์์ด์,ํ๋ฐ๋ฐ ๋ฐค์ ๊ฐ๋ฐํ๋ ๋๊ฐ ๊ทธ๋ฆฝ๊ธฐ๋ ํ๊ณ ,, ์์ฆ์ ํ๊ณ ์ถ์ ์ผ๋ณด๋ค ํด์ผํ๋ ์ผ์ ๋ ๋ง์ด ํ๊ฒ ๋๋ ๊ฒ ๊ฐ๋ค์ .. .·โ(โ_โ)โ·. https://operating-system-in-1000-lines.vercel.app/en/ Intro | OS in 1,000 Lines operating-system-in-1000-lines.vercel.app์ธ์์๋ ๋๋จํ ๊ฐ๋ฐ์๊ฐ ๋๋ฌด๋๋ฌด๋ง์ผ์ - ..
2025.01.10 -
[Pin] Encoding Memory Visualization
2024. 10. 22 TuesdayVisualizatinon - Text memory + CPU Cycle # Summary ์ ์ ์ผ๋ก ์ปดํ์ผ ๋ ์ฝ๋ -> objdump๋ก ํ์ธ ๋์ ์ผ๋ก ์ฐ๊ฒฐ -> ์ฝ๋ ์์์ ํ๋ฆฐํธ ์ฐ์ด์ ํ์ธ ๋์ ์ด๋ ์ ์ ์ด๋ ๊ตฌ๋ถํด์ ๋ถ์ํ๋ ๊ฒ ์ค์DLL์ด๋์ ๋ค๋ฅธ ๋ด์ฉ Rust ์ฝ๋์์ print ๊ตฌ๋ฌธ์ผ๋ก text ์ฃผ์ ํ์ธํ๊ธฐ 16์ง์ ๋ฉ๋ชจ๋ฆฌ -> 100 ๋จ์๋ ๋งค์ฐ ํฐ scale csv ํ์ผ -> Python์ผ๋ก ์๊ฐํ at Web - Plotly https://plotly.com/python/ PlotlyPlotly'splotly.com https://github.com/plotly/plotly.py GitHub - plotly/plotly.py: The in..
2024.10.22 -
[Pin] CoreBPE Memory Tracing by pinatrace
https://stackoverflow.com/questions/32026456/how-can-i-specify-an-area-of-code-to-instrument-it-by-pintool How can i specify an area of code to instrument it by pintool?There are four levels of granularity in Pin: routine, instruction and image, trace. Can i specify an limits/area to start and stop inserting instrumentation code. may by like directive like ( # startstackoverflow.com # ์์ฃผ ์ผ๋..
2024.10.15 -
[FreeBSD] Context Switching
4.3 Context SwitchingThe kernel switches among threads in an effort to share the CPU effectively; this activity is called context switching. When a thread executes for the duration of its time slice or when it blocks because it requires a resource that is currently unavailable, the kernel finds another thread to run and context switches to it. The system can also interrupt the currently executin..
2024.08.08 -
[FreeBSD] The Process and Thread Structure
The Process StructureIn addition to the references to the substructures, the process entry shown in Figure 4.1 contains the following categories of information: • Process identification: the PID and the parent PID • Signal state: signals pending delivery and summary of signal actions• Tracing: process tracing information• Timers: real-time timer and CPU-utilization counters The process substruc..
2024.07.21 -
[FreeBSD] PID and Process State
4.2 Process StateEvery process in the system is assigned a unique identifier termed the process identifier (PID). PIDs are the common mechanism used by applications and by the kernel to reference processes. PIDs are used by applications when the latter send a signal to a process and when receiving the exit status from a deceased process. Two PIDs are of special importance to each process: the PI..
2024.07.21 -
[FreeBSD] Process Management, Multiprogramming and Scheduling
Part II: ProcessesChapter 4.1 Introduction to Process ManagementA process is a program in execution. (ํ๋ก์ธ์ค์ ์ ์. ์ ํํ๊ฒ ๋ฐ์ง์๋ฉด, ํ๋ก๊ทธ๋จ๊ณผ๋ ๊ตฌ๋ถ๋๋ค.)A process has an address space containing a mapping of its program’s object code and global variables. It also has a set of kernel resources that it can name and on which it can operate using system calls. These resources include its credentials, signal state, a..
2024.07.16 -
[FreeBSD] Kernel Tracing Facilities, DTrace and KTR
3.8 Kernel Tracing FacilitiesOperating-system kernels are large and complex pieces of software, encompassing thousands of lines of mainly C code, organized into dozens of subsystems and including hundreds of device drivers. Understanding what is happening within the operating system while it is running is important not only to developers of the code but also to the much larger group of people wh..
2024.07.16 -
[PIM] CPU/DPU Programming Code Review
PrIM BenchmarksVertor Addition Code Reivew https://github.com/SohyeonKim-dev/prim-benchmarks GitHub - SohyeonKim-dev/prim-benchmarks: PrIM (Processing-In-Memory benchmarks) is the first benchmark suite for a real-world prPrIM (Processing-In-Memory benchmarks) is the first benchmark suite for a real-world processing-in-memory (PIM) architecture. PrIM is developed to evaluate, analyze, and charact..
2024.07.16 -
[FreeBSD] Resource Services
3.7 Resource ServicesAll systems have limits imposed by their hardware architecture and configuration to ensure reasonable operation and to keep users from accidentally (or maliciously) creating resource shortages. (์ค์ค.. ๋ชจ๋ ์์คํ ์ ํ๊ณ๋ฅผ ๊ฐ์ง๋ค by ์์ ์ฑ)At a minimum, the hardware limits must be imposed on processes that run on the system. It is usually desirable to limit processes further, below these har..
2024.07.15