General TC > General TC Talk
pauses in boot sequence
SBor:
--- Quote from: SBor on April 11, 2012, 03:58:53 PM ---A quick replacement with sun-jre (version 6) leads to a mount error message during boot ("Invalid argument", when trying to load this from AppBrowser)
--- End quote ---
Okay, for the record, the above mentioned mount error was a result of an incompletely downloaded jre extension. Shame on me. The jre version 6 starts equally slow, because of the same copy operation in the startup script that copies quite some files from the mounted file system to the ramdisk. I can only guess that this was done for runtime speed reasons. Is that common practice for extensions? Is there an easy way to reduce the compression of an extension just to try if my 533MHz CPU is the cause of the 30s delay of the copy operation?
curaga:
Even though sun-jre.tcz has some 700 files, creating 700 symlinks in ram should hardly take that long. Are you sure it's not copied to ram (copy2fs)?
You can of course run the same copy command after boot and measure, too.
SBor:
Look inside the extension! The startup script of the extension copies half of the directories after the framework already created symlinks for all files. I don't use the copy2fs feature. That won't work with X plus samba server plus java runtime in 256MB of RAM.
--- Quote from: curaga on April 15, 2012, 10:48:37 AM ---You can of course run the same copy command after boot and measure, too.
--- End quote ---
I did not try that yet, because I suspect the extraction out of the tcz-file to be the time killer, so I could not simply do the copy again after loading the extension, because I suspect the source to be in the Linux cache. So maybe, just mount it manually and than copy... Hmm....
curaga:
--- Quote ---Look inside the extension! The startup script of the extension copies half of the directories after the framework already created symlinks for all files.
--- End quote ---
:) I don't use Java. Glad you found the reason.
I trust Arslan in that the copying was required to make Java work. I'm afraid I can't help on whether you could make it work without.
No, forcing a copy to ram for any other reason than making things work is unheard of so far.
Navigation
[0] Message Index
[*] Previous page
Go to full version