View previous topic :: View next topic |
Author |
Message |
flazz Guru


Joined: 22 Nov 2003 Posts: 496 Location: Florida
|
Posted: Wed Mar 23, 2005 7:54 am Post subject: full hdd makes gentoo slow??? |
|
|
gentoo used to be super fast for me and over time it seems it has gotten slower.
i think i read somehwere that a hard disk over 80% full can cause the system to be slow.
is this true? and if it is why? |
|
Back to top |
|
 |
Shazam Apprentice


Joined: 23 Nov 2004 Posts: 191 Location: Germany
|
Posted: Wed Mar 23, 2005 8:54 am Post subject: |
|
|
well as far as i know it's not 100% true. but if you got the /tmp folder on the same partition as the / folder, and the /home folder too, that's slow down thinks probably a lot. it is because the system needs to find a space, where to put the files first, and can write them then. i'm not quite sure, if the linux filesystems are fragmenting like the windows ones, but i always was told that they defragment themselfes on the fly |
|
Back to top |
|
 |
tomvollerthun Guru


Joined: 19 Mar 2005 Posts: 316
|
Posted: Wed Mar 23, 2005 9:21 am Post subject: |
|
|
Quote: | but i always was told that they defragment themselfes on the fly |
As far as I know it is not true what you have been told (or overly simplifying). Fragementation is not as much an issue for linux as it was for MS-Windows, because the filesystem driver was written to avoid fragmentation as much as possible.(I heard the recent MS-Windows releases improved upon this, so that it is not as bad as it was.)
But to avoid fragmentation *completely*, it would be necessary to re-organize the building blocks of your partition with every deletion of any file, and that is something you *don't* want!!
To come back to the original question: i don't know whats up with your drive, but *I* never had something like that, and I ran a 95% full disk for 1 and a half year (but then I'm not so much the performance professor).
So, unless I'm very much wrong, your problem is something else. _________________ Computer science is no more about computers than astronomy is about telescopes.
Dijsktra
---------------
Don't believe my "Guru" status! |
|
Back to top |
|
 |
flazz Guru


Joined: 22 Nov 2003 Posts: 496 Location: Florida
|
Posted: Wed Mar 23, 2005 1:10 pm Post subject: |
|
|
hdparm seems fine
Code: | # hdparm -T /dev/hda
/dev/hda:
Timing cached reads: 1480 MB in 2.00 seconds = 739.00 MB/sec
# hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 144 MB in 3.04 seconds = 47.31 MB/sec
|
do these values look decent? |
|
Back to top |
|
 |
Sgaduuw Tux's lil' helper


Joined: 17 Sep 2002 Posts: 133 Location: Rotterdam, Netherlands
|
Posted: Wed Mar 23, 2005 4:31 pm Post subject: |
|
|
Are you using reiserfs?
IIRC, reiserfs gets terribly slow if your harddisk usage goes over 80% _________________ my website |
|
Back to top |
|
 |
flazz Guru


Joined: 22 Nov 2003 Posts: 496 Location: Florida
|
Posted: Thu Mar 24, 2005 12:39 am Post subject: |
|
|
i'm using reiser, and that is exactly what i read |
|
Back to top |
|
 |
|