CPU of Linux system and performance monitoringPerformance optimization is the process of finding bottlenecks in system processing and removing them. This article was translated by sanotes.net webmaster Tonnyom in August 2009 from the Linux System and performance monitoring series. This article is the first in a series that describes CPU performance monitoring.
Tonnyom Source: sanotes.net|2010-
Article Title: CPU load in Linux. Linux is a technology channel of the IT lab in China. Some basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open-source systems view the Nagios alarm information yesterday and find that one of the servers is overloaded with CPU and the machine is CentOS. The information is as follows:
2011-2-15 (Tuesday) 17: 50 W
Computer use for a long time, it is inevitable that such a failure. In many computer failures, board card class appears the most likely. Although the CPU is an important part of the computer, but the probability of failure is relatively small, common CPU failures are roughly the following: thermal failure, restart failure, black screen fault and overclocking failure. Because the
■ Pisces
We have done a lot of articles about CPU, but for most users, we may not have the opportunity to split the CPU in the chassis. Therefore, this time, we will learn about our processor through the system and simple software methods.
EntryIf you only want to know your CPU model, Windows Me/2000/XP operating systems can help us complete this task. After ente
In the Linux system, the software and hardware information of proc file system display system is supplied. If you want to understand the system of CPU suppliers and coherent device information, it can be obtained through the process/proc/cpuinfo file. This article makes a brief summary of the file.Unlike the/proc/cpuinfo file generated by the instruction set (ISA) CPU, the/proc/cpuinfo file based on the X86
balanced definition of the various OS subsystems. These subsystems include:CPUMemoryIoNetworkThese subsystems are mutually dependent, and any high load will cause problems in other subsystems. For example:Memory queue congestion caused by a large number of page call requestsThe large throughput of the NIC may cause more CPU overhead.A large amount of CPU overhead will try more memory usage requestsA large
When using the top command, we will see this line: What do the values in it mean? I was asked this question today and found that the answer is not very clear. Sure enough, the most frequently used top commands every day are still unknown... Shame... So I checked some information: The official explanation of Cpu (s) indicates cpu information. The meaning of each value is: us: usercputime (or) % CPUtimespenti
We can use/proc/cpuinfo to view CPU information. This file contains the data section of each processor on the system. There are six entries in the/proc/cpuinfo description for multi-core and super-thread (HT) technical checks: processor, vendor id, physical id, siblings, core id and cpu cores.
(1) processor: including the unique identifier of the logical processor.
(2) physical id: including the unique id
0. Prepare knowledgeHyper-Threading Technology (hyper-threading): Using special hardware instructions, the two logical cores (CPU core) are simulated into two physical chips,Allows a single processor to use thread-level parallel computing, which is compatible with multi-threaded operating systems and software, reducing the idle time of the CPU and improving the efficiency of
Add by Zhj: Here's a good explanation of what WA means in the top command, and we know that when Io is blocked, the operating system changes the process to a blocking state, and the CPU is scheduled to run other processes.When the CPU is idle, it checks for blocked IO (disk or network), and if so, it is WA; if not, that is the real idle. In the top command, 85.1%id is the true idle ratio, and has the follow
You will see this line when you use the top command:650) this.width=650; "title=" image () "border=" 0 "alt=" image () "Src=" http://image.mamicode.com/info/201606/ 20181018163955000369.png "width=" 1096 "height=" "style=" border:0px;padding-top:0px;padding-left:0px; Padding-right:0px;background-image:none; "/>What are the meanings of each of these values?Asked this question today, I found that the answer is not very clear. Sure enough, every day with the most top command has not been well-acqua
Metrics to measure CPU performance:1, the user uses the CPU situation;CPU runs regular user processesCPU Running niced ProcessCPU running real-time process2, the system uses CPU condition;For I/O Management: interrupts and drivesFor memory management: page swappingUser Process Management: Process start and context swit
Note: This content is excerpted from the "DevOps Troubleshooting: Best Practices for Linux server Operations" book
System load
The average system load is probably the first basic metric to use when solving problems that cause the system to run slowly. When troubleshooting a slow system, the first command I usually perform is uptime:650) this.width=650; "class=" Fit-image "src=" http://s1.51cto.com/wyfs02/M01/26/AA/ Wkiol1nsi6xzdziqaaad5zfasxa907.jpg "height=" "border=" 0 "width=" 4
Linux-CPU performance optimization,
Preface
What is performance optimization? In my opinion, performance optimization aims to improve application or system capabilities. So how can we optimize the performance of the application? We have designed a lot of content here, including the Linux kernel, CPU architecture and Linux kernel Resource Allocation and Management, and understanding the process creation pro
The overclocking of the computer is to improve the working frequency of the CPU, graphics and other hardware by artificial way, so that they work stably under the rated frequency state. The Intel P4C 2.4GHz CPU For example, its rated operating frequency is 2.4GHz, if the operating frequency to 2.6GHz, the system can still run stably, then the overclocking was successful.
The main purpose of
Computer use for a long time, it is inevitable that such a failure. In many computer failures, board card class appears the most likely. Although the CPU is an important part of the computer, but the probability of failure is relatively small, common CPU failures are roughly the following: thermal failure, restart failure, black screen fault and overclocking failure. Because the
We can use/proc/cpuinfo to view CPU information. This file contains the data section of each processor on the system. There are six entries in the/proc/cpuinfo description for multi-core and hyper-thread (HT) technical checks: processor, vendorid, physicalid, siblings, coreid and cpucores. We can use/proc/cpuinfo to view CPU information. This file contains the data section of each processor on the system. T
Recently responsible for the SVR pressure is large, business logic is a little more complex, can optimize the place has been all optimized,
Currently 3k per second, CPU load is still relatively high
Top look, 4 core CPU load is not too balanced, it is intended to consider the business process is assigned to 3 CPU running, the other
Layer-3 Ethernet switches are quite common, so I have studied the problems related to the CPU packet sending and receiving of layer-3 Ethernet switches. I would like to share them with you here, hoping they will be useful to you. Layer-3 Ethernet switches are developing rapidly. On the one hand, bandwidth and switching capacity of network devices are greatly increased, and the types of protocols supported by devices are also increasing with the increa
Why is the server so slow? CPU, RAM, and disk I/O resources are exhausted, and ram is used up
Machine running is slow because it consumes too many system-specific resources. The main resources of the system include CPU, RAM, disk I/O, and network. Excessive use of any of these resources puts the system in trouble. However, if you can log on to the system, you can use a large number of tools to determine the
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.