Tiny Core Base > TCB Tips & Tricks
When to choose 'Mount Mode' or 'Copy Mode'? Some examples, pls
pioj:
The idea of having my tcz on a second partition acting like a server was twirling my mind last night...
* have /sda1 as boot .
* have /sda2 as 'server'. This removes all necessity for a resident TCE directory where to save installed extensions..
* Clean boot with no tcz loaded at all (Cloud Mode)
* Run directly the extensions without installing them placing scripts under bootlocal.sh, or maybe load them in CopyMode
Maybe this has some potential. I'll do some tests today...
tinypoodle:
I couldn't see any benefit in having 2 separated partitions.
You can boot with code "base", which will make your tce dir default to /tmp/tce and then if you like you could copy your extensions from your storage dir to your tce dir in /opt/bootlocal.sh.
It can have potential under the condition that you have sufficient RAM & swap available in relation to total size of extensions.
pioj:
The reason for an extra partition is that allows me to use version control software on it, as example. I feel more comfortable having them separate from eachother...
Another thing I wanna try to improve app loading times is by extracting some extensions and pack them into a single .tcz. It will result in a bigger file, but they would copy faster to RAM.
gerald_clark:
Combining multiple tcz into one poses several problems.
Each tcz has an initialization script.
Tcz have dependencies. Combined tcz would need combined dependencies. Other tcz may depend on the members.
I see no reason to think that copying the combined tcz to RAM would be significantly faster than copying the originals.
You should look at the available scm packages instead.
pioj:
After some tests it became clear that it is the same to run extensions or scm-apps from the /optional directory inside the harddrive than to have a Symbolic link pointing to /dev/shm/optional (have a copy of the optional directory in ram). I needed to learn this by my own in order to progress using linux ...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version