Windows Task Manager cpu usage and PF resolution-[Examination System], pf Examination System

Source: Internet
Author: User

Windows Task Manager cpu usage and PF resolution-[Examination System], pf Examination System

  

We have been developing, testing, and maintaining the examination system. Recently, I have been observing the test. When hundreds of students log on simultaneously, the server cpu and memory, and the database log display data become extremely important.

The following is a period of server memory.

  


I. cpu and memory usage during the exam:

When students start to take questions and take tests, the cpu usage increases from almost 0, and the memory usage increases from about 4G. After about 30 or 40 seconds, the maximum cpu usage can reach about 70%, and the memory usage can reach more than 6 GB. After 1 minute, the cpu and memory usage began to drop, and the cpu usage reached 15%. The memory size was about 4.3 GB.


Ii. cpu usage

Why are you staring at the ups and downs of cpu usage? This data indicates the resources currently occupied by the cpu. If the cpu usage is too high for a long time, the main reasons are as follows:

1. computer viruses.

For example, if you have encountered an ARP virus, the entire examination system is paralyzed.

2. Software or code errors

For example, if the image in the Code is not read from MongoDB, a peak occurs on the cpu and a peak value is displayed for each error.

3. You need to upgrade your computer.


Iii. PF usage

PF (PageFile) virtual memory. When the physical memory is not enough, temporarily put the data that is not used in the virtual memory of the hard disk. The best way to reduce the PF is to increase the memory.

Reasons for PF increase:

1. Physical memory is too small

2. the Startup Program is too large.

3. The virtual memory settings are unreasonable.

Modify virtual memory:

My computer -- properties -- Advanced -- Performance -- settings -- Advanced -- virtual memory -- settings -- change -- select the partition where the virtual memory is placed (we recommend that you select a partition outside the system disk) -- select Custom or system management size -- set -- OK

  

In addition, I checked the meanings of nouns in the corresponding four frames on the Internet.



Iv. Summary

The problem generally occurs at the beginning, and the examination system is no exception. It is also a great achievement to learn how our predecessors can discover and solve problems through system launch. Cpu and memory resolution are written here first. The following article is about SQL database optimization in the examination system. I hope to provide you with some ideas.



Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.