Discover linux performance tuning books, include the articles, news, trends, analysis and practical advice about linux performance tuning books on alibabacloud.com
Linux for each user, the system limits its maximum number of processes. To improve performance, the maximum number of processes per Linux user can be set according to the device resource situationYou can use Ulimit-a to display the current various user process limits.Below I set the maximum number of processes for a Linux
First of all. Request no more framed netfilter. Although it has some inherent performance loss, but please do not equate iptables and netfilter, assuming you want to catch the culprit, please say iptables, instead of saying netfilter!Iptables really is a weak explosion!Its ipt_do_table is actually one of the five main culprits, assuming that the rule exceeds 7000, then it is the first (the other culprit is the Nf_conntrack function, they are also netf
Transferred from: http://blog.csdn.net/liangxiaozhang/article/details/8363435Linux for each user, the system limits its maximum number of processes. To improve performance, the maximum number of processes per Linux user can be set according to the device resource situationYou can use Ulimit-a to display the current various user process limits.Below I set the maximum number of processes for a
First, ask for no more framing netfilter!. Although it has some inherent performance loss, but please do not equate iptables and netfilter, if you want to catch the culprit, please speak directly iptables, and not to say netfilter!Iptables really is a weak explosion! Its ipt_do_table is one of the five main culprits, if the rule exceeds 7000, then it is the first (the other culprit is the Nf_conntrack function, they are also netfilter hook). Iptables
All TCP/IP tuning parameters are in the/proc/sys/net/directory. For example, the following are some of the most important optimization parameters, which are followed by their meanings:
1./proc/sys/net/core/rmem_max-maximum TCP Data receiving buffer 2./proc/sys/net/core/wmem_max-maximum TCP data sending buffer 3, /proc/sys/net/ipv4/tcp_timestamps-timestamp in (refer to RFC 1323) add 12 bytes to the TCP Header. 4./proc/sys/net/ipv4/tcp_sack-select the r
the number of seconds accountedseconds for by this function and those listed above it.Self the number of seconds accountedseconds function alone. The major sort for thisListing.Calls the number of times this function is invoked, ifThis function is profiled, else blank.Self the average number of milliseconds spent in thisMs/call function per call, if the function is profiled,else blank.Total the average number of milliseconds spent in thisMs/call function and its descendents per call, if thisfun
such as vmstat and iostat. 2) statistics on various network protocols of netstat 3) pidstat observe process faults 4) strace trace system calls and resources 5) tcpdump listen to network packets and provide file output, wireshark for further analysis 6) blktrace for block device I/O events 7) iotop for every process I/O usage 8) slabtop for slab distributor in kernel 9) sysctl Kernel Parameter Tuning tool 10)/proc Haha, you can directly read the sour
Brendan D. Gregg maintains a blueprint for Linux performance tuning tools, Linux performance Tools, with the appropriate analysis tools for each component of the Linux system at a glance.Linux performanceobservability:SAR, benchma
Talking about linux performance tuning 13: performance analysis concepts; talking about linux performance tuning 12: Red Hat optimization strategy Tuned http://www.2cto.com/os/201307/22
Performance Test Training: 18 commands and tools to help you locate Linux performance issuesPoptest is the only training institute for developing Test and development engineers in China, aiming at the ability of the trainees to be competent in automated testing, performance testing and testing tools development. In Pop
Improve Linux operating system performance 2011-01-05 13:48 Anonymousfont Size:T | T This article explains in detail how to tune Linux system performance from disk, file and file system, memory and compilation. The tuning method provided in this article can improve the
size of the data, if the number of times, but the small amount of data, in fact, the IO will be very small. If the data is large, the IO data will be highIostat-c 1 2 # View CPU Status Idle less than 70% io pressure is larger, the general reading speed has more wait.Vmstat 2 1 # 2 seconds sampled, 1 times b indicates the number of processes waiting for the resource; WA indicates the percentage of CPU time that IO waits for, higher than 30% when IO pressure is highImprove IO
often not enough, when the handle is finished, the system will frequently appear emfile error.As the saying goes: a slap does not sound, to complete C100K the goal, the server side and the client's close cooperation, the following will be the tuning of the two are introduced.Client 1: The number of file handles is limitedOn a Linux platform, whether you are writing a client program or a service-side progra
Find bottlenecksThe system aspect that you are most interested in in metrics should be CPU usage and memory utilization.It is possible that the CPU will not be sufficient to handle the workload even after full tuning, in which case the CPU upgrade is required. Similarly, if the program is running in an environment that does not provide enough memory after tuning, you must increase the memory capacity.If a
/sys/vm/swappniess View the configuration of this parameter (the default value isEcho 0 >>/proc/sys/vm/swappniess prohibits the operating system from using any swap spaceEcho >>/proc/sys/vm/swappniess operating system will try to use swap spaceswappniess setting an appropriate value can also have a noticeable effect on system performance. Swappniess is very small, the system can concurrently process or thread will be reduced, but each process or threa
51CTO Learning notes--Linux operation troubleshooting ideas and system tuning tips video Lessons650) this.width=650; "src=" Https://s1.51cto.com/images/201611/25208e84076a9820fec7594656b44c32427a85.png "alt=" 25208E84076A9820FEC7594656B44C32427A85.P "/>First lesson Linux operation and maintenance experience sharing and thinking1, the general host name, write to t
it.1.1.6 use other people's experience (cautious)Using the experience of others may be more effective, but keep a skeptical attitude.1.2 Overview of Performance survey1.2.1 Find indicators, baselines, and targets
Determine the metrics and know when to stop optimization, such as the number of requests per second of the Web.
Determine the baseline, run the application and record its performance before
The purpose of this article is to adjust the UNIX IP stack to more effectively prevent multiple types of attacks today, detailing
Describes some of the recommended settings for network services such as HTTP or Routing in UNIX Service systems, where the system
This includes the following different UNIX:
A. IBM AIX 4.3.X
B. Sun Solaris 7
C. Compaq Tru64 UNIX 5.X
D. HP-UX 11.0 (ongoing)
E. Linux kernel 2.2 (tested both SuSE
Hi there! I ' Philip (@bluesmoon), the CTO of Lognormal. We ' re a performance company, and performance and scalability go hand in hand. Better scalability results in the more consistent performance and at Lognormal, we like pushing we hardware as far as it'll Go. Today's post is about some of the infrastructure we and we tune it to handle a large number of reque
This article is reproduced to: http://colobu.com/2014/09/18/linux-tcpip-tuning
Recently busy with debug and tuning of system performance. Some performance bottlenecks and Linux TCP/IP protocol stack settings, so specifically Goog
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.