[Network]Introduction and Basic concepts

【这个系列是复习计算机网路的知识。

因为立即要申请出国了,所以在写这个系列的博客时大部分使用英文。

尽管是英文。但绝大部分内容都是我自己的感受和理解,供大家一起学习和讨论】

1 Network Edge

The device such as computers and mobiles connect to the Internet. So they are referred as end systems(who run the application programs) sitting at the edge of the Internet. And we use host and end system interchangeably, that is host=end system which is
divided into  two categories: clients and servers.

2 Network Core

Network Core is the set of router-like and the Internet that implement the network and communication. And there are two type of Network Cores: circuit-switching and packet-switching.

2.1 Circuit Switching

Circuit-switching reserves dedicated circuit for each call or communication. When there are several circuits the network will divide the link bandwidth or switch capacity into several pieces - FDM and TDM.

In fact, the resource are divided according to the amount of users or links. For details in the example below: the 24 denotes that there are 24 circuits.

2.2 Packet Switching

Users share network resources in packet-switching. And the properties of packet-switching as follows:

  • each packet uses full link bandwidth;
  • Share network resources;

The free way of switching must take some disadvantages, as follows:

  • the demanded resources in network may exceed the available - because of the second character
  • the free link may cause congestions, build a waiting queue - because the packets are put into network sharing the resources and links.

The freedom is not absolute but relative. The resources in network are used on demand. So we also use the idea of multiplexing like circuit-switching. But the difference is that each slot or bandwidth is used on demand not fixed for a particular link or
something else.

Be care of the delay affairs in the Packet-Switching Network. Briefly, transmission delay -> propagation delay.

2.3 Packet Switching versus Circuit Switching

Packet Switching allows more users to use network.

The disadvantages of packet switching.

3 Delay, Loss, and Throughput

3.1 Four sources of packet delay

1. Nodal processing

In this part of work, the router or switch is going to process the packet to be sent. It will check the bit errors and determine the output link. So the processing cause some time consuming.

2. queueing

It is the time waiting at some output link to be transmitted. The length depends on the congestion level of each router.

La/R (a is the average packet arrival rate). The more the large time to wait.

a is about input, L/R is about output. Queueing delay is effected by both of input and output.

3. Transmission delay

We should distinguish the transmission and propagation first. The transmission is the work before propagation to transmit a packet to the next link.

There usually is a defination that: R=link bandwidth(1)(bps), L=packet length(bits), the time is L/R.

4. Propagation delay

The propagation delay is actually the time during which the packet will be propagated in the network.

There usually is a defination that: d=length of physical link, s=propagation speed in medium, the time isd/s.

NOTE: in some calculation, we simply assume that propagation is totally after the transmission. But this is just fit in low-speed links(which means the propagation take relatively long time), so we have the following formula

3.2 Packet Loss

This problem exists because the buffers of processing link has infinite capacity. Packets arriving the full buffered link will be dropped.

3.3 Throughput

We first distinguish the concepts of bandwidth and throughput.

Throughput is the rate at which the bits transferred between sender and receiver. So the throughput is a abstract concept that is just the result of a real Internet.

The throughput of a link is decided by the bottleneck link in it.

4 Protocol Layers and Service Models

4.1 Why layering

1. Build relationships between the complex components of a network.

2. Modularization.

============================================================================================

(1) bandwidth: 在我查看了维基并结合网络上带宽的使用,我认为在这里带宽的解释能够是这种:单位时间内,能够通过某个port的数据。

时间: 2024-08-06 20:00:36

[Network]Introduction and Basic concepts的相关文章

Introduction and Basic concepts

1 Network Edge The device such as computers and mobiles connect to the Internet. So they are referred as end systems(who run the application programs) sitting at the edge of the Internet. And we use host and end system interchangeably, that is host=e

Basic Concepts 基本概念(二)

Basic Concepts There are a few concepts that are core to Elasticsearch. Understanding these concepts from the outset will tremendously help ease the learning process. 有一些概念是Elasticsearch的核心.从一开始就理解这些概念将极大地帮助简化学习过程. Near Realtime (NRT) Elasticsearch i

Pattern Discovery Basic Concepts

Pattern Discovery Basic Concepts @(Pattern Discovery in Data Mining)[Pattern Discovery] 本文介绍了基本的模式挖掘的概念 Pattern: A set of items, subsequences, or substructures that occur frequently together (or strongly correlated) in a data set. Motivation to do pa

Basic Concepts of Block Media Recovery

Basic Concepts of Block Media Recovery Whenever block corruption has been automatically detected, you can perform block media recovery manually with the RECOVER ... BLOCK command. By default, RMAN first searches for good blocks in the real-time query

In-memory Computing with SAP HANA读书笔记 - 第一章:Basic concepts of in-memory

本文为In-memory Computing with SAP HANA on Lenovo X6 Systems第一章Basic concepts of in-memory computing的读书笔记. 作为基础概念,本章非常重要.此Redbook讲得浅显易懂,配图也容易理解.唯一需要深读是DL ACM的那篇论文,后续我会再补充. "卑之,毋甚高论,令今可行也", 本章正符合汉文帝对于张释之的要求. Basic concepts of in-memory computing In-

Nginx Tutorial #1: Basic Concepts(转)

add by zhj: 文章写的很好,适合初学者 原文:https://www.netguru.com/codestories/nginx-tutorial-basics-concepts Introduction Hello! Sharing is caring, so we'd love to share another piece of knowledge with you. We prepared a three-part nginx tutorial. If you already k

HTML5 Basic Concepts

1. 关于编程习惯. 在查看网页源代码时(推荐firefox配置的firebug),良好的编程习惯可以让我们对代码结构有一个更好的了解,在读懂别人的代码或者debug的时候更能找到问题所在. <!DOCTYPE html> <html> //sheng <head> <meta charset = "UTF-8"> <title>HelloWorld!</title> <script>...</s

(C/C++) Interview in English - Basic concepts.

Question Key words Anwser A assignment operator abstract class It is a class that has one or more pure virtual functions. assignment & initialization constructed -> change value ,Same time Assignment changes the value of the object that has already

Basic Concepts in OS X Operation System(OSX系统的一些基本概念),准确地说是mach内核的一些基本概念

TasksA task is a logical representation of an execution environment. Tasks are usedin order to divide system resources between each running program. Each taskhas its own virtual address space and privilege level. Each task contains one ormore threads