ComputerScience(120)
-
[ํ์คํ] 3 Layer Router, IP address, DNS
Packetizing packetizing -> ์์์ ๋ฐ์ ๊ฒ์, ๋ณธ์ธ์ด ํด์ผํ ์ผ, ์ฆ ์ ๋ณด๋ฅผ ๋ฃ๋๋ค. Encapsulating the payload in a network- layer packet at the source and decapsulating the payload from the network-layer packet at the destination In other words, one duty of the network layer is to carry a payload from the source to the destination without changing it or using it. The network layer is doing the service of a carrier such..
2023.04.08 -
[ํ์คํ] CSMA/CD _ Random Access Protocols in MAC Layer
CSMA / CD (์ด๋๋ท, ์ด๊ณ ์ ์ธํฐ๋ท, ๊ด ๋, IEEE 802.3) Carrier Sense Multiple Access with Collision Detection (CSMA/CD) augments the algorithm to handle the collision. In this method, a station monitors the medium after it sends a frame to see if the transmission was successful. If so, the station is finished. If, however, there is a collision, the frame is sent again. ํ ์ค์ ์ฌ๋ฌ ๋ช ์ด ๋์์ ์ฌ์ฉํ๋ค. ์๊ธฐ ์ ์ ๋๊ฐ ์๊ณ ์๋์ง ํ์ธ..
2023.04.08 -
[ํ์คํ] OSI 7 Layer
* OSI 7 Layer ์ปดํจํฐ ์ํํธ์จ์ด์ ํ๋์จ์ด๋ฅผ ํต์ ๊ด์ ์์ ์ดํดํ๋ ๋ชจ๋ธ The Open Systems Interconnection model (OSI model) is a conceptual model that characterizes and standardizes the communication functions of a telecommunication or computing system without regard to its underlying internal structure and technology. Its goal is the interoperability of diverse communication systems with standard protocols. The model pa..
2023.04.08 -
[์ด์์ฒด์ ] GPGPU for Deep Learning 2023.04.02
-
[์ด์์ฒด์ ] CPU Interrupt
Interrupt handler - ์ธํฐ๋ฝํธ๋ฅผ ํด๊ฒฐํ๋ func - ISR (interrupt service routine) - ์ธํฐ๋ฝํธ ๋ฐ์! -> ์ด์์ฒด์ ๊ฐ ์ํ๋จ โญ๏ธ ์ธํฐ๋ฝํธ์ 3๊ฐ์ง ์ข ๋ฅ 1) Interrupt - Hardware interrupt - asynchronous - ๋น๋๊ธฐ๋ก ์ฒ๋ฆฌ๋๋ค. - CPU๋ ์ด ์์ (์ธํฐ๋ฝํธ)๋ฅผ ๊ธฐ๋ค๋ฆฌ์ง ์๋๋ค -> ๋ค๋ฅธ ์์ ์ํ -> ๋ค์ ๋์์ด == acync - ex) ํค๋ณด๋ ์ธํฐ๋ฝํธ, timer interrupt 2) Trap - Software interrupt - Application process - Sync ๋๊ธฐ์ ์ผ๋ก ์ฒ๋ฆฌ๋๋ค. - ex) System Call -> App์ด ๋์คํฌ์์ ๋ฐ์ดํฐ ์ฝ์ด๋ฌ๋ผ๊ณ OS์๊ฒ ๋์ ์์ฒญ (์บก์ํ, ์ธํฐํ์ด์ค ..
2023.03.25 -
[์ด์์ฒด์ ] CPU์ Architecture _ SMP vs NUMA vs Clustered system
Bootstrapping in Linux - CPU - smart X -> ๋งค์ฐ ๋น ๋ฅด๊ฒ ๋ฉ๋ชจ๋ฆฌ์์ ๋ช ๋ น์ด๋ฅผ ์ฝ๊ณ , ์คํํ๋ ๊ฒ - ROM - Read only memory - ์ฝ๊ธฐ ์ ์ฉ ๋ฉ๋ชจ๋ฆฌ, ์๊ตฌ์ ์ผ๋ก ์ ์ฅํ๋ ๋นํ๋ฐ์ฑ ๋ฉ๋ชจ๋ฆฌ - ์ ์์ด ๊บผ์ ธ๋ ์กด์ฌ -> ์ฒ์ ๋ถํ ๋ ๋ ์คํํ ๋ชจ๋ + RAM - Random Acess Memery - ํ๋ฐ์ฑ ๋ฉ๋ชจ๋ฆฌ, ์์ ์ค์ธ ๋ด์ฉ์ ํ์์ ์ผ๋ก ์ ์ฅ ํ๋์จ์ด ์ด๊ธฐํ ๋ฐ ํ ์คํธ - BIOS - Basic input output system - UEFL - Unified Extensible Firmware Interface -> ํ์จ์ด : ํ๋์จ์ด์ ํฌํจ๋ ์ํํธ์จ์ด == ๋กฌ์ ์ ์ฅ๋ ์ํํธ์จ์ด -> POST - power on self test ์งํ - ๋ฉ๋ชจ๋ฆฌ ๋ฐ i..
2023.03.25 -
[์ด์์ฒด์ ] ์ปดํจํฐ ๊ตฌ์กฐ ๋ฐ ์ด์์ฒด์ ๊ฐ์ / Kernel / System Call
์ด์์ฒด์ (Operating System)๋? - ์ปดํจํฐ ํ๋์จ์ด(CPU, IO์ฅ์น, ๋ฉ๋ชจ๋ฆฌ) ์์ ์ปดํจํฐ ์ํํธ์จ์ด๊ฐ ์ํ๋๋๋ก ๊ด๋ฆฌํด์ฃผ๋ ์ํํธ์จ์ด - ํ๋ก๊ทธ๋จ์ด ํ๋์จ์ด๋ฅผ ๋ชฐ๋ผ๋ ์ฝ๊ฒ ์ฌ์ฉํ ์ ์๋๋ก ์ธํฐํ์ด์ค ์ ๊ณต -> ์์คํ ์ฝ - CPU์ ๊ฐ์ ํ๋์จ์ด๊ฐ ํจ์จ์ ์ผ๋ก ์ฌ์ฉ๋๋๋ก ๊ด๋ฆฌ - ํ๋์จ์ด ๋ด๋ถ์์ ๋ฐ์ดํฐ๋ฅผ ์ฃผ๊ณ ๋ฐ๋ ํต๋ก - BUS 1) System controller (north Bridge) - CPU, ๋ฉ๋ชจ๋ฆฌ(DRAM), ๊ทธ๋ํฝ ์นด๋(AGP) - memory controller hub (MCH) - ๋งค์ฐ ๋น ๋ฅธ ์๋๊ฐ ์๊ตฌ๋จ - AGP Bus, Memory Bus 2) Pheripheral Bus (South Bridge) - I/O Controller Hub - LAN, USB, ํค..
2023.03.25 -
[ํ์คํ] ์ปดํจํฐ ๋คํธ์ํฌ ๊ฐ์
์ปดํจํฐ๋? A computer is a device that can be instructed to carry out sequences of arithmetic or logical operations automatically via computer programming. Modern computers have the ability to follow generalized sets of operations, called programs. These programs enable computers to perform an extremely wide range of tasks. ๋ค์ํ ์ข ๋ฅ์ ์ปดํจํฐ๋ค์ด ์๋ค. (๋ฐ์คํฌํ, ์๋ฒ ์ปดํจํฐ, ํ๋ธ๋ฆฟ, ์ค๋งํธํฐ, ์จ์ด๋ฌ๋ธ ์ฅ์น, IoT, ๋ก๋ด, ๋๋ก ๋ฑ๋ฑ) ๋คํธ์ํฌ ๊ท๋ชจ์..
2023.03.23 -
[๋์์ธ ํจํด] ์ฑ๊ธํค ํจํด์ด๋? (iOS - Singleton Design Pattern) + ์์กด์ฑ ์ฃผ์ (DI)
โ ์ฑ๊ธํค ํจํด (Singleton Pattern) ํ๋์ ํด๋์ค์ ํ๋์ ์ธ์คํด์ค๋ง ๊ฐ์ง๋ ํจํด ๋ฐ์ดํฐ๋ฒ ์ด์ค ์ฐ๊ฒฐ ๋ชจ๋์ ๋ง์ด ์ฌ์ฉ๋จ iOS ์์๋ ๋ง์ด ์ ์ฉ๋๋ ์ค์ํ ๋์์ธ ํจํด ์ค ํ๋ ์ฌ๋ฌ ํ์ผ์์ ๋์ผํ ๊ฐ์ฒด๋ฅผ ํ์ฉํด์ผ ํ๋ ๊ฒฝ์ฐ, ์ฑ๊ธํค ํจํด์ ๋ ์ฌ๋ฆฌ์ ์ฑ๊ธํค ํจํด -> ๊ฐ์ฒด๊ฐ ์์ฑ๋๋ฉด ์์๋ก ๋ฉ๋ชจ๋ฆฌ์์ ํด์ ํ์ง ์๋ ์ด์ ํ๋ก๊ทธ๋จ์ด ๋๋ ๋๊น์ง ๋ฉ๋ชจ๋ฆฌ์ ์ ์ง๋จ ํ๋ก์ ํธ ๋ด์์ ๊ฐ์ฒด๋ฅผ ํ๋๋ง ์์ฑํ์ฌ ๊ณต์ฉ์ผ๋ก ์ฌ์ฉํ๋ ๊ฒฝ์ฐ ํ์ฉ // Shared URL Session let sharedURLSession = URLSession.shared // Default File Manager let defaultFileManager = FileManager.default // Standard User ..
2022.12.24 -
2022. 11. 04 : Architecture Kick - off
Architecture (11/4 ๊ฐ์ฆ์) View controller View ๋ผ๋ ์ค๋ ๋๊ฐ ํ์์ด ๋๋คOS์์๋ Process์์ ์๋ง์ thread๊ฐ ๋๋ค ์ํคํ ์ณ๋?ํ๋์ view๋ง ๋ณธ๋ค๋ฉด ์ฌ๋ฌ ์ปดํฌ๋ํธ์ ๋ชจ์์ด์ง๋ง,๋์ ์ธ (๋ฐํ์) ์ธก๋ฉด์์๋ Process, App ํ๋๋ฅผ ์๋ฏธ๋ฉ๋ชจ๋ฆฌ์์ ์ฃฝ์ง ์๋ ์์ญ ๋์ ์ด๊ณ ์ ์ ์ธ ์ธก๋ฉด์ ๋ค ๋ณด์์ผ ํ๋ค.MVC: Logical architecture Runtime architectureProcess, Thread ์ค์ ๋ก ๋ฐํ์์์ ๋ฐ๋ผ๋ณด๋ ๊ตฌ์กฐ (OS๊ฐ ์ธ์ํ๋ ๊ตฌ์กฐ)๋ ๊ฐ์ ์ฑ์ด ๋ฐ์ดํฐ๋ฅผ ๊ณต์ ํด์ผ ํ๋ค๋ฉด?ํ๋ก์ธ์ค: ๋ฐ์ดํฐ๋ฅผ ์ ์ํ์ง ์๋๋ค.๊ทธ๋ผ? ์ธ์ ๋ฉ์ธ์ง ํต์ ๋ฑ๋ฑ์ ๋ฐฉ๋ฒ์ด ์๋ค. Conceptual architecture ์ฐ์์์ ๋ง๊ฒ ๋ถ์ธ ์ด๋ฆ๋ค์ด..
2022.11.07