From: Sthu Deus on
Good day.


I want that my HDD be turned off most the time. I have laptop-mode installed, and tuned as seems me good, but there is one problem that I think prevents it from stopping - when music is playing, how I can load a lot of files into RAM so that a mplayer would not read from the HDD?


Thanks for Your time.

PS Please, reply to the list.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: ludovico van on
On Tue, Feb 9, 2010 at 4:36 PM, Sthu Deus <sthu.deus(a)gmail.com> wrote:
> Good day.
>
>
> how I can load a lot of files into RAM so that a mplayer would not read from the HDD?
>

something like
$ cat [list of files] > /dev/null
should cache the files. If you have enough unused ram they will stay in memory.

or creating a ramfs and putting your files in it...
(not tmpfs, it also uses swap)

bye


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Sthu Deus on
Thank You for Your time and answer, ludovico:

>something like
>$ cat [list of files] > /dev/null
>should cache the files. If you have enough unused ram they will stay in memory.

I want to use 1 gb for that only - latter another 1 gb should be read from HDD (it should awake from sleep). Is it possible, may w/ dd assistance?

>or creating a ramfs and putting your files in it...
> (not tmpfs, it also uses swap)

I have no swap, RAM only. Though it is impossible to make suspend working stably.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org