Re: Does linux Need Defrag?
Linux/Ubuntu has a different file system from Windows. I don't think there's no need for you to defrag.
If you don't mind me asking, what system are you running? What are the specs, I mean?
Re: Does linux Need Defrag?
Quote:
Originally Posted by
zeroseven0183
Linux/Ubuntu has a different file system from Windows. I don't think there's no need for you to defrag.
If you don't mind me asking, what system are you running? What are the specs, I mean?
It's a little older. custom built- 3Gh P4, 4g mem, integrated graphics and sound, x1 500gb SATA HD, x1 160gb SATA HD
Re: Does linux Need Defrag?
The structure of the ext3/ext4 filesystem is vastly different from the ntfs filesystem Windows uses. The nature of ntfs creates a need for periodic defragmentation, which is why it is not uncommon for users to do that on occasion with their Windows installation.
The ext* filesystem does not have the same inherent fragmentation and therefore does not require defragmentation in the same way Windows does.
There are several possible reasons for a sluggish system. Try checking out what services are running by default by taking at look at the contents of /etc/rc5.d/. Also, running Firefox with many tabs open is a good way to slow down your system.
Hope that helped a bit.
Re: Does linux Need Defrag?
Quote:
Originally Posted by
jbennett
Try checking out what services are running by default by taking at look at the contents of /etc/rc5.d/.
thanks! how do I know what is running when looking in that folder. Sorry I just don't really know what I am looking for
Re: Does linux Need Defrag?
nakama,
I had a similar experience in the past (I think it was with hardy). Over time it became very sluggish and it started when it became very very low on hard drive space. Even when I freed up space it remained sluggish.
In the end I wiped the hard drive clean and reinstalled ubuntu, never had that problem ever again even though many times I've run out of HD space. No idea why, just some wierd one off occurence.
Another possibility could be some program or process using up alot of resources.
I find it easier to use 'gnome-system-monitor' to check processes.
One that comes to mind is some kind of tracker/indexing process (this is used by search programs like deskbar,tracker,beagle etc), it scans through your computer to update information on your files to make searching faster. On a single core processor I'd imagine this would be quite a burden to have in the background.
Also consider hardware issues. I wonder if heating could be the culprit. Is is faster when you first turn it on after leaving it off overnight?
Re: Does linux Need Defrag?
Quote:
Originally Posted by
Psyphre
Also consider hardware issues. I wonder if heating could be the culprit. Is is faster when you first turn it on after leaving it off overnight?
My computer is basically always on (except for reboots required by updates - which I just had tonight) I could be wrong but I don't think heat is n issue, I keep my home very cold (around 67deg F).
Perhaps this screenshot will help someone determine if processes are a problemhttp://lh3.ggpht.com/_UC6twPlLo2o/Su...og/process.png
Re: Does linux Need Defrag?
What kind of speed declination are you experiencing? Programs running slower or starting slower? What is your typical output of "free"? EXT does get fragmented, but not noticably unless you're running with an almost full drive all the time.
Re: Does linux Need Defrag?
Linux filesystems do indeed need to be defragged -- about once every ten years.
the price we pay is that we can't fill our filesystems up past 95% full without things starting to break.
to see what is eating your CPU cycles, install htop.
Code:
sudo apt-get install htop
then run it, and sort by CPU%:
also: are you positive this decline in speed you are noticing isn't all in your head? i'm not calling you a liar, but i am sure i am not the only one here that has dreamed up a monster when in reality facing only thin air from time to time...
Re: Does linux Need Defrag?
I've found that Firefox (and Thunderbird) can lose speed over time as their databases become fragmented or whatever.
It's easy to fix. I forget where I found this, but it sped up my Firefox considerably.
First, install sqlite3 if not already installed (you can just click that link, or use System > Administration > Synaptic Package Manager).
Then, on a regular basis (say, once a month):
- Close all instances of Firefox, Thunderbird, Seamonkey. Possibly Camino, but I don't know about that.
- Just in case, double-check:
Code:
sudo killall firefox thunderbird thunderbird-bin seamonkey
- Reorganise the Mozilla databases:
Code:
sudo find /home -xdev \( -name '*.sqlite' \) -exec sqlite3 {} 'vacuum' \;
This command finds every file *.sqlite in all /home subfolders and runs sqlite3 vacuum on each. It takes a few minutes to run, so be patient.
HTH