Re: Notebook disk spindown

From: Tim Brunne (brunne@hmi.de)
Date: Sat Sep 09 2000 - 08:25:35 EST


Andrea Arcangeli wrote:

> On Fri, 8 Sep 2000, Tim Brunne wrote:
>
> >*a silent hard disk hard disk is no longer feasible since kernel
> >2.2.11*.
>
> Try:
>
> echo 40 500 64 256 0 >/proc/sys/vm/bdflush
>
> once you want to return to the old behaviour:
>
> echo 40 500 64 256 500 >/proc/sys/vm/bdflush
> killall -CONT kupdate
>
> With this below additional patch you can avoid having to modify the
> bdflush sysctl and you can simply killall -STOP or killall -CONT kupdate
> to wake/stop it (as you can just do in 2.4.x).

Thanks for this patch. But why hasn't it been included into
the kernel earlier? Wouldn't be a combination of yours and my
patch be the proper way? As far as I understand you switch
off automatic buffer flushing completely, but it should be done
every interval of time the administrator want's it. Why do
you think that raising the upper limits of the kernel variables
is not suitable?

> ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.2/2.2.18pre2aa2/00_kupdate-sigstop-2.2.11-1.gz
>
> Andrea

Regards,
Tim

--
Tim Brunne              |  web:  http://www.hmi.de/people/brunne
Hahn-Meitner-Institut   |  email:               brunne@hmi.de
Glienicker Strasse 100  |  office phone:        +49-30-8062 2317
D-14109 Berlin          |  office fax:          +49-30-8062 2098
Europe (Germany)        |  private phone & fax: +49-30-691 9265

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:12 EST