![]() |
how to "defrag" with slow working Ubuntu Linux?
I've never learned how to "defrag" my computer since I installed Ubuntu Linux. Apparently Ubuntu uses different terminology. Any suggestions?
|
that is a Microsoft concept and problem
the file systems used in linux OS's do not need to be "defraged" |
To expand on what John_VV said, most Linux file systems, such as ext3 and ext4, handle defragging automatically without user intervention and keep file fragmentation under control.
This article gives a pretty good explanation of how this works: http://www.howtogeek.com/115229/htg-...defragmenting/ |
This question was asked recently by another member. Here is the particular thread.
|
Quote:
Try using 'filefrag' to determine the number of extents of files on the filesystem. The fragmentation can get into the thousands of extents and can really slow down performance. There exist a number of scripts and programs to defragment files on Linux (I'm not sure which ones are maintained) and I have also written my own script: defrag: Code:
#!/bin/shTypical usage, as root: Code:
defrag find |
If Ubuntu seems slow, the problem may be that it's not the best choice for your computer. What's your CPU speed, RAM size, and video chip? What's the CPU load shown in the system monitor when you're watching a Youtube video?
I'm skeptical about defragging. This computer's /home partition has just 13% non-contiguous files after 8 years' heavy use. |
| All times are GMT -5. The time now is 10:07 PM. |