WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: question/suggestion regarding copy2fs.  (Read 2787 times)

Offline sandras

  • Jr. Member
  • **
  • Posts: 53
question/suggestion regarding copy2fs.
« on: May 13, 2010, 02:34:50 AM »
I was thinking the other day... When copying some extensions to the file system in ram, why not copy the extension itself to the file system instead of extracting the extensions contents to the file system? I mean, this behavior already appears when in cloud mode. This way, I think, we could save some ram. Of course every time you would use an application from the extension, the system would have to extract it, but I think the time needed to do that would not be noticeable. The great thing here would be the ram savings. What do you think? Am I missing something?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: question/suggestion regarding copy2fs.
« Reply #1 on: May 13, 2010, 01:51:03 PM »
You save even more by not copying to RAM.  The default is to mount from persistant storage.

Offline sandras

  • Jr. Member
  • **
  • Posts: 53
Re: question/suggestion regarding copy2fs.
« Reply #2 on: May 13, 2010, 03:46:46 PM »
You save even more by not copying to RAM.  The default is to mount from persistant storage.

Yes, I understand that, but there are scenarios where you may wanna load extensions to RAM. RAM is fast and copying extensions to it may improve performance. However, you might clog up RAM with your file system full of extensions, and this way you may even lose performance, instead of gaining it. That's why I'm suggesting to copy them  to ram unextracted from the .tcz packages. Squashfs saves quite a big amount of space.