Re: [PATCH] Laptop-mode v7 for linux 2.6.1

From: Hugang
Date: Tue Jan 13 2004 - 09:24:51 EST


On Tue, 13 Jan 2004 13:46:54 +0100
Bart Samwel <bart@xxxxxxxxx> wrote:

> The reiserfs patch for "commit=" was included in Linux 2.6.1. I really
> don't know if it works with laptop mode, haven't tested it -- I don't
> use reiserfs. So, let's ask the world: is there anyone out there who is
> running laptop mode *successfully* with reiserfs?
Yes, I'm use reiserfs in 2.6.1 with laptop_mode patch. It works fine for me, I use cpudyn daemon to let spin download harddisk. In cpudyn.conf
I changed TIMEOUT from 120 to 10. When i reading email/web, the harddisk can spin down for very long time (>3min).

So you can try cpudynd.

# TIMEOUT=120
TIMEOUT=10

#
# Specified disks to spindown (comma separated devices)
#

# DISKS=/dev/hda,/dev/hdb
DISKS=/dev/hda

For now, I switch to 2.6.1-mm2, it looks fine, not need any patch.

$mount
/dev/hda13 on / type ext3 (rw,noatime,errors=remount-ro,commit=600)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/vg00/opt on /opt type reiserfs (rw,noatime,commit=600)
/dev/vg00/hugang on /home/hugang type reiserfs (rw,noatime,commit=600)
/dev/vg00/scm on /scm type reiserfs (rw,noatime,commit=600)
/dev/vg00/build on /build type reiserfs (rw,noatime,commit=600)
none on /sys type sysfs (rw)

--
Hu Gang / Steve
RLU# : 204016 [1999] (Registered Linux user)
GPG Public Key: http://soulinfo.com/~hugang/HuGang.asc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/