Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: mrstarr on May 05, 2012, 12:29:32 PM

Title: Where do you configure the size of tc.swp at boot?
Post by: mrstarr on May 05, 2012, 12:29:32 PM
If I have 384mb of ram, tc.swp is set to 96K
If I have 512mb of ram, tc.swp is set to 128K

In what config file can I configure the size of tc.swp permanently (I want it to be 600K)?

Using the swapfile tool in the Config panel is pointless, as the change is only temporary.
Title: Re: Where do you configure the size of tc.swp at boot?
Post by: gerald_clark on May 05, 2012, 12:58:48 PM
1. You can't change the zswap size, but you can disable it withthe nozswap boot option.
2. You can use the swapfile= boot code, or do a swapon in bootlocal.sh
Title: Re: Where do you configure the size of tc.swp at boot?
Post by: mrstarr on May 08, 2012, 01:34:46 PM
Ok, I figured out how to set the size of your swap file and make it permanent

Upgrade to XP, Right click My Computer, click Advance Tab, Click memory usage setting button, click Advance tab, under Virtual memory click Change button, then you can click Custom Size button and set the size of your swap file in MB, and click Set button.

Flash11 and sound now works for me finally, and icons no longer disappearing mysteriously off the start bar.  Thanks for your help. 
Title: Re: Where do you configure the size of tc.swp at boot?
Post by: gerald_clark on May 08, 2012, 01:45:04 PM
Core does not use your XP swap file.