Some Problems in mysqlslap output information

Source: Internet
Author: User


Some Problems in mysqlslap output information: After adding debug-info to mysqlslap, in addition to the direct test results, some information about the test environment is also output. Www.2cto.com mainly includes: system time: time spent in kernel mode user time: time spent in user mode max resident size: maximum physical memory occupied (resident memory)
Non-physical pagefaults: the number of page-missing interruptions caused by IO read/write by directly recycling dirty pages. involuntary context switch: the number of times the thread switches due to time slice or higher priority thread preemption voluntary context switch: the number of times the thread actively switches out of the processor, probably waiting for IO
This information can be used as a basis for determining the effectiveness of this test. This information is obtained by calling getrusage. This is reflected in the source code of mysqlslap. Www.2cto.com specific reference: http://www.kernel.org/doc/man-pages/online/pages/man2/getrusage.2.html

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.