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

From: Hugang
Date: Mon Jan 12 2004 - 08:53:15 EST


On Mon, 12 Jan 2004 14:41:16 +0100
Bart Samwel <bart@xxxxxxxxx> wrote:

> How are the WRITEs grouped, are they grouped together or do they seem to
> occur more evenly spaced? When you use "sync", how long until the next
> WRITE? What are the values of /proc/sys/vm/dirty_expire_centisecs and
> /proc/sys/vm/dirty_writeback_centisecs? Are you sure you are running a
> kernel that supports the commit= option with reiserfs? (This option was
> added in 2.6.1.)
>
> I've never tested laptop mode with reiserfs BTW, does anybody else here
> have experience with laptop mode and 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


--
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/