Haven't come to the garden to write an article, today I share an article about the process and threading theory related content, many people are using multi-threaded, multi-process or thread pool, process pool, but you do not know why to use, from
CPU Tuning
How the CPU processes data:
1: Batch processing, sequential processing requests. (Less switching times, larger throughput)
2: time-sharing processing. (like "exclusive", throughput is small) (Time slices, the request is divided into one
Task_struct: is a data structure of the Linux kernel. It is placed in RAM (running memory) and contains information about the process. Each process puts its own information in the TASK_STRUCT data structure.
The Task_struct field analysis is as
1, the meaning of the process
The so-called process is a task in AIX, and a running program is a process.
2, child processes and parent processes
Processes and processes can have dependencies, a process can produce new processes, and the
Overview:
Process understanding and Viewing (PS command), process priority (NICE), process pre-and post-switchover (BG,FG), Process signal (kill), User login audit (last,w, etc.), dynamic view of process status (Top command), The various services of
The target of Linux process scheduling1. Efficiency: High efficiency means that more tasks are done at the same time. The scheduler will be executed frequently, so the scheduler should be as efficient as possible;2. Enhance the interactive
1. Process ConceptA process is a run-time activity of a program with independent functionality about a data collection. It can apply and own system resources, is a dynamic concept, is an active entity. It is not just the code of the program, it also
Reprint Please specify: theviper http://www.cnblogs.com/TheViper
Process
In any multi-channel program design system, the CPU is quickly switched from one process to another, allowing each process to run for dozens of or hundreds of
Abstractapplicationcontext AnalysisStart processPrepare this context for refreshing.Preparerefresh ();1.Initialize any placeholder property sources in the context environmentPreprocessing configuration, currently seen in Web tier implementations
Process ManagementProcess ProcessesA process opened by an applicationPIDProcess IDType:User space ProcessKernel space ProcessTo view the status of a process statically# PS[[Email protected] ~]# PS>>>> View the process of this terminalPID TTY Time
A process is the unit of resource allocation and independent operation of the operating system. It is generally made up of the following three parts.Process Control blockWhen the process is created, the operating system creates a new PCB structure,
Introduction The top command is a common performance analysis tool under Linux that shows the resource usage of individual processes in the system in real time, similar to the Task Manager for Windows.Top display system current process and other
During system maintenance, it may be necessary to review the CPU usage at any time, and to analyze the system condition according to the corresponding information. In CentOS, you can view CPU usage by using the top command. After running the top
IoScheduling PolicyIO scheduling strategy generally has btrfs Cfq,noop, Deadline three kinds ofAppendix:The overall goal of the IO Scheduler is to keep the head moving in one Direction , moving to the opposite direction , which is exactly the
DemandIn the article "Analysis of Linux process scheduling", it is mentioned that in SMP (symmetric multiprocessor) environment, each CPU corresponds to a run_queue (executable queue). If a process is in the task_running state (executable state), it
interprocess communication (Ipc:inter process communication)Shared memory between processesSignal: SignalSemaphore: Send SignalImportant signals in process management: 1:sighup; Let a process not restart, you can reread its configuration file, and
What does the CPU information in the top command of Linux mean?Cpu (s): 62.1% us, 15.9% sy,0.1% ni, 19.4% id,2.0% wa,0.1% hi,0.4% simem:8247956k total,8232004k used,15952k free,205240k buffersswap:8191992k total,48k used,8191944k free,7156092k
When we use any operating system will open some applications, then open the program will open a process, we use the Windows system, sometimes open a QQ, while opening a game, you can also open the music playback software, Too many open programs will
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.