[dundee] laptop mode power saving

paul lancaster paul_lancaster at blueyonder.co.uk
Sun Oct 25 12:46:58 UTC 2009


Try Puppy linux it works from ram - remove the HDD, boot from usb :)

Paul
  ----- Original Message ----- 
  From: Lee Hughes 
  To: Tayside Linux User Group 
  Sent: Sunday, October 18, 2009 2:06 PM
  Subject: [dundee] laptop mode power saving


        Right,

        has any got laptop mode working successfully , i'm trying to get my hard disk to spin down as long as possible, 

        i've been using a combination of lm-profile, iotop -o -d 10 -b

        now,  i've nailed fire fox from fsyncing all the time, that's improved things some what,
        http://www.dslreports.com/forum/r23159573-Re-Make-Firefox-3x-more-responsive-with-a-simple-trick

        it's also faster too boot!

        however,  my hard disk sleeps for about 2mins, i've zapped syslog and klog for testing,
        so there should be nothing on the system that should need to wake the disk for writing.

        however, kkjournald is waking the disk up, (presumable to write the journal to disk)
        but the file system is mounted with 

        /dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro,commit=600)

        so, it should only commit every 10 mins, or when we run low on memory.

          PID USER      DISK READ  DISK WRITE   SWAPIN    IO    COMMAND
          807 root           0 B/s    5.54 K/s  0.00 %  0.00 % [kjournald]
         3911 user           0 B/s    0.40 K/s  0.00 %  0.00 % gnome-power-manager


        oh,actually i wonder  if it's the gnome power manager, how ironic.. looks like
        the gnome power manager might be forcing a sync...

        yes, it seems that a lot of gnome componets are doing a fsync, thus waking my disk
        up.. :-(

        all i want is, while i'm not reading new data(i.e uncached data from disk) , i want
        applications to write (but delay that write until I say, or a timeout value).

        i think over use of the fsync call may be answer, but i think there's more to it than that.

        my harddrives now been dormant for 10mins....  spin down nirvarna has been reached.

        looks like killing the gnome power meter has stopped the spin ups... now that's
        ironic..  any replacements? or shall i go and hack it.

        i wonder if this would do ssd's good too.

        thoughts?

        Cheers,

        Lee










       




------------------------------------------------------------------------------


  _______________________________________________
  dundee GNU/Linux Users Group mailing list
  dundee at lists.lug.org.uk  http://dundeelug.org.uk
  https://mailman.lug.org.uk/mailman/listinfo/dundee
  Chat on IRC, #tlug on irc.lug.org.uk


------------------------------------------------------------------------------



  No virus found in this incoming message.
  Checked by AVG - www.avg.com 
  Version: 8.5.423 / Virus Database: 270.14.31/2458 - Release Date: 10/25/09 08:10:00
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/dundee/attachments/20091025/8264a924/attachment.htm 


More information about the dundee mailing list