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

From: Kai Krueger
Date: Mon Jan 12 2004 - 12:10:04 EST


Bart Samwel <bart@xxxxxxxxx> schrieb am 12.01.04 14:47:20:
>
> Jan De Luyck wrote:
> >>2. Stop klogd, do "echo 1 > /proc/sys/vm/block_dump" and see which
> >>process keeps your disk spun up using dmesg.
> >
> > Welll.... i see no READs, and the writes i see is spamd, kmail, pdflush,
> > reiserfs/0.
>
> 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?

I'm currently trying kernel 2.6.1-mm1 with laptop-mode on a reiserfs partition.
If I kill all daemons running on the system and do nothing with it, I can achieve the 10 minutes spin down time I had expected from laptop-mode. However as soon as I start up X with KDE I get regular spin ups every 30 seconds. Looking at the output of "echo 1 > /proc/sys/vm/block_dump", I see an entry every 30 seconds of "kdeinit(15145): WRITE block 65680 on hda1" followed by a whole load of "reiserfs/0(12): dirtied page" and "reisers/0(12): WRITE block XXXXX on hda1".

Due to the regular 30 second interval writes of kdeinit: kded to block 65680, laptop-mode is not particularly usable on this system.
Is this a problem with reiserfs or with kde and is there any fix available?

>
> -- Bart

Kai
______________________________________________________________________________
Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den
Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php

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