TIL(today i learned)
-
3-3 인터네트워킹TIL(today i learned)/네트워크 2023. 3. 21. 17:27
서로다른 네트워크를 연결하는 기능을 인터네트워킹이라함 네트워크간의 차이(라우터의 역할)는 다양한 방법으로 기술할수있는다. 연결형vs비연결형 프로토콜 종류 주소표현 방법 패킷의 크기 멀티/브로드 캐스팅 지원여부 네트워크 장비의 종류 리피터:물리계층의 기능지원,신호증폭 브리지:물리,데이터 링크 계층 기능지원 , 종류가다른 LAN에 연결할수있음 라우터:물데네 계층기능 지원 다수의 LAN을 연결,라우팅기능수행 게이트웨이:서로다른 네트워크간의 통신을 위한 통로 이더넷:네트워크를 이루는 컴퓨터의 통신 수단중 하나 만약 LAN모두 이더넷을 사용하면 브리지는 프레임헤더를 해석하는 간단한 과정만 필요하지만,종류가다르면 프레임변환등의 복잡한 잡억이 추가됨. 트랜스페런트 브리지:사용자가 따로 설정할필요없이,자동으로 라우팅과..
-
3-1 라우팅의 기능TIL(today i learned)/네트워크 2023. 3. 21. 17:08
연결형서비스:회선 교환=>대역낭비,고정크기의 전송률 비연결형 서비스:패킷 교환 => 가변 크기의 전송률 패킷 교환:데이터를 패킷단위로 분활해서 전송 하고 패킷 기준으로 라우팅을 함,컴퓨터 네트워크환경에서 주로사용 패킷교환도 여러가지 종류가있는데 하나는 가상회성방식이고 나머지는 데이터그램 방식이다 가상회선방식은 패킷의 경로를 일정하게 유지하는 방면 데이터그램은 패킷의 경로가 각각 다르다. 교환회선:전송 선로 하나를 다수의 호스트가 공유 회선교환은 데이터를 교환하기전에 경로를 정해둠 메시지 교환:전송하는 메세지 헤더마다 주소 기입 패킷교환은 패킷단위로 나누어 전송 패킷교환을 사용하는이유? 전손대역의 효율,호스트 추가의 무제한,패킷의 우선순위 패킷교환의 종류:가상회선,데이터 그램 가상회선 패킷의 경로가 일정하..
-
2-3인터넷 모델TIL(today i learned)/네트워크 2023. 3. 21. 16:21
인터넷:데이터의 중개 기능을 담담하는 네트워크로 IP프로토콜을 사용한다 UDP/TCP:전송 계층 프로토콜 . 인터넷에 연결하려면 IP가 꼭 필요함 TCP:데이터의 신뢰성 UP BUT 속도 DOWN and 양방향 연결형 UDP:데이터의 신뢰성 DOWN BUT 속도 UP and 단방향 비연결형 라우터는 패킷 중개역할을 한다. 포트:프로세스를 구분하는 방법 인터넷의 고유주소는 PORT 와 IP로 완성된다. 위 그림을보면 ARP/RARP , ICMP가 보이는데 이들은 IP의 보조역할이며 여기서 작업을 마쳐도 IP패킷을 통해 데이터가 이동한다. ARP/RARP:주소문제 해결 ICMP:오류문제 해결 자세히 말하자면 ARP는 수신 IP를 MAC으로 변환시켜주고 RARP는 송신MAC을 IP로 변경해준다. ICMP는 오..
-
-
3.1 Process ConceptTIL(today i learned)/운영체제 2023. 3. 20. 14:16
CPU의 활동을 을 부르는 방법 단일 처리시스템: job 시분할시스템: user programs or tasks 프로세스:실행중인 프로그램(백번은 말한거같다) 프로그램vs프로세스 프로그램:명령어 리스트를 내용으로가진 디스크에 저장된파일(수동적인 존재) 프로세스:실행할 명령어를 지정하는프로그램 카운터와 관련 자원의 집합을 가짐 (능동적인존재) 아래 그림을 보자 Text section :실행 코드 Data section :전역 변수 Heap section :프로그램중에 동적으로 할당되는 메모리 Stack section :함수를 호출할때 임시 저장소(재귀함수 가 깊어지면 안되는 이유) activation record(활성화 레코드) :함수실행시 매개변수,지역변수,복귀주소를 포함하는 활성화 레코드가 스택에 푸시..
-
2.1 Operating System ServicesTIL(today i learned)/운영체제 2023. 3. 19. 11:43
os가 사용자를 위해 제공하는 서비스들 통신:공유 메모리로 구현 혹은 메세지 전달로 이루어짐 오류 탐지:OS는 항상 모든 오류에 대해 의식하고 있어야함 자원할당 기록:프로그램의 자원할당량을 기록 보호:시스템 자원에대한 접근을 제한함 보완:외부입출력에 대해 보호및 접송을 기록 시스템콜 이란? 유저모드에서 운영체제에게 특권명령대행을 요청하는것 또한 OS로 인해 사용가능하게된 서비스 인터페이스를 제공 Shell OS와 접속하는 3가지 방법중 하나 API 프로그램에서 직접적인 시스템호출보다는 주로 높은수준의 API를 사용하여 접근,각API는 함수 현태로 구현됨(매개변수,리턴값 존재) 시스템콜 보다 프로그램 이식성이 편하고 시스템콜보다 디테일하게 프로그래밍 할수있음 RTE 시스템콜에대한 링크역할을 제공하는 시스템..