Tiny Core Base > TCB Talk
do we need a swap partition with tc?
(1/1)
trembb22:
If we need it, how do we create it and when? can we use tc without a swap partition.
I will use a 128MB flash disk with 2gig of RAM, so if I need a swap partition, it will be small.
mikshaw:
If you have a partition set as linux swap, it should be automatically detected and used unless you specify "noswap" as a kernel option. I'm not sure how swap files are used.
You create a swap partition with a tool such as fdisk, cfdisk, or some other partitioning software...the application should give you a hint as to what type of partition is used as swap.
robc:
--- Quote ---I will use a 128MB flash disk with 2gig of RAM
--- End quote ---
Having a swap partition that will be that much smaller then your available RAM would not do much for you. Also using a flash device as a swap is not recommended due to its limited write cycles.
2 GB of RAM should be more then enough space for TC, I usually use either a 512MB or 1GB Compact Flash in my systems. Swap space is mainly used to store data when there is not enough space available in your RAM, kinda like a fallback space when RAM runs out so your system doesn't lock up. Most people go by the rule of having a swap space twice the size of RAM.
curaga:
With 2gb of ram, TC has never so far used swap for me. And I do some pretty heavy-duty compiling all in ram, with tce type extensions all extracted to ram too :)
Navigation
[0] Message Index
Go to full version