[ltp] how to silence the hard drive

Micha Feigin linux-thinkpad@linux-thinkpad.org
Tue, 7 Jul 2009 19:22:39 +0300


On Mon, 06 Jul 2009 18:53:48 +0200
Jens Rutschmann <Jens.Rutschmann@gmx.info> wrote:

> Andrew Mason wrote on 06.07.2009 16:17:
> > Doesn't /tmp get used for hibernate ? If so wouldn't this break
> > hibernate functionality?
> 
> I guess that depends on the distribution. AFAIK hibernate data is written to a 
> swap partition usually. When I tried tuxonice the last time it had the ability 
> to write to standard files, but one could configure the location of that file.
> 

the in kernel suspend uses swap, tuxonice can use either swap or file, don't
know about uswsusp. In any case there shouldn't be any problem writing the
suspend file to tmp because you are not actually shutting down and turning on as
far as linux is concerned.

> I don't use hibernate (nvidia card) currently , so I may be wrong.
> 

I'm using tuxonice with nvidia (and so is nigel by the way, the maintainer of
tuxonice). Some cards do have the issue that it takes them about a minute to
wake up properly, so effectivity depends on how many programs you like to run
usually.

There is a catch that you require the shutdown method to be 5 IIRC (shutdown)
and not 4 (acpi suspend) which is the debian default.

> Best regards,
> Jens