Linux performance optimization Overview

Source: Internet
Author: User

I don't want to explain the problem with some abstract concepts here. I just want to express my thoughts as accurately as possible in plain languages. Optimization. Why? If you say a system needs to be optimized, what are your criteria? There are only two aspects: (1)Response timeSpecifically, the time interval from when the user sends a request to when the response is received. If your users do not feel that the response time is too long, don't find something for yourself. (2)ThroughputThe number of user or system requests completed per unit time. But sometimes these two points are contradictory and you have to make a balance. Let these two points reach a reasonable range.

If you have determined the optimization goal, you should find the path to achieve the goal. I have five years of Java development experience and SystemsManagementIn terms of experience, we can achieve our goal from the following two aspects:

I. System-level optimization
System-level optimization is too big. To put it bluntly, it is the allocation of system resources. system resources are the CPU, memory, storage (I/O), network and serial communication.

2. Application-level optimization
Application-level optimization is the applicationProgramThe architectural design of the program, whether the program logic gives full play to the advantages of the system.

OptimizationIn the end, it is running on the system.ApplicationWhetherEfficientUsedSystem Resources.

You need to know that debugging is necessary to optimize the system. Therefore, the debugging tool will also affect the system performance while debugging, therefore, when performing Performance Analysis and debugging, you must use a variety of tools to analyze resource bottlenecks,Performance OptimizationThere is no unique value or optimal value.
Performance Analysis and debugging principles:
1. If you do not understand it, do not modify the system parameters at will.
2. Only one system resource is debugged at a time.
3. We recommend that you modify the parameter settings as few as possible each time.
4. Multiple tools are used to analyze a system resource.
5.

OK. This is the summary. If you have any mistakes, please give me more advice.

Tools for analyzing and debugging different resources are described in my other blog. For more information, see. Http://space.itpub.net/8554499/viewspace-580463

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.