In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "Linux system hard disk optimization method". In the actual case operation process, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!
1. Clean the disk
This approach seems simple: clean the disk drive, delete unwanted files, and purge all files that need to be saved but will not be used. If possible, purge redundant directories and reduce the number of subdirectories. These suggestions may seem obvious, but you'd be surprised how much garbage actually accumulates on each disk. Freeing up disk space can help the system work better.
Second, defragment disk
Disk defragmenters on Linux systems are different from those on Windows 98 or Windows NT systems. Windows 98 introduced the FAT 32 file system, although running Windows 98 did not have to convert to the FAT 32 file system. Windows can be configured to use FAT or an enhanced file system called NTFS. All of these file systems handle file storage in essentially the same way.
The best way to defragment a disk for Linux is to make a full backup, reformat the partition, and then recover the files from the backup. When files are stored, they are written in contiguous blocks and they are not fragmented. This is a big job and may not be necessary for a program partition like/usr that doesn't change very often, but it can work wonders in the/home partition of a multiuser system. It takes roughly the same amount of time as Windows NT Server disk defragmentation.
If hard drive performance is still unsatisfactory, there are many other steps to consider, but any hardware solution that involves upgrading or buying a new device can be expensive.
Upgrade from IDE to SCSI
If your hard drive is an IDE drive, you can get better overall performance by upgrading to a SCSI drive. Because IDE controllers must access the CPU, CPU and disk intensive operations can become very slow. SCSI controllers do not handle reads and writes through the CPU. When the IDE drive is reading or writing, users may complain about the slowness of the system because CPU cycles are taken up by the IDE drive.
Get faster controllers and disk drives
Standard SCSI controllers can't read or write data faster than standard IDE controllers, but some very fast "UltraWide"SCSI controllers can make a real jump in read and write speeds.
EIDE and UDMA controllers are very fast IDE controllers. The new UDMA controller is capable of approaching the speed of SCSI controllers. The top speed of UDMA controllers is burst speed, but sustained transfers are significantly slower. The IDE controller includes UDMA, which is embedded in the drive itself. No need to buy a controller, just buy a drive, it contains the controller, you can get UDMA performance.
One aspect of disk drives that is often overlooked is the speed of the disk itself. Disk speed is given in rpm, which represents how many revolutions per minute. The higher the rpm, the faster the disk speed. If you have the budget, most server system vendors offer SCSI disks at 7500rpm or even 10000rpm. Standard SCSI and IDE disks offer speeds of 5400rpm.
"Linux system hard disk optimization method" content is introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.