From: Sthu Deus on 9 Feb 2010 10:40 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 9 Feb 2010 13:10 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 10 Feb 2010 01:40 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
|
Pages: 1 Prev: Kierowanie pracownikami będzie sprawniejsze Next: Strange problem with chroot and scponlyc |