Nothing Special   »   [go: up one dir, main page]

CN105808433A - One-key tuning method based on Linux operating system - Google Patents

One-key tuning method based on Linux operating system Download PDF

Info

Publication number
CN105808433A
CN105808433A CN201610125954.4A CN201610125954A CN105808433A CN 105808433 A CN105808433 A CN 105808433A CN 201610125954 A CN201610125954 A CN 201610125954A CN 105808433 A CN105808433 A CN 105808433A
Authority
CN
China
Prior art keywords
tuning
server
linux
key
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610125954.4A
Other languages
Chinese (zh)
Inventor
李明煜
杨培强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Group Co Ltd
Original Assignee
Inspur Software Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Software Group Co Ltd filed Critical Inspur Software Group Co Ltd
Priority to CN201610125954.4A priority Critical patent/CN105808433A/en
Publication of CN105808433A publication Critical patent/CN105808433A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3628Software debugging of optimised code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a one-key tuning method based on a Linux operating system, which is based on one-key tuning software of the Linux operating system, selects corresponding tuning settings according to the application of a Linux server, carries out tuning in batch, and modifies and optimizes the parameters of a CPU, an internal memory, a disk and a network of the Linux operating system server so as to eliminate the performance bottlenecks generated by a processor subsystem, an internal memory subsystem, a disk subsystem and a network subsystem in the using process. The method is visual and easy to operate through a graphical operation interface; no complicated installation and configuration steps; based on different types of linux, different versions of the same system type, different purposes of the same version and different modules of the same purpose, the tuning scripts are classified carefully and comprehensively; adjusting and optimizing according to different configurations of the server, such as the number of CPUs (central processing units), the number of cores, the size of an internal memory and the like; and a plurality of servers can be selected to perform tuning in batch.

Description

A key tuning method based on (SuSE) Linux OS
Technical field
The present invention relates to technical field of software development, be specifically related to the key tuning method based on (SuSE) Linux OS.
Background technology
Linux operating system is as the operating system increased income, development is very fast at present, have been developed for a lot of different editions, such as redhat, suse, ubuntu etc., and widely use in the production server system of government, electricity business, enterprise etc., and it is incorporated in various computer hardware equipment after redevelopment.
Linux system version is more, and the method for optimization is also different, and the comparison that online or pertinent texts is introduced is single, is directed to a certain system version, and optimal way is still knocked order at textual interface and modified, cumbersome.
Linux system needs to carry out the tuning of some row before becoming production system, enable the service providing performance more excellent, but linux tuning is all by some technology are higher, the more rich engineer manitos of experience complete all the time, ordinary skill teacher is difficult to grasp tuning skill, one is that linux structure, kernel are not as familiar, two is that linux tuning requires over textual interface and completes, and interface is not as friendly.
Summary of the invention
The technical problem to be solved in the present invention is: in order to solve problem above, making up the common IT engineer predicament to system adjustment and optimization, improve the efficiency of system adjustment and optimization, the present invention provides an a kind of key tuning method based on (SuSE) Linux OS, by different types of linux operating system, the different editions of same operating system, the different purposes of same version, the disparate modules of same purposes is classified, and can according to the configuring condition of server, such as CPU number, memory size etc., refinement tuning scheme.
The technical solution adopted in the present invention is:
A key tuning method based on (SuSE) Linux OS, described method is based on a key optimization software of linux operating system, corresponding tuning is selected to arrange according to linux server purposes, batch carries out tuning, the parameters such as the CPU of linux operating system server, internal memory, disk, network are modified, optimized, to eliminate the performance bottleneck of processor subsystem in use procedure, memory subsystem, disk subsystem, network subsystem generation.
Described method passes through C# programming language, completes client, remote access exploitation, arranges corresponding functional module and functional keys, completes user operation and experiences;By writing of linuxshell completion system tuning script, complete concrete tuning work with script.
The described linuxshell of utilization writes tuning statement, some subsystems are divided to write, such as processor subsystem, memory subsystem, disk subsystem, network subsystem etc., the inside comprises the tuning of common system parameter, can be adjusted according to actual configuring condition.
Described systematic parameter is stored in the mini-relational type data base of SQLite, relevant system parameters can be automatically revised according to configuration, and by displaying in client end interface tuning parameter box, a key tuning is carried out after determining, generate executable shell script, being connected to the server end treating tuning by SSH, perform shell script, server parameter is modified at once.
Finally having the related command of reboot operation system in described script, energy is reboot operation system automatically, makes parameter come into force.
After tuning completes, run actual service, and by waiting test software etc. to carry out the test of reality, the server effect after observation tuning.
It is as follows that described method realizes step:
1) the one-touch optimization software based on linux operating system is arranged on the supervisor of a windows operating system, supervisor IP is configured and by tuning server ip at a network segment, ensureing that network communication is normal, closed by the fire wall of server, selinux disables;
2) according to server install linux OS Type, version, it is provided that service, supervisor carries out software design patterns;
3) selecting CPU number, check figure, memory size according to server actual disposition, be configured, the parameter to ensure different configuration of server tuning is slightly different;
4) purposes according to server, reasonably selects at management end, clicks after having selected " " button by shell script, can be revised server-side system parameter, reach the purpose of one-touch system adjustment and optimization in a key optimization;
5), after tuning completes, run actual service, and carry out actual test by testing software etc., observe the server effect after tuning.
The invention have the benefit that
1. patterned operation interface, intuitively, easily operates;
2. there is no installation and the configuration step of complexity;
3., based on different types of linux, the different editions of same system type, the different purposes of same version, the disparate modules of same purposes carries out tuning script classification, careful, comprehensive;
4. the different configurations according to server carry out tuning, such as CPU number, check figure, memory size etc.;
5. optional multiple servers batch carries out tuning.
Accompanying drawing explanation
Fig. 1 is the key optimization software surface chart based on linux operating system;
Fig. 2 is the inventive method operating procedure flow chart.
Detailed description of the invention
Below in conjunction with Figure of description, by detailed description of the invention, the present invention is further described:
Embodiment 1:
As shown in Figure 1, a key tuning method based on (SuSE) Linux OS, described method is based on a key optimization software of linux operating system, corresponding tuning is selected to arrange according to linux server purposes, batch carries out tuning, the parameters such as the CPU of linux operating system server, internal memory, disk, network are modified, optimized, to eliminate the performance bottleneck of processor subsystem in use procedure, memory subsystem, disk subsystem, network subsystem generation.
Embodiment 2:
On the basis of embodiment 1, method described in the present embodiment passes through C# programming language, completes client, remote access exploitation, arranges corresponding functional module and functional keys, completes user operation and experiences;By writing of linuxshell completion system tuning script, complete concrete tuning work with script.
Embodiment 3:
On the basis of embodiment 2, the present embodiment utilizes linuxshell to write tuning statement, some subsystems are divided to write, such as processor subsystem, memory subsystem, disk subsystem, network subsystem etc., the inside comprises the tuning of common system parameter, can be adjusted according to actual configuring condition.
Embodiment 4:
On the basis of embodiment 3, systematic parameter described in the present embodiment is stored in the mini-relational type data base of SQLite, relevant system parameters can be automatically revised according to configuration, and by displaying in client end interface tuning parameter box, carry out a key tuning after determining, generate executable shell script, be connected to the server end treating tuning by SSH, performing shell script, server parameter is modified at once.
Embodiment 5:
On the basis of embodiment 2,3 or 4, finally having the related command of reboot operation system in script described in the present embodiment, energy is reboot operation system automatically, makes parameter come into force.
Embodiment 6:
On the basis of embodiment 5, after the present embodiment tuning completes, run actual service, and by waiting test software etc. to carry out the test of reality, the server effect after observation tuning.
Embodiment 7:
As in figure 2 it is shown, on the basis of embodiment 6, it is as follows that method described in the present embodiment realizes step:
1) the one-touch optimization software based on linux operating system is arranged on the supervisor of a windows operating system, supervisor IP is configured and by tuning server ip at a network segment, ensureing that network communication is normal, closed by the fire wall of server, selinux disables;
2) the linux OS Type installed according to server, version, it is provided that service (such as web services, middleware services, database service etc.), supervisor carries out software design patterns;Supervisor end software needs the server first adding in network, one can be added, multiple stage can also be added, the purposes that certain multiple servers produces is all identical, namely the strategy parameter of tuning is all identical, by filling in the IP of server, user name, password make supervisor set up with server to be connected, server user adopts root user, to ensure that having highest weight limits;
3) selecting CPU number, check figure, memory size according to server actual disposition, be configured, the parameter to ensure different configuration of server tuning is slightly different;If interpolation multiple servers, multiple servers hardware configuration recommendation is identical;
4) purposes according to server, reasonably selects at management end, clicks after having selected " " button by shell script, can be revised server-side system parameter, reach the purpose of one-touch system adjustment and optimization in a key optimization;
5), after tuning completes, the service of reality can be run, and carry out actual test by testing software etc., observe the server effect after tuning.
Embodiment of above is merely to illustrate the present invention; and it is not limitation of the present invention; those of ordinary skill about technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes fall within scope of the invention, and the scope of patent protection of the present invention should be defined by the claims.

Claims (7)

1. based on a key tuning method of (SuSE) Linux OS, it is characterized in that: described method is based on a key optimization software of linux operating system, corresponding tuning is selected to arrange according to linux server purposes, batch carries out tuning, the CPU of linux operating system server, internal memory, disk, network parameter are modified, optimized, to eliminate the performance bottleneck of processor subsystem in use procedure, memory subsystem, disk subsystem, network subsystem generation.
2. the key tuning method based on (SuSE) Linux OS according to claim 1, it is characterized in that: described method passes through C# programming language, complete client, remote access exploitation, corresponding functional module and functional keys are set, complete user operation and experience;By writing of linuxshell completion system tuning script, complete concrete tuning work with script.
3. the key tuning method based on (SuSE) Linux OS according to claim 2, it is characterized in that: utilize linuxshell to write tuning statement, divide some subsystems to write, comprise the tuning of common system parameter, can be adjusted according to actual configuring condition.
4. the key tuning method based on (SuSE) Linux OS according to claim 3, it is characterized in that: described systematic parameter is stored in mini-relational type data base, relevant system parameters can be automatically revised according to configuration, and by displaying in client end interface tuning parameter box, carry out a key tuning after determining, generate executable shell script, be connected to the server end treating tuning by SSH, performing shell script, server parameter is modified at once.
5. according to the arbitrary described key tuning method based on (SuSE) Linux OS of claim 2,3 or 4, it is characterised in that: finally having the related command of reboot operation system in described script, energy is reboot operation system automatically, makes parameter come into force.
6. the key tuning method based on (SuSE) Linux OS according to claim 5, it is characterised in that: after tuning completes, run actual service, and by waiting test software to carry out actual test, the server effect after observation tuning.
7. the key tuning method based on (SuSE) Linux OS according to claim 6, it is characterised in that it is as follows that described method realizes step:
1) the one-touch optimization software based on linux operating system is arranged on the supervisor of a windows operating system, supervisor IP is configured and by tuning server ip at a network segment, ensureing that network communication is normal, closed by the fire wall of server, selinux disables;
2) according to server install linux OS Type, version, it is provided that service, supervisor carries out software design patterns;
3) selecting CPU number, check figure, memory size according to server actual disposition, be configured, the parameter to ensure different configuration of server tuning is slightly different;
4) purposes according to server, reasonably selects at management end, clicks " a key optimization " button after having selected, and by shell script, can revise server-side system parameter, reach the purpose of one-touch system adjustment and optimization;
5), after tuning completes, run actual service, and carry out actual test by testing software, observe the server effect after tuning.
CN201610125954.4A 2016-03-04 2016-03-04 One-key tuning method based on Linux operating system Pending CN105808433A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610125954.4A CN105808433A (en) 2016-03-04 2016-03-04 One-key tuning method based on Linux operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610125954.4A CN105808433A (en) 2016-03-04 2016-03-04 One-key tuning method based on Linux operating system

Publications (1)

Publication Number Publication Date
CN105808433A true CN105808433A (en) 2016-07-27

Family

ID=56467705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610125954.4A Pending CN105808433A (en) 2016-03-04 2016-03-04 One-key tuning method based on Linux operating system

Country Status (1)

Country Link
CN (1) CN105808433A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829458A (en) * 2018-05-30 2018-11-16 郑州云海信息技术有限公司 A kind of server installation Linux Optimizing Configuration System and method
CN109240750A (en) * 2018-08-29 2019-01-18 郑州云海信息技术有限公司 A kind of method and its server of data processing
CN111209051A (en) * 2020-01-13 2020-05-29 奇安信科技集团股份有限公司 Optimization acceleration method and device based on domestic operating system
CN113268274A (en) * 2021-05-18 2021-08-17 深圳市广和通无线股份有限公司 Operating system starting method and device, electronic equipment and storage medium
CN113553249A (en) * 2021-09-18 2021-10-26 统信软件技术有限公司 Operating system performance tuning method, computing device and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854271A (en) * 2010-05-10 2010-10-06 浪潮电子信息产业股份有限公司 Service performance testing method based on virtualization application platform
CN104579853A (en) * 2015-02-10 2015-04-29 浪潮电子信息产业股份有限公司 Method for network testing of server cluster system
CN105243012A (en) * 2015-09-11 2016-01-13 浪潮电子信息产业股份有限公司 Linux-based cluster network performance evaluation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854271A (en) * 2010-05-10 2010-10-06 浪潮电子信息产业股份有限公司 Service performance testing method based on virtualization application platform
CN104579853A (en) * 2015-02-10 2015-04-29 浪潮电子信息产业股份有限公司 Method for network testing of server cluster system
CN105243012A (en) * 2015-09-11 2016-01-13 浪潮电子信息产业股份有限公司 Linux-based cluster network performance evaluation method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MAGSICLEESIR: "《http://blog.51cto.com/chocolee/1424587》", 10 June 2014 *
刘哲: ""基于Oracle数据库系统的优化与性能调整研究"", 《绿色科技》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829458A (en) * 2018-05-30 2018-11-16 郑州云海信息技术有限公司 A kind of server installation Linux Optimizing Configuration System and method
CN109240750A (en) * 2018-08-29 2019-01-18 郑州云海信息技术有限公司 A kind of method and its server of data processing
CN111209051A (en) * 2020-01-13 2020-05-29 奇安信科技集团股份有限公司 Optimization acceleration method and device based on domestic operating system
CN111209051B (en) * 2020-01-13 2023-07-28 奇安信科技集团股份有限公司 Optimization acceleration method and device based on domestic operating system
CN113268274A (en) * 2021-05-18 2021-08-17 深圳市广和通无线股份有限公司 Operating system starting method and device, electronic equipment and storage medium
CN113553249A (en) * 2021-09-18 2021-10-26 统信软件技术有限公司 Operating system performance tuning method, computing device and readable storage medium

Similar Documents

Publication Publication Date Title
JP7421511B2 (en) Methods and apparatus, electronic devices, readable storage media and computer programs for deploying applications
US10565077B2 (en) Using cognitive technologies to identify and resolve issues in a distributed infrastructure
US11057502B2 (en) Cloud assisted behavioral automated testing
US9489189B2 (en) Dynamically generate and execute a context-specific patch installation procedure on a computing system
CN105808433A (en) One-key tuning method based on Linux operating system
CN108964982B (en) Method, apparatus and storage medium for enabling deployment of multiple nodes of a blockchain
US12126768B2 (en) System and methods for chatbot and search engine integration
US10901804B2 (en) Apparatus and method to select services for executing a user program based on a code pattern included therein
US20140365830A1 (en) System and method for test data generation and optimization for data driven testing
US10037390B2 (en) Techniques to simulate production events
US20170083643A1 (en) Reproducing problems in a cloud-based replica of a network
US12047534B2 (en) System and methods for an automated chatbot testing platform
US12093169B2 (en) Intelligent dynamic web service testing apparatus in a continuous integration and delivery environment
US11403079B2 (en) Integrated system for designing a user interface
US12079112B2 (en) Intelligent dynamic web service testing apparatus in a continuous integration and delivery environment
WO2023034145A1 (en) Session management system
US10176087B1 (en) Autogenic test framework
JP2021131897A (en) Scheduling method, device, equipment, storage equipment, and program
US11074054B1 (en) Integrated system for designing a user interface
US20210286785A1 (en) Graph-based application performance optimization platform for cloud computing environment
US20230171179A1 (en) Method for testing pressure, electronic device and storage medium
CN112486460A (en) Method, system, device and medium for automatically importing interface document
CN109814911A (en) Method, apparatus, computer equipment and storage medium for Manage Scripts program
EP3893107A1 (en) Intelligent feature delivery in a computing environment
JP2019070972A (en) Information processing system, information processing device, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160727

RJ01 Rejection of invention patent application after publication