WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Man this is huge!  (Read 5820 times)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Man this is huge!
« 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... *

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Man this is huge!
« Reply #1 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


« Last Edit: October 19, 2009, 07:32:01 PM by jpeters »

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: Man this is huge!
« Reply #2 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).
« Last Edit: October 20, 2009, 02:03:53 AM by thane »

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: Man this is huge!
« Reply #3 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.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Man this is huge!
« Reply #4 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.
« Last Edit: October 19, 2009, 09:50:06 PM by jpeters »

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Man this is huge!
« Reply #5 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
Many people see what is. Some people see what can be, and make a difference.

Offline 4-stroke

  • Jr. Member
  • **
  • Posts: 72
Re: Man this is huge!
« Reply #6 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.
A learning experience is one of those things that say, "You know that thing you just did? Don't do that." - Douglas Adams

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Man this is huge!
« Reply #7 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.
Many people see what is. Some people see what can be, and make a difference.

Offline 4-stroke

  • Jr. Member
  • **
  • Posts: 72
Re: Man this is huge!
« Reply #8 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.
 
A learning experience is one of those things that say, "You know that thing you just did? Don't do that." - Douglas Adams

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: Man this is huge!
« Reply #9 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.

Offline perthie

  • Full Member
  • ***
  • Posts: 118
Re: Man this is huge!
« Reply #10 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.

« Last Edit: October 20, 2009, 08:29:33 AM by perthie »

Offline 3rail

  • Full Member
  • ***
  • Posts: 114
Re: Man this is huge!
« Reply #11 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

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: Man this is huge!
« Reply #12 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?

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: Man this is huge!
« Reply #13 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?

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Man this is huge!
« Reply #14 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.  

« Last Edit: October 20, 2009, 06:11:06 PM by jpeters »