LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-29-2008, 12:39 PM   #1
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Rep: Reputation: 17
Reduce HDD writes?


System: Debian (Sid)
RAM: 4 GB
Box: Laptop

Something keeps writing to my HDD. I'm not too sure what it is, but it's occurring about every second. The system monitor applet shows that writes are occuring. I don't know what they could be.

Is there a way to find out?
I tried using top, but I don't think xorg is the thing writing to the disk so often, or is it?

I'm also trying to make more things use tmpfs.
I'm using an HDD install of Debian, but I'd like to reduce writes as much as possible to increase the life of the laptop I am using. I don't want to boot to RAM either.

So far, /tmp uses tmpfs. I also have firefox set to use /tmp.
I read that using tmpfs for things under /var is not a good idea when using a HDD install. Does anyone know if that is true?

What other things could I add to tmpfs in order to reduce writes and speed up the computer?

Thank you for taking the time to read this. I tried finding more information, but the information I found was limited. I'm sure some of you may have more knowledge about this and a few tricks.

Last edited by Cyberman; 09-29-2008 at 12:40 PM.
 
Old 09-29-2008, 02:49 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
/var/tmp can go on tmpfs, but some software depends on data stored in /var being kept. Do you have any swap partitions set up? If so, these could be the cause of your disk activity as the kernel writes to swap. Or perhaps, it's just a sign of the kernel flushing dirty pages to disk. You could use 'lsof' to look at who has files open for writing.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC6 Server Randomly Writes Data To HDD jmoschetti45 Linux - Server 6 05-22-2007 03:16 PM
Does k3b also writes dvds ? lali.p Slackware 4 03-19-2007 10:35 AM
CD R/RW: reads or writes but not both hatha Linux - General 6 04-17-2005 07:12 PM
Gnome 2.6, odd hdd writes. slackMeUp Slackware 11 10-07-2004 02:42 AM
Knoppix Hdd installation -I want to reduce the size on Disk!! rayesteq Linux - General 2 09-13-2004 05:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:21 PM.

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