Computer Engineering/운영체제
-
병렬 처리의 개념Computer Engineering/운영체제 2022. 10. 31. 00:19
병렬 연산 ( Parallel Processing ) / 병렬 컴퓨팅 ( Parallel Computing ) 병렬 형태로 여러 명령을 수행하며 작업의 능률을 올리는 작업 처리 방식 병렬 연산의 다양한 기법 파이프 라인 기법 : 하나의 코어에 여러개의 스레드를 이용하는 방식 IF ( Instruction Fetch ) : 명령어 인출, 패치 ID ( Instruction Decode ) : 명령어 해석 및 레지스터 파일 읽기 EX ( Execution ) : 실행 WB ( Write Back ) : 실행된 결과를 메모리에 저장 파이프라인의 위험 데이터 위험 ( Data Hazard ) : 데이터의 의존성 때문에 발생하는 문제 데이터 A를 필요로 하는 두번째 명령어는 실행되어서는 안됨. 제어 위험 ( Co..
-
CPU의 메모리 접근 구조Computer Engineering/운영체제 2022. 10. 28. 18:29
메모리의 계층 구조 CPU의 메모리 접근 구조 인터럽트 ( Interrupt ) 와 폴링 ( Polling ) 인터럽트 : 입출력 관리자가 대신 입출력을 해주는 방식 CPU의 작업과 저장장치의 데이터 이동이 독립적 데이터의 입출력이 이루어지는 동안 CPU는 다른 작업 가능 동기적 인터럽트 : 프로세스나 운영체제 상의 문제로 발생 ex) 0으로 나누기, 다른 메모리 영역 침범,, 비동기적 인터럽트 : 하드웨어적 오류로 발생 ex) 키보드 인터럽트, 마우스 인터럽트 폴링 : CPU가 직접 입출력을 담당 CPU가 입출력 장치의 상태를 주기적으로 확인 및 작업 CPU의 작업 효율이 떨어짐 직접 메모리 접근 ( DIrect Memory Access, DMA ) 입출력 관리자가 CPU와 독립적으로 메모리에 접근 프..
-
컴퓨터 메모리, 버퍼, 스풀, 캐시Computer Engineering/운영체제 2022. 10. 28. 18:02
메모리의 종류 RAM Memory ( Random Access Memory ) 휘발성 메모리 : 전원이 OFF 될 경우 데이터를 잃게 됨 DRAM ( Dynamic RAM ) / 동적램 : 기억장치의 내용을 일정 시간마다 주기적으로 재생시켜야 내용이 보존 SRAM ( Static RAM ) / 정적램 : 기억장치에 전원이 공급되는 한 내용이 계속 보존 SDRAM ( Synchronous DRAM ) / 동기식 DRAM : DRAM의 발전 형태로 제어 장치의 입력을 클록 Pulse에 맞춰 발생시켜 내용을 보존 비휘발성 메모리 : 전원이 OFF되어도 데이터를 기억하는 메모리 플래쉬 메모리 : USB 드라이버, MP3 플레이어와 같이 전력이 없어도 데이터를 보관하는 저장장치 FRAM ( Ferroelectri..
-
컴퓨터의 기본 구성과 폰노이만 구조Computer Engineering/운영체제 2022. 10. 28. 12:07
컴퓨터의 기본 구성 필수장치 : CPU ( 중앙처리장치 ), 메인메모리 주변장치 : 입력장치, 출력장치, 저장장치 저장장치 : 메인 메모리에 비해 느리지만 저렴하고 용랑이 큼 전원과 관계없이 데이터를 저장 메인보드 : CPU와 메모리 등 다양한 부품을 연결하는 판 폰노이만 구조 CPU, 메모리, 입출력장치, 저장장치가 BUS로 연결되어 있는 구조 모든 프로그램은 메모리에 올라와서 실행된다. Front-Side Bus ( FSB ) / 시스템 버스 : 메모리와 주변장치를 연결하는 버스, 전면버스 Back-Side Bus ( BSB ) / CPU 내부 버스 : CPU 내부에 있는 장치들을 연결하는 버스, 후면버스 CPU는 BSB의 속도로 작동 / 메모리는 FSB의 속도로 작동 ☞ 두 버스의 속도차이로 인한 ..
-
운영체제란 ?Computer Engineering/운영체제 2022. 10. 25. 23:42
운영체제란 ? 컴퓨터에서 가장 먼저 만나볼 수 있는 소프트웨어 ex ) Window, Mac os, 유닉스, 리눅스, IOS, 안드로이드 임베디드 운영체제 : 시스템 속에 내장되도록 만든 운영체제 운영체제의 역할 자원관리 : 컴퓨터 시스템의 자원을 배분 및 활용 자원보호 : 비정상적인 접근으로부터 컴퓨터 자원을 보호 하드웨어 인터페이스 제공 : 키보드, 마우스, 메모리, CPU와 같은 하드웨어를 이용할 수 있도록 인터페이스 제공 사용자 인터페이스 제공 : 운영체제를 편리하게 사용하도록 지원 ex) GUI ( 윈도우의 그래픽 사용자 인터페이스 ) 운영체제의 목표 효율성 : 같은 자원을 사용하여 효과적인 작업 처리 안정성 : 응용 프로그램의 안전 문제와 하드웨어적 보안 문제를 담당 확장성 : 다양한 시스템 ..
-
[Linux][VMware] Ubuntu 설치 및 사용법Computer Engineering/운영체제 2022. 10. 10. 01:49
https://lonaru-burnout.tistory.com/2 [Linux][VMware] 우분투 20.04 LTS 설치 1. 설치에 필요한 것 VMware Workstation (가상 머신) ubuntu-20.04.2.0-desktop-amd64.iso (우분투 이미지) 2. 필요한 파일 다운로드 2.1. VMware 다운로드 먼저 우분투를 설치하고 실행하기 위한 가상머신 VMwar.. lonaru-burnout.tistory.com https://blankspace-dev.tistory.com/408 VIM 사용법 정리 (1) - vim의 모드별 설명, 파일 열기, 저장 및 종료 방법 리눅스를 이용하기 위해서는 가장 기본적인 에디터를 사용할 줄 알아야 합니다. 물론, 요즘처럼 GUI가 발달하여 다..