Idea of time slice rotation algorithm (java)
1, Request
This paper expounds the process from submission to execution of multiple jobs, and explains the concept, differences and relationship of three-level scheduling;The ideas, characteristics, advantages and disadvantages of FCFS, SJF/SPF, HRRN, RR and multi-level feedback queue scheduling algorithms are described;The algorithm realize ...
Posted by jackson4me90 on Sun, 05 Dec 2021 01:56:20 -0800
Operating system: Experiment 1. Process scheduling experiment
[purpose]
Write and debug a process scheduler in high-level language to deepen the understanding of process concept and process scheduling algorithm
[experimental equipment and software]
Experimental running environment: C language programming environment Preparations before boarding include ...
Posted by egturnkey on Thu, 02 Dec 2021 12:55:44 -0800
k8s, persistent storage PV and PVC, static supply of PV/PVC nginx case, PV&&PVC application in mysql persistent storage actual project
1. Introduction of PV and PVC
Volume provides a very good data persistence scheme, but there are still deficiencies in manageability. Take the previous example of AWS EBS. To use Volume, Pod must know the following information in advance: The current Volume is from AWS EBS. The EBS Volume has been created in advance and the exact volume ID ...
Posted by FlipinMonkeyPie on Wed, 01 Dec 2021 15:27:12 -0800
Nanjing University of Posts and telecommunications operating system experiment 4: simple file system simulation experiment
Experiment purpose and requirements
Understand the file system composition and basic principle of the operating system, use these knowledge to simulate a FAT file system in memory, complete the file creation and indexing functions, and realize the following command interfaces:
(1) New file, format: ...
Posted by DapperDanMan on Sat, 27 Nov 2021 19:45:00 -0800
Experiment 2 of operating system of Nanjing University of Posts and Telecommunications: mutual exclusion and synchronization of threads
Experimental principle and content
Critical area management based on mutual exclusion
Using the editor gedit 2_1.c, create a new 2_1.c source file, create two threads to complete the ticket booking operation concurrently, and enter the following example code:
#include <stdio.h>
#include <pthread.h>
#include <unistd.h>
int ti ...
Posted by SalientAnimal on Sat, 27 Nov 2021 19:33:26 -0800
Request page storage management basic replacement algorithm LRU and CLOCK
1, Experimental purpose
By simulating several basic page replacement algorithms for request page storage management, understand the characteristics of virtual storage technology, master the basic ideas and implementation process of several basic page replacement algorithms in virtual storage request page storage management, and compare their e ...
Posted by fortnox007 on Fri, 26 Nov 2021 16:03:13 -0800
Thread class and common methods
Thread class and common methods
Common construction methods of Thread:
methodexplainThread( )Create thread objectThread(Runnable target)Creating thread objects using Runnable objectsThread(String name)Create a thread object and name itThread(Runnable target,String name)Use the Runnable object to create a thread object and name it
give an ...
Posted by Locked on Wed, 24 Nov 2021 04:07:46 -0800
[operating system experiment] simulation using dynamic partition allocation (implemented in c + +)
Experimental purpose
Understand the data structure and allocation algorithm used in dynamic partition allocation, and further deepen the understanding of dynamic partition storage management and its implementation process.
Experimental content
(1) The dynamic partition allocation process alloc() and the recovery process free() using the ...
Posted by cpjok on Mon, 22 Nov 2021 01:25:01 -0800
[RT thread learning notes] how to exit QEMU simulator gracefully
This article was originally published by RT thread forum user @ recan: https://club.rt-thread.org/as...1 problem scenarioI believe many people, like me, have just come into contact with RT thread and are on the way to learn RT thread. However, learning an embedded real-time operating system without a hardware development board, in my previous u ...
Posted by Shovinus on Thu, 11 Nov 2021 02:17:56 -0800
Can't build a station? Let's build one from scratch (super detailed)
Double eleven is coming. Do you plan to buy a cloud server and build a website, such as a personal blog? This paper starts from scratch. The software is WordPress, which is relatively mature, and the operating system is CentOS
1. Environmental preparation
Official website address: https://cn.wordpress.org
PHP 7.4 or laterMySQL 5.6 or later, ...
Posted by hismightiness on Mon, 08 Nov 2021 20:34:01 -0800