--version displaying software version information-T secs:--timeout secs Specify how many seconds to run--backoff Usecs waits Usecs microseconds before it starts running-C Forks:--CPU forks produces multiple CPU processes that handle sqrt () functions-M forks--VM forks: Produces multiple processes that process malloc () memory allocation functions, followed by the
time slice interruption of the process. (In Linux 2.6, the system clock interrupts the clock frequency every 1 milliseconds, expressed in HZ macro, defined as 1000, that is, 1000 interrupts per second.) System is not the same, the kernel is not the same configuration 100, 250 have. )
The clock frequency of the kernel can be known by the following command
cat/boot/config-' Uname-r ' | grep ' ^config_hz= '
config_hz=100
The total number of clock interrupts per second is = number of CPUs * Number
"stress test" comes from. NET application Performance test: The stress test is used to assess how the system will run when the maximum load is exceeded. The goal of stress testing is to find bugs in applications under high load c
run.2.2 Load (pressure) test (LoadTest) 2.2.1 ConceptLoad testing is the ability to determine the performance of a system under various workloads, and the goal is to test the corresponding output items of the system components, such as throughput, response time,CPU load, Memory usage , etc. to determine the performance of the system. Load testing is an analysis
Illustration: LoadRunner stress test and loadrunner stress test
Software testing is required after the project coding stage ends. As an indispensable part of the software development process, automated testing will gradually repla
operation.
Depending on the time and resource characteristics of the product, the efficiency test can include different types of tests, such as performance tests (performance test), load tests (loading test), and stress tests (Stress te
Performance testing, load testing, stress testing What's the difference? Performance testing (or antisymmetric user concurrency performance testing), load testing, strength testing, and capacity testing are some of the areas of performance testing, but concepts can easily be confused. Here are a few concepts to introduce.
Performance test (performance Test): ty
Below we mainly introduce performance test , load test and stress test .Efficiency as one of the important quality attributes of the internal and external quality of ISO 9126, which means that, under specified conditions, the SOFTWARE product provides the ability to provide
) without taking your machine down. Displays pages/min and bytes/sec. Can be used in more aggressive mode with -f switch.
For more information, see the following articles:
Find a good website stress testing tool webbench [original]
Webbench for Web performance stress testing tools
Practical website stress/load testing: webbench
The following are some
Recently add autoscaling to pass platform, according to the load situation of the server autoscaling, in order to test this function with stress this pressure test tool, this tool is quite useful. The specific installation method will not say. Record how this tool is used. Parameter interpretation
-? Display Help information
-V Show version number
-Q
Problems in the stress testWhat is a stress testSoftware stress testing is a basic quality assurance behavior that is part of every important software testing effort. The basic idea of software stress testing is simple: not to run
First, a simple test of the CPU:1. Calculate special functions by BC commandExample: Calculating piecho "scale=5000; 4*a (1) "| Bc-l-Q
MATH LIBRARYIf BC is invoked with THE-L option, a math library is preloaded and the default scale is set to 20.The math functions would calculate their results to the scale set at the time of the their call. The MathLibrary defines the following functions:S (x) the sin
Article title: comprehensively analyzes the stress test on Linux kernel. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Automated Software Testing allows you to run the same test w
test reflects the actual results of the current network. Using pc/server + some simulation software to simulate a large number of concurrent users to do performance testing, no server performance bottlenecks found. But during the Christmas period last year, my system was repeatedly paralyzed by a large number of users logging in and paying, and using avalanche to easily reproduce this series of problems.4)
directly:yum install stress -y
User GuideThe first step is to set up a test directory for the files to be written to.stressThe main parameters of the description (-to be followed by an underscore,--that is, followed by 2 underline, can be used for stress after the parameters, different expressions):
-?--HELP Display Help information--version displa
When interviewing testers, This is a good question: How do you define performance/load/stress testing? In many cases, people use them as the same terminologies that can be replaced by each other. However, the differences between them are quite large. This post is based on some of my own experiences. I wrote a simple comment on these three concepts. Of course, I also referred to some definitions in the test
Java EE Technology system in the performance of the need to take care of, the general principle is less than 3 seconds to accept, 3-5 seconds can be accepted, more than 5 seconds on the impact of ease of use. If you find a performance problem during testing, it's hard to fix it because it often means that the algorithm is bad, poorly structured, or has a problem with the design. Therefore, at the beginning of product development, it is necessary to consider the performance of the softwareStress
求的响应情况. Each request in the scene has a response time, where 50% of the user's response time is less than 275 milliseconds, 66% of the user response time is less than 298 milliseconds, and the maximum response time is less than 11843 milliseconds. In the case of concurrent requests, the CPU is not actually processed at the same time, but is rotated on a per-request basis, so basically the first time of the request is approximately equal to the second
reportsViii. Graphical ResultsIx. SummaryAfter we have set the parameters as above, we have carried on the concurrency test of the application (the test machine and the same intranet segment of the server were kept in the test), and for the first time we simulated 100 user concurrent requests (the request needs to be queriedA data table with 1000 data is execute
.html
A simple explanation: the server with too many concurrent access requests rejects access. Theoretically, the system configuration can provide better affordability.
⑤. Precautions
Test Machines and tested machines should be separated
Do not perform stress tests on online servers
Observe that the machine where the test tool AB is located and 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.