| Author |
Message |
BluB
Guest
|
Posted: Mon 26 Sep 2005, 18:07 Post subject:
Server: memory configuration question |
|
Hi everybody,
Hi I am doing some research to build my own mp3 player for the living room, out of an old notebook with http://www.musicpd.org/
- I boot the laptop with a puppy cd-rom.
- It will load all the basic stuff in to the ram-disk so the cd-rom stops spinning and the noise will stop.
- The cd-rom will be configured to automount a USB harddisk. http://www.icybox.de/de/pages/products/external_cases.php?we_objectID=3768
- /usr and other mount points will be mounted to the usb harddisk partitions.
- Is it possible to decide which packets will run in the ramdisk and which will run from the harddisk.
So I can run apache & mysql in the ram memory to make them faster ?
Thx in advance !!
|
|
Back to top
|
|
 |
rarsa

Joined: 29 May 2005 Posts: 3053 Location: Kitchener, Ontario, Canada
|
Posted: Mon 26 Sep 2005, 19:21 Post subject:
|
|
How much memory does your computer have?
I am sure that you may be able to have everything running from ram and just have your mp3 files in the HDD or a memory stick.
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Mon 26 Sep 2005, 21:17 Post subject:
|
|
> - The cd-rom will be configuered to load an USB harddisk
I don't know what you mean.
Do you mean load as in mount and copy the data from the hard drive to RAM?
Regardless of what you mean, it seems you could do what you want with scripts in the pupxxx file. I don't see why the cd-rom needs to be configured to accomplish what it is I don't understand.
|
|
Back to top
|
|
 |
BluB
Guest
|
Posted: Tue 27 Sep 2005, 03:19 Post subject:
|
|
1. I have 256Mb of memmory.
If everything will be loaded into the memory how will it save settings like my MySQL data files, etc files.
If I run everything in the memmory all the data will be lost when I do a reboot ?
2. I mean that I will preconfiguere the cd-rom to automount the usb harddisk so I don't have to do manual mounts when booting the laptop.
|
|
Back to top
|
|
 |
Pizzasgood

Joined: 04 May 2005 Posts: 6270 Location: Knoxville, TN, USA
|
Posted: Tue 27 Sep 2005, 08:40 Post subject:
|
|
How it works is the programs will run in ram, but their output/input files (mp3s, webpages, etc.) will reside on the harddrive
_________________ Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

|
|
Back to top
|
|
 |
rarsa

Joined: 29 May 2005 Posts: 3053 Location: Kitchener, Ontario, Canada
|
Posted: Tue 27 Sep 2005, 09:08 Post subject:
|
|
And if you create things in a RAM disk, you can copy it to your HDD at shutdown in the /etc/rc.d/rc.reboot script.
|
|
Back to top
|
|
 |
BluB
Guest
|
Posted: Tue 27 Sep 2005, 09:35 Post subject:
|
|
Oke thats great news.
Hopefully the usb disk works.
Thx all for the feedback
|
|
Back to top
|
|
 |
|