Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: jur on October 19, 2009, 06:55:33 PM

Title: Man this is huge!
Post 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... *
Title: Re: Man this is huge!
Post by: jpeters on October 19, 2009, 07:25:51 PM
I'm running with about 45 extensions:

 307928K used, 208504K free, 47800K buff, 200204K cached
 
Take out cache and buff: that's  58.52M


Title: Re: Man this is huge!
Post by: thane on October 19, 2009, 08:16:37 PM
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).
Title: Re: Man this is huge!
Post by: jur on October 19, 2009, 08:55:46 PM
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.
Title: Re: Man this is huge!
Post by: jpeters on October 19, 2009, 09:18:21 PM
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.
Title: Re: Man this is huge!
Post by: Guy on October 20, 2009, 04:41:09 AM
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
Title: Re: Man this is huge!
Post by: 4-stroke on October 20, 2009, 04:54:44 AM
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.
Title: Re: Man this is huge!
Post by: Guy on October 20, 2009, 05:12:00 AM
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.
Title: Re: Man this is huge!
Post by: 4-stroke on October 20, 2009, 05:58:34 AM
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.
 
Title: Re: Man this is huge!
Post by: jur on October 20, 2009, 06:56:35 AM
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.
Title: Re: Man this is huge!
Post by: perthie on October 20, 2009, 08:25:37 AM
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.

Title: Re: Man this is huge!
Post by: 3rail on October 20, 2009, 10:42:55 AM
I find that /home/tc/.opera/vps is huge (24.5M at this moment) so I exclude it from backups.  YMMV
Title: Re: Man this is huge!
Post by: thane on October 20, 2009, 04:14:38 PM
How big is the mybackup file? Maybe that would give a clue if you're backing up a huge file from some place?
Title: Re: Man this is huge!
Post by: jur on October 20, 2009, 05:57:12 PM
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?
Title: Re: Man this is huge!
Post by: jpeters on October 20, 2009, 06:09:08 PM
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.  

Title: Re: Man this is huge!
Post by: jur on October 20, 2009, 09:07:34 PM
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.
Title: Re: Man this is huge!
Post by: Juanito on October 20, 2009, 11:20:33 PM
Is there a graphical disk usage app for tc?

The gdmap extension?
Title: Re: Man this is huge!
Post by: jur on October 21, 2009, 04:53:52 AM
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.