Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: jur on October 19, 2009, 06:55:33 PM
-
Man this is huge!
I'm a little disillusioned...
I have TC running with apps that I need, and some that I don't need but want, such as Opera, wine (to check email while keeping things in sync with Windows), Xorg (due to external widescreen monitor resolution), rox, geany, Xfce4base, ntfs-3g, abiword, wireless stuff... maybe a few more that I don't recall right now. Abiword I need very seldomly so I will change that to an optional one. But all the other apps I need essentially every session.
So I checked disk usage for my tc setup, and it exceeds 400MB! And it takes more than a minute to boot up! Far cry from the sleek fast trim tc I started off with. :(
So please forgive me for being disillusioned... I am now starting from scratch again because there may be a lot in /tce which is not needed any more. I am also dabbling with a ppi installation but Xorg is hard to handle.
* hmmm... wonders if opera's cache is the problem... still that has nothing to do with booting time... *
-
I'm running with about 45 extensions:
307928K used, 208504K free, 47800K buff, 200204K cached
Take out cache and buff: that's 58.52M
-
Any chance some large files (caches like you said, or downloads) went to your home/tc directory? By default this directory is backed up and restored and if it's large might indeed impact your boot time. Under 2.4 extensions seem to take somewhat longer to load as well, even though I'm running all mounted (I think roberts mentioned there's now more error checking while booting).
-
My /home and /opt are persistent directories on disk. It has to be the Opera cache then. Can't be downloads, I always shunt these to an external HDD.
-
My /home and /opt are persistent directories on disk. It has to be the Opera cache then. Can't be downloads, I always shunt these to an external HDD.
run "top" to see.
edit: I only use 50MB cache with FF, and never noticed any difference.
-
The size of backup does affect the shutting down time and start up time.
Keep the amount of files saved in in /home/tc to the minimum.
If you use Xfe file manager, it saves directories and files you delete in trash, and this is included in backup. The more you delete, the longer backup takes. To avoid this, add the following line to /opt/.xfiletool.lst.
home/tc/.xfe
You may also edit the preferences in Xfe, to permanently delete files instead of adding them to the trash can. To do this, go to Edit -> Preferences. Click the square preceeding "Include a command to bypass the trash can (permanent delete)," to tick it. Then click "Accept."
If you use Mozilla Firefox or Minefield internet browser, add the following line to /opt/.xfiletool.lst.
home/tc/.mozilla
-
If you use Mozilla Firefox or Minefield internet browser, add the following line to /opt/.xfiletool.lst.
home/tc/.mozilla
Another way could be to move .mozilla to /mnt/hdX and symlink it to your /home/tc. Then you keep your settings.
-
If you use home, everything in /home is saved.
If you use encrypted home, everything in /home/tc is saved.
So you still keep your settings when you add home/tc/.mozilla to /opt/.xfiletool.lst..
You would only lose settings if you didn't have home or encrypted home.
-
If you use home, everything in /home is saved.
If you use encrypted home, everything in /home/tc is saved.
So you still keep your settings when you add home/tc/.mozilla to /opt/.xfiletool.lst..
You would only lose settings if you didn't have home or encrypted home.
Yes. But I don't use persistent /home. I usually save stuff somewhere else and my /home/tc is basically just for config. In that case the symlink is a good solution.
-
My .filetool.list is empty except for xorg.conf. So shutdown and startup spends essentially no time in performing backups etc.
Opera cache size is set to 20MB.
I found some redundent directories such as /tce/optional and /tclocal. Zapped those since I don't use them at the moment.
-
Regarding your Opera cache:
Locate the folder ~/.opera/cache4/temporary_download.
This folder does not get emptied, even if you run Delete Private Data. It can get big over time.
-
I find that /home/tc/.opera/vps is huge (24.5M at this moment) so I exclude it from backups. YMMV
-
How big is the mybackup file? Maybe that would give a clue if you're backing up a huge file from some place?
-
I only back up xorg.conf - mydata.gz is only a few kB.
After I zapped the opera chache, the opera directory is under 20MB.
Is there a graphical disk usage app for tc?
-
I only back up xorg.conf - mydata.gz is only a few kB.
After I zapped the opera chache, the opera directory is under 20MB.
Is there a graphical disk usage app for tc?
There's system stats in cpanel.
Another way to speed up boot is loading groups instead of everything in tce dir. I cut back from
68 seconds to 28 by booting essentials, loading additional extensions from the tce.dir as needed (very fast).
There's a load-grp script in programming as an example.
-
I only back up xorg.conf - mydata.gz is only a few kB.
After I zapped the opera chache, the opera directory is under 20MB.
Is there a graphical disk usage app for tc?
There's system stats in cpanel.
Another way to speed up boot is loading groups instead of everything in tce dir. I cut back from
68 seconds to 28 by booting essentials, loading additional extensions from the tce.dir as needed (very fast).
There's a load-grp script in programming as an example.
This is exactly the thing I was thinking of in the thread, "major suggestion for tc". I'll go try it out.
-
Is there a graphical disk usage app for tc?
The gdmap extension?
-
Is there a graphical disk usage app for tc?
The gdmap extension?
I tried but there was an error message about graphics libs missing md5sum.