LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-22-2004, 05:03 PM   #1
Hero Doug
Member
 
Registered: Jan 2004
Posts: 41

Rep: Reputation: 15
Linux Defrag


Is there a disk optimizer for Linux. I've noticed it's starting to run really slow, and there isn't much on it at all, just what came with the distro (Fedora) basically.

Is there a way I can do a defrag and see if that'll speed things up?
 
Old 01-22-2004, 05:06 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
You don't need to defrag linux filesystems. They store information in a more efficient manner then Windows does and thus are mostly self optimizing. The reason why your Fedora is probably slow is you probably have a ton of crap running that you don't need like web servers and such running in the background.
 
Old 01-22-2004, 05:27 PM   #3
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
what does "hdparm -tT /dev/hda" tells you?
it might be a misconfiguration for your hard drive?
 
Old 01-22-2004, 11:49 PM   #4
Hero Doug
Member
 
Registered: Jan 2004
Posts: 41

Original Poster
Rep: Reputation: 15
The command you posted doesn't do anything tricky.

jtshaw, your right about the server. Right now I have apache and mysql both running, along with open office, gftp, opera, blue fish and the gaim messenger, even still, I used to have the windows equilivent to all the same applications open and it would never bog down.

It's actually running good right now, hopefully it's done being slow.
 
Old 01-23-2004, 02:04 AM   #5
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
It could be that the cron job or something was run. It will run daily at a predetermined time to clean your logs etc.,. and when that happens, your hdd is run and all the other processes gets slow.
 
Old 01-23-2004, 12:24 PM   #6
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
however, it test what's the speed of transfering files!
 
Old 01-23-2004, 02:25 PM   #7
tearinox
Member
 
Registered: Aug 2003
Location: you dont want to know
Distribution: Gentoo 2004.2, Slackware 10, Windows XP, Windows 2003 Server
Posts: 348

Rep: Reputation: 30
ps -e

Then do killall <app>

Kill processes you think look dumb
If something goes wrong, then just restart
 
Old 01-23-2004, 04:50 PM   #8
questionasker
Member
 
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359

Rep: Reputation: 30
great suggestion, tearinox.

thats what i do on M$. once you do it a couple a times, oyu learn which ones have to stay on and which ones can be eliminated.
or you could just write a note.



btw another great thing about linux, no defrag!
 
Old 01-23-2004, 08:03 PM   #9
Hero Doug
Member
 
Registered: Jan 2004
Posts: 41

Original Poster
Rep: Reputation: 15
I'll try the suggestions. I've noticed my hdd going nuts once or twice, wasn't sure what it was but now I think it was the log file being cleaned.
 
Old 01-23-2004, 08:24 PM   #10
frandalla
Member
 
Registered: Oct 2003
Location: Tokyo - Japan
Distribution: Slackware
Posts: 348
Blog Entries: 1

Rep: Reputation: 37
Maybe for newbies that killing stuff trick may work, but that is a tiresome... You could just go to the SysV-Init Editor and remove the services you don't want running.... And you mixed up stuff about the jtshaw's reply... he was talking about services... stuff that runs on background.... bluefish, gftp, opera and open office are "desktop-end-user" application... he's talking about: apache, mysql, proftpd, telnetd, bind (named), pop3d, imapd, and stuff like that... distributions "red-hat/mandrake like" are known for the huge number of services running...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
defrag on Linux ashley75 Linux - General 27 02-05-2009 04:21 PM
Defrag in Linux? fedivh Linux - General 4 02-09-2004 04:02 PM
How Can i Defrag Linux??? FearPasion710 Linux - General 9 10-29-2003 04:45 PM
Does Linux have defrag... kjp_72 Linux - Software 7 04-19-2003 12:57 PM
Defrag in Linux? orange400 Linux - General 7 03-15-2003 02:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration