Multithreading Foundation
Thread overview
Thread is a lightweight process (LWP). In Linux environment, the essence of thread is still a process. The program running on the computer is a combination of a group of instructions and instruction parameters. The instructions control the computer according to the established logic. The operating system will allocate syste ...
Added by php-n00b on Sun, 23 Jan 2022 00:58:55 +0200
BlingOS Development notes -- 1 Development preparation and environment configuration
BlingOS Development notes -- development preparation and environment configuration
preface
Reasons for developing the operating system:
1. Want to understand the operating system in a more direct way
2. This ™ It's me, bisher
References:
1. Operating system image restoration
2. The 4th edition of the original book of modern operating syst ...
Added by wxflint on Sat, 22 Jan 2022 15:33:05 +0200
Operating system of Jilin University (Experiment 1: Linux Process and thread communication)
Operating system of Jilin University (Experiment 2: processor scheduling -- real-time scheduling algorithms EDF and RMS) Vegetable chicken blog, just as a learning record... Learn the operating system!
1. Getting ready
Our teacher suggested to experience gcc programming under Linux, so if we don't use the computer provided by the school and e ...
Added by ottoman_ on Fri, 21 Jan 2022 02:25:40 +0200
[operating system] memory management
1, Experimental purpose
1. Understand the characteristics of virtual storage technology, master the basic idea and implementation process of several basic page replacement algorithms in virtual storage request page storage management, and compare their efficiency. 2. Understand programming techniques and the causes of memory leaks
2, Expe ...
Added by Jason_London on Thu, 20 Jan 2022 11:05:43 +0200
Operating system experiment report 2
Operating system experiment report 2
Experimental content
Understand x86 assembly language programming environment under Linux;Blum's Book: Sample programs in Chapter 04, 05 (Moving Data).
Experimental environment
Architecture: Intel x86_64 (virtual machine)Operating system: Ubuntu 20.04Assembler: gas (GNU assembler) in at & T modeCompi ...
Added by pourmeanother on Mon, 17 Jan 2022 11:45:13 +0200
[OS series-3] - thread explanation - Communication and synchronization
Inter thread synchronization
Locking mechanism: mutex, conditional variable, semaphore, read / write lockMutex: provides a way for data structures to be modified concurrently in an exclusive mannerRead / write lock: write lock preempts resources first. Read lock allows multiple threads to read shared data together, and write lock operation ...
Added by saeeddeep on Sun, 16 Jan 2022 11:56:30 +0200
Linux performance analysis 60 seconds
The official account of WeChat: the story of operation and development.
Master some performance optimization tools and methods, which need to be accumulated in the work; Basic computer knowledge is very important, such as network knowledge, operating system knowledge and so on. Mastering the basic knowledge can enable you to grasp the key of ...
Added by fgm on Sat, 15 Jan 2022 04:38:46 +0200
Experiment 3 storage management
1, Experimental purpose
One of the main functions of storage management is to allocate space reasonably. Request page management is a common virtual storage management technology. The purpose of this experiment is to understand the characteristics of virtual storage technology and master the page replacement algorithm of request page storage m ...
Added by Wien on Fri, 14 Jan 2022 18:34:49 +0200
py3nvml realize GPU related information reading
Technical background
With the increase of model computation and the development of hardware technology, using GPU to complete various tasks has gradually become the mainstream means of algorithm implementation. For the occupation of some GPUs during operation, such as the utilization rate of video memory at each step, some detailed GPU informat ...
Added by explore on Thu, 13 Jan 2022 05:16:22 +0200
Detailed flow and example of TCP and UDP based on socket network programming technology
There are too many explanations of specific functions. Analyze them by yourself according to the program.
You can refer to this article:
https://blog.csdn.net/qq_41687938/article/details/119102328?spm=1001.2014.3001.5501
https://blog.csdn.net/weixin_42193813/article/details/105666316
catalogue
1, socket
1.1 socket overview
1.2 introduc ...
Added by martinstan on Tue, 11 Jan 2022 01:24:34 +0200