Discover linux performance tuning books, include the articles, news, trends, analysis and practical advice about linux performance tuning books on alibabacloud.com
The method of performance tuning for Linux operating system 2013-03-18 15:35 Honestqiao Chinaunixfont Size:T | T Linux is a free-to-use and free-to-propagate Unix-like operating system, with different Linux distributions and different kernels making changes to the parameter
One of linux Performance Tuning: disk partitioning policies for servers, whether in windows or linux, affect system performance. after partitioning a disk, It is formatted as a system file in a certain format. Finally, it is stored in user or system data. The faster the resp
Linux Performance Tuning Command essenceTime: 2010-6-23First, see the hard drive read speedCommand: Hdparm-t/dev/sda5Printed: Timing buffered disk reads:254 MB in 3.01 seconds = 84.34 mb/secDescription: Can specify which hard disk to query the OH.Ii. finding the most iowait-consuming processOperation Steps:1./etc/init.d/syslog Stop2. Echo 1 >/proc/sys/vm/block_du
Linux VMf Performance TuningExcerpt from: http://www.linuxhowtos.org/System/Linux%20Memory%20Management.htmThe difference between buffer and cacheThe buffer is associated with a specific block device, including the file system's cache,Meta data, and tracking dynamic pagesSome patches (patchsets) allow the kernel to automatically adjust the threshold value of the
instead of dynamic content whenever possible, and if you are generating weather forecasts or other data that must be updated every 1 hours, it is best to write a program that generates a static file every 1 hours instead of letting the user run a CGI to generate the report dynamically. Choosing the fastest and most suitable api,cgi for a dynamic application can be the easiest to program, but it will produce a process for each request, which is usually a costly and unnecessary process, fastcgi i
to disk per secondKb_ccwr/s: the number of disk writes per second that the process is canceling (in kilobytes)Command: pull up the commands corresponding to the processpidstat [-p pid]-r [-t] 1 3 display memory information650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M02/8E/AC/wKioL1jI4LPRFg3WAAAVeqTOCp8268.png "title=" _ 20170315143457.png "alt=" wkiol1ji4lprfg3waaaveqtocp8268.png "/>Minflt/s: the total number of minor page faults (no paging of memory pages from Disk) per second for
on static file compression />2. Optimizing the JVM for catalina.shOpen the Tomcat path \bin\ catalina.sh, add at the top, red part please adjust according to the actual situationJava_opts= "-server-showversion-xms12g-xmx12g-xx:permsize=256m-xx:maxpermsize=256m "java_opts= "$JAVA _opts-d64-xx:cicompilercount=8-xx:+usecompressedoops"java_opts= "$JAVA _opts-xx:survivorratio=4-xx:targetsurvivorratio=90"java_opts= "$JAVA _opts-xx:reservedcodecachesize=256m-xx:-useadaptivesizepolicy"java_opts= "$JAVA
virtual memory management of Linux, it is assumed that a memory page has been allocated, but it has not been used for some time. Linux will move the memory page into the swap space.You can often see daemons such as Getty, which are usually started when the system is started. But it was almost not used. It seems more efficient to free up the precious main memory of the page and move it to the swap area.This
, faster disk.2.5.1. Network performance evaluation(1)通过ping命令检测网络的连通性(2)通过netstat –i组合检测网络接口状况(3)通过netstat –r组合检测系统的路由表信息(4)通过sar –n组合显示系统的网络运行状态Three Linux server performance Tuning 1. Tuning the Linux kernel elevator algorithm
Tags: and fast speaking tuning market buffer way a completely"High-performance SQL Tuning essentials and Case Resolution" a book has been launched, many enthusiastic readers on the contents of the book and some of the specific questions raised questions, because of the numerous readers plus my daily work busy, here on the SQL
configuration.Linux is rich, powerful, and flexible, and you can do a variety of tasks with it, and in this article we'll discuss some tips for improving the performance of Linux servers.1. Tuning the Linux kernel elevator algorithm for disk I/OAfter selecting the file system, there are some kernel and mount options t
corresponding memory page is found in buffer cache, a MNPF (Minor page fault) will be generated./usr/bin/time-v HelloWorldThe first execution will find that most of the MPFThe second execution will find that most of the MNPFThe File Buffer CacheThe file buffer cache is used to reduce the MPF and increase MNPF, which will continue to grow until there is less available memory or the kernel needs to release some memory for other applications. Free memory is less, does not indicate the system memor
Translation: Hank (http://blog.csdn.net/fireroll)All rights reserved, respect other people's labor results, please indicate the author and original source and this statement when reproduced.The original name: "Linux Performance and Tuning guidelines"Original address: http://www.redbooks.ibm.com/abstracts/redp4285.html3.3 Memory BottlenecksOn a
Linux server performance is often affected by CPU, memory, disk I/O, network bandwidth, and so on, for each Linux background server developer, it is necessary to master some of the common performance tuning tools. Covering almost every aspect of a system, the tools in the di
alarm tcp:time wait bucket table overflow. However, you can increase concurrency and save ports.Net.ipv4.tcp_max_tw_buckets = 8000Increase the range of available ports, as the effect impliesNet.ipv4.ip_local_port_range = 1024 65000Last two parameters I forgot what it meant, but also add it:)Net.ipv4.tcp_keepalive_time = 1200Net.ipv4.tcp_max_syn_backlog = 81920At this point, your Nginx server can be happy to run up!Redis Server kernel TuningJust one.Vm.overcommit_memory = 1To avoid the system ru
lower.using Ulimit to limit CPU timeNote that ulimit restricts the current shell process and its derived child processes. Therefore, you can call Ulimit in the script to limit the CPU usage time. For example, limit the CPU time for tar in seconds.If the tar takes longer than 100 seconds, tar exits, which may result in incomplete packaging, so it is not recommended to use Ulimit to limit CPU time. In addition, the user can be restricted by modifying the system's/etc/security/limits configuration
From:http://www.frostsky.com/2013/03/linux-performance-analysis-tool?wpmp_switcher=desktopThe previous time saw Brendangregg's Linux performance analysis and tools PPT mentioned Linux common Performance
[HKEY_Local_Machine\system\CurrentControlSet\services\tcpip\parameters]"TcpNumConnections" =dword:00fffffe; Modify the maximum usage value of the paged pool is reclaimed by the system[HKEY_Local_Machine\system\CurrentControlSet\control\sessionManager\memoryManagement]"Poolusagemaxium" =dword:00000032; repair system supports maximum network throughput[HKEY_Local_Machine\system\CurrentControlSet\services\lanmanserver]"MaxFreeConnections" =dword:00001000 "MinFreeConnections" =dword:00000100 Copyrig
calculation in the loop, example: for ($i =0; $i
9. Reduce compute-intensive operations. Reason: Php language features decided, PHP is written in C language, in the upper level, the implementation of the words must pass C to run, just a link effect. PHP is good at connecting webserver with backend services, UI presentation. So intensive business is best achieved through other languages, otherwise it will become a performance bottleneck.
10. Be s
Tuning system performance using SAR in LinuxKeywords: SARThe SAR default is not installed under Linux, we need to install manually, it is generally recommended source mode installation, download similar sysstat-6.1.3.tar.gzYou can then use the Configure make make install.Common formats for the SAR command line:SAR [Options] [-A] [-o file] t [n]In the command line
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.