SlackwareThis 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.
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.
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.
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.
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.