Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
06-06-2006, 10:27 AM
|
#1
|
Member
Registered: May 2005
Distribution: Slackware GNU/Linux 10.2
Posts: 31
Rep:
|
Constant hdd writing/reading? Crazy stuff!
I can constantly hear my hdd being (ab)used. I am wondering what I can do to limit this. Because my system is very slow when running X, well... slow at starting up applications, when they are running, it's almost like flying.
I just wish to know reasons for a lot of hdd activity, when I had ubuntu on this very machine, the hdd activity was much less active.
|
|
|
06-06-2006, 10:48 AM
|
#2
|
Member
Registered: Jan 2003
Location: Mesa, AZ
Distribution: Linux Mint
Posts: 155
Rep:
|
Quote:
Originally Posted by Svip
I can constantly hear my hdd being (ab)used. I am wondering what I can do to limit this. Because my system is very slow when running X, well... slow at starting up applications, when they are running, it's almost like flying.
I just wish to know reasons for a lot of hdd activity, when I had ubuntu on this very machine, the hdd activity was much less active.
|
How much swap space did you allocate on your hard drive? Or maybe you have a memory leak somewhere (Older version of Firefox? Mplayer has had a few issues on my machine as well) that's eating up the swap space you did set up. Try logging out and back in again and see if that fixes the problem.
|
|
|
06-06-2006, 10:56 AM
|
#3
|
Member
Registered: May 2005
Distribution: Slackware GNU/Linux 10.2
Posts: 31
Original Poster
Rep:
|
Quote:
Originally Posted by KeithE
How much swap space did you allocate on your hard drive? Or maybe you have a memory leak somewhere (Older version of Firefox? Mplayer has had a few issues on my machine as well) that's eating up the swap space you did set up. Try logging out and back in again and see if that fixes the problem.
|
Firefox is newest version. I am not using MPlayer... right now. I have allocated 512MB for swap. Is that stupid? Swap is currently at 0.50, and as I said, running applications rarely have an problem.
|
|
|
06-06-2006, 11:03 AM
|
#4
|
Member
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770
Rep:
|
What does top show on memory usage?
It's also worth running hdparm to check your disk throughput is ok.
|
|
|
06-06-2006, 11:09 AM
|
#5
|
Member
Registered: May 2005
Distribution: Slackware GNU/Linux 10.2
Posts: 31
Original Poster
Rep:
|
Quote:
Originally Posted by davidsrsb
What does top show on memory usage?
It's also worth running hdparm to check your disk throughput is ok.
|
Memory is at 1.00, yes.
hdparm for hda1 and hda4:
Code:
/dev/hda1:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 9733/255/63, sectors = 152248005, start = 4112640
Code:
/dev/hda4:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 9733/255/63, sectors = 4112577, start = 63
|
|
|
06-06-2006, 01:32 PM
|
#6
|
Member
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351
Rep:
|
This may NOT have to do with your hard drive however I recently worked on a friends computer and the hard drive they had came with S.M.A.R.T. and SMART detected a problem with the hard drive. It was doing the very same thing (while running Windows). Hard drive access was slow, but programs running in RAM were fine. According to the users guide from the hard drive....the drive was toast. I installed a new one and everything was fixed. I HOPE it isn't a hardware problem, but those symptoms sounded familiar.
|
|
|
06-06-2006, 02:10 PM
|
#7
|
Member
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796
Rep:
|
what wm/de do you use?
after an upgrade a long time ago, my hdd light
would be on constantly under kde. switched to a wm
...problem solved.
|
|
|
06-06-2006, 04:07 PM
|
#9
|
Member
Registered: May 2005
Distribution: Slackware GNU/Linux 10.2
Posts: 31
Original Poster
Rep:
|
I am using dropline GNOME, for your information.
@tubatodd: I certainly don't hope so.
|
|
|
06-06-2006, 04:41 PM
|
#10
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
I am curious about this as well. I noticed a lot that my computer would just start cranking away at the hard drive when I wasn't even using it. I don't seem to be having the problem anymore since I upgraded my memory/cpu, but I would still like to see what my computer is doing when it thinks I am asleep
Does anyone have any recommendations on how to spy on what's going on in my system after it goes idle?
thanks!
...drkstr
|
|
|
06-06-2006, 06:17 PM
|
#11
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep:
|
drkstr, have you looked at the sysstat package from http://perso.orange.fr/sebastien.god...mentation.html? I think it does what you're looking for.
|
|
|
06-06-2006, 06:24 PM
|
#12
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
No I haven't, and yes, that is exactly what I am looking for. Thanks for the link!
...drkstr
|
|
|
06-06-2006, 11:59 PM
|
#13
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519
Rep:
|
I do notice that at midnight the linux goes crazy on every pc. I think that's the indexing tho.
|
|
|
06-07-2006, 12:27 AM
|
#14
|
Member
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796
Rep:
|
Quote:
Originally Posted by Old_Fogie
I do notice that at midnight the linux goes crazy on every pc. I think that's the indexing tho.
|
the default is 4:40am
|
|
|
06-07-2006, 01:45 AM
|
#15
|
Member
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211
Rep:
|
Just to eliminate the chance, why don't you run a SMART test on the disk?
Of course, you need a SMART capable BIOS and HD.
Here's what you have to do**:
( **First than anything, you may want to light-read "man smartctl" and "man smartd" -I said light-read because these man pages are huge)
- Enter the BIOS (reboot the machine and press the magic key) and enable SMART (some BIOSes enable it for all the Hard Drives, some others just for selected HDs).
- Re-boot into Linux and login as root
If you had been running /usr/sbin/smartd (And had SMART enabled in the BIOS) then you can check the system logs (in a default Slackware syslog config all the smartd messages goes to /var/log/messages) for any sign of errors.
- Run
Code:
smartctl -c </dev/hda or your hard disk name>
Check the value of "Extended self test routine recommended polling time".
- Now run the actual self test:
Code:
smartctl -t long </dev/hda or your hard disk device name>
- You should wait the number of minutes recommended in the "Extended self test routine recommended polling time".
- Then check the results
Code:
smartctl -a </dev/hda or your hard disk device name>
You can get just the overall result with
Code:
smartctl -H </dev/hda or your hard disk device name>
- Most of what is stated when running "smartctl -a" is pretty self explanatory, except maybe the "Vendor specific SMART attributes with Thresholds", basically if any attribute with a TYPE of Pre_fail has its VALUE lower than THRESH, then your HD is about to collapse.
Hopefully it will not be a HD issue.
Good Luck.
Last edited by theoffset; 06-07-2006 at 01:50 AM.
|
|
|
All times are GMT -5. The time now is 04:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|