0 Members and 1 Guest are viewing this topic.
QuoteIs it defragmented now or do I still have to tell it to defrag it?No, you haven't defragmented the drive and no, it doesn't need to be defragmented.In reply #8 look in the picture about 3/4 of the way down. See the item:Fragmentation score 100-30 no problem31-55 a little bit fragmented56- needs defragYour fragmentation score is 1 which means the drive is not fragmented.Does that make sense?
Is it defragmented now or do I still have to tell it to defrag it?
dave@asus-mini-1:~$ sudo e4defrag -c /<Fragmented files> now/best size/ext1. /var/cache/apt/pkgcache.bin 6/1 6770 KB2. /opt/google/chrome/resources.pak 1/1 13928 KB3. /opt/google/chrome/chrome-sandbox 1/1 20 KB4. /opt/google/chrome/default_apps/youtube.crx 1/1 24 KB5. /opt/google/chrome/default_apps/drive.crx 1/1 28 KB Total/best extents 95624/95618 Average size per extent 41 KB Fragmentation score 0 [0-30 no problem: 31-55 a little bit fragmented: 56- needs defrag] This directory (/) does not need defragmentation. Done.dave@asus-mini-1:~$
Quote from: Alex on October 26, 2014, 03:13:45 PMMy computer is significantly slower now,ThanksAlexHi Alex,Without more details on your H/W it's a bit difficult.?It could be your H/W is now limiting you, or maybe something's causing it to appear slow.?Restart you computer and click Menu > System > Resource UsageLook at CPU usage and Memory UsageStraight after a re-boot they should be relatively low depending on your system.After a boot my Memory usage is @ 350-370MB and CPU wobbles around 2~4%See if anything is consuming memory or cpu.Fragmentation is a hotly debated topic on Linux, Yes it can fragment,but it take a significant amount to cause performance issues in the same way as FAT/NTFS on Windows.Normally it's an issue on systems with very high transactions like seen on databases/web-servers etc...Scott's info is good for ext4Dave
My computer is significantly slower now,ThanksAlex
Assuming you have an ext4 file system, one method to defrag would be to use the commandCode: [Select]e4defragThe -c option will generate a fragmentation score and let you know if defragging is necessary.Example, get a fragmentation score for the root file systemCode: [Select]sudo e4defrag -c /Example, defrag file system starting a rootCode: [Select]sudo e4defrag /The source article below will give more information and examples.Source:http://www.hecticgeek.com/2012/10/defragment-ext4-file-systems-using-e4defrag-ubuntu/
e4defrag
sudo e4defrag -c /
sudo e4defrag /