Server: memory configuration question

Booting, installing, newbie
Post Reply
Message
Author
BluB

Server: memory configuration question

#1 Post by BluB »

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/ ... ectID=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 !!

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#2 Post by rarsa »

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.

Guest

#3 Post by Guest »

> - 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. :wink:

BluB

#4 Post by BluB »

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.

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#5 Post by Pizzasgood »

How it works is the programs will run in ram, but their output/input files (mp3s, webpages, etc.) will reside on the harddrive
[size=75]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[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#6 Post by rarsa »

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.

BluB

#7 Post by BluB »

Oke thats great news.
Hopefully the usb disk works.

Thx all for the feedback

Post Reply