defrag - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: General (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=4) +--- Forum: On Topic (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=14) +--- Thread: defrag (/showthread.php?tid=1041) Pages:
1
2
|
defrag - Alex - 10-26-2014 When XP used to slow down significantly, defragging the HD helped a lot. My computer is significantly slower now, I am wondering if I should be doing something similar to defragging? If not, any ideas why it has slowed down? Thanks Alex Re: defrag - Scott(0) - 10-26-2014 Hi Alex, What filesystem are you using? If you're not sure run GParted at menu> all> partition drives. I assume it's ext4. Re: defrag - Scott(0) - 10-26-2014 Assuming you have an ext4 file system, one method to defrag would be to use the command Code: e4defrag The -c option will generate a fragmentation score and let you know if defragging is necessary. Example, get a fragmentation score for the root file system Code: sudo e4defrag -c / Example, defrag file system starting a root Code: 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/ Re: defrag - Wirezfree - 10-26-2014 (10-26-2014, 07:13 PM)Alex link Wrote: My computer is significantly slower now, Hi 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 Usage Look at CPU usage and Memory Usage Straight 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 ext4 Dave Re: defrag - Alex - 10-26-2014 (10-26-2014, 08:59 PM)Scott(0) link Wrote: Assuming you have an ext4 file system, one method to defrag would be to use the command Yes I did have the ext4 file system, but when I entered the "sudo e4defrag -c /" command it asked for my password and then it did nothing at all - looked like it was waiting for more from me. Thanks Re: defrag - Alex - 10-26-2014 (10-26-2014, 10:23 PM)Wirezfree link Wrote: [quote author=Alex link=topic=1086.msg6463#msg6463 date=1414350825] Hi 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 Usage Look at CPU usage and Memory Usage Straight 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 ext4 Dave [/quote] I don't have a Resource Usage application under System (or anywhere else) but I do have a System Monitor, is that the same thing? Thanks Re: defrag - Alex - 10-26-2014 One thing of interest if I click on the "Processes" button - I assume that these are all the programs loaded on boot up or soon after - there are a lot of them. All show 0 activity except for the gnome monitor (which I assume that it is referring to the System Monitor) all have a priority 'Normal' except for "Pulse Audio" which has a 'very high' priority, not sure why. Re: defrag - Wirezfree - 10-27-2014 Hi Alex, The e4defrag can take a few secs to run after entering your password, especially if never run Just run it now, @ 3 secs, but I ran it after a fresh install a couple of days ago. Code: dave@asus-mini-1:~$ sudo e4defrag -c / I have System Monitor also. I don't think I installed "Resource Usage"..??, Click "Menu" and type "htop" in the menu search box If it's not there, it's in Synaptic, click Menu > System "Install/Remove Software" Search for "hto" = "Resource Usage" Dave Re: defrag - Alex - 10-27-2014 Thank you Wirezfree, I guess that I was a little too impatient. I got the screen belo after about 2 minutes: Which seems to be pretty different to yours. Is it defragmented now or do I still have to tell it to defrag it? Re: defrag - Scott(0) - 10-27-2014 Quote:Is 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 1 00-30 no problem 31-55 a little bit fragmented 56- needs defrag Your fragmentation score is 1 which means the drive is not fragmented. Does that make sense? |