SWAP partition strike

Source: Internet
Author: User
SWAP partition strike-general Linux technology-Linux technology and application information. Read the following for details. Two days ago, every time I started Ubuntu and used it for a while, I always felt that she was much slower than before. 3D desktop is a little inflat in use, but I have enabled almost all desktop effects, and my memory is only 512 Mb. I think it is normal to slow down. However, the results are not as simple as I thought. Whenever I open the 'Add/remove applications' software or the 'new Software Package Manager', the system goes on strike, and it is in the status when the software is not fully open. This is good, the mouse cannot be moved, nor can you press the command on the keyboard. In desperation, we had to restart the system.

After the desktop is restarted, the desktop effect is turned off, but the result is the same. Several times in a row, the desktop effect remains in the previous state.

I think something is wrong. This time I turned on the system monitor and checked the usage of the system resources. It was a big shock: The SWAP partition went on strike!

Format the SWAP partition, but the result is the same. In my opinion, this situation should be because the system recognizes the SWAP partition, but it cannot be used for some reason. The reason for this is that I installed Arch Linux two days ago, it shares a 1 gb swap partition with Ubuntu (My SWAP partition is in the seventh partition on the hard disk), which is probably caused by a problem. Open the/etc/fstab file and check that the SWAP partition is identified by UUID = dbf03e72-ee1d-42fc-b2bb-73dc52960b95. The system cannot recognize this identifier. If so, you can use vol_id-u/dev/sda7 to check the UUID. The result is 31cf5dff-a34d-4df7-8d54-abead23811a5, replace UUID = dbf03e72-ee1d-42fc-b2bb-73dc52960b95 with UUID = 31cf5dff-a34d-4df7-8d54-abead23811a5. You can also change it to/dev/sda7. Restart and check system resource usage. OK NOW!

SWAP partitions are used normally, and the system speed is as smooth as it was before. Opening 3D desktop effects is still perfect and quick to run.

If it weren't for a SWAP partition strike, the desktop effects would be enabled, some applications would be opened, some server daemon processes would be started, and the amount of physical memory would be up to 80%, it also allows the desktop to run smoothly. I can't imagine how she handled it, and it's still in MB of memory.

Author: Chen Jingzhong

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.