Hi marcelocripe
... Is it possible to increase the size of the swap partition in order to better meet the memory limitations and still improve the performance of the extensions? ...
First, a definition of what swap space is:
A swap file (or partition) is a place to temporarily store data to make room for other data in RAM.
Now, some particulars:
1. A program executes in RAM, not in swap.
2. If a program requires 280M of RAM to run, and you only have 256M of RAM, no amount of swap will allow it run.
3. Not everything that's in RAM can be swapped out.
4. Moving data back and forth between RAM and swap space takes time and will slow things down. The more
you need to swap, the slower it gets.
If you search I'm sure you will find plenty of opinions on how much swap you should have. Here's my take:
My current machines have 500M, 2G, 3G, and 4G of RAM.
Each machine has a 1G swap partition which is much more than you want to be swapping. So why so large?
There's something called the OOM-killer (Out Of Memory). If the system needs memory and can't free any up, the OOM-killer
forces the issue by picking a running program and killing it.
The large swap partition gives the system plenty of space to shuffle data around without the OOM-killer unexpectedly killing
a program on me. As the swap partition starts to really fill up, the system starts slowing down which serves as a warning that
I need to do something.
Do what? Usually closing and restarting a web browser. Web browsers are notoriously selfish when it comes to RAM. No matter
how much RAM you have, they always seem to demand more.
But wait, there's more:
Tinycore boots up with a compressed swap in RAM (zswap) system. It swaps much faster then a hard drive. However, it also
reduces the amount of free RAM you have available. By default, 25% of your RAM is allocated as zswap. So if you are tight on
RAM, you might want to consider adding the nozswap boot code to your bootloaders config file to disable it.
Could you provide us with a tutorial for creating or enlarging the swap partition in graphical or text mode?
I always use the gparted extension for managing disks. For me it's much less error prone than using the command line.