+1I guess Bri just won't believe us until he finds out for himself. Ah well, he'll learn two things then...
Speed up boot process from deep stand by
Re: Speed up boot process from deep stand by #21
Re: Speed up boot process from deep stand by #22
Posted 25 December 2011 - 22:12
UBI fs and JFFS2 uses compression. How does this influence the time to load a file? Did anyone tried to investigate why enigma2 needs so long to start? Is the driver initialization, dynamic linking, python scripting initialization, hardware scan, loading the settings or something else the reason? I can not believe that a 400MHz MIPS CPU is not able to boot linux and start a TV application in 30s.
Re: Speed up boot process from deep stand by #23
Posted 25 December 2011 - 22:36
I can not believe that a 400MHz MIPS CPU is not able to boot linux and start a TV application in 30s.
That's the spirit.
And now we are all waiting for the moment you show us how to do it.
Success!!!
Hardware: Master VU Uno 4K SE 1x Mut@nt HD51.4K & 2x ZgemmaH9T
Software : Pli (v7) (7.1rc) 2019
Re: Speed up boot process from deep stand by #24
Posted 25 December 2011 - 22:43
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: Speed up boot process from deep stand by #25
Posted 25 December 2011 - 23:26
Erik you said that suspend to disk is not supported for MIPS in the kernel. I think this is not correct. In the kernel configuration I found the following lines for MIPS:
config ARCH_HIBERNATION_POSSIBLE
def_bool y
depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
config ARCH_SUSPEND_POSSIBLE
def_bool y
depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
Suspend to disk seems to be possible if SMP is disabled or support for hot plug CPUs is enabled. The question is is it enough to compile the support for hot plug CPUs in the kernel or do we need hardware support for hot plug CPUs? This might be a second chance to boot in 30s if other fails.
Re: Speed up boot process from deep stand by #26
Re: Speed up boot process from deep stand by #27
Posted 26 December 2011 - 09:53
I've been using suspend-to-disk for some time on linux (i386 arch) and I can say, don't bet your money on it, it's actually quite slow and sometimes it tends to crash.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: Speed up boot process from deep stand by #28
Posted 29 December 2011 - 14:31
- installation on hard disk: saves 3s over all (mount needs some seconds therefore the speed gain is not as high as expected, most time is needed for the large 1.4TB partition, might be mounted later in background to save additional 3s)
- static ip address: saves 10s-12s if network cable is not plugged in, otherwise about 2s
- samba & dropbear disabled in rc3.d, getty disabled in inittab: 2s
- removed all not needed satellites in file satellites.xml (good advice from SatKiekerd): saves 3s
Reading XML setting files in enigma2 is slow. I guess there is much room for optimizations. Many parts of enigma2 are written in python. Not a good idea for an embedded system with limited CPU power. I will try to rewrite some slow parts in C++.
Re: Speed up boot process from deep stand by #29
Re: Speed up boot process from deep stand by #30
Posted 29 December 2011 - 23:03
As far as I know the satellites file is parsed in C++ but the data is stored in a python data structure. Within the next few days I will try to locate the bottlenecks with a profiler.
Re: Speed up boot process from deep stand by #31
Posted 30 December 2011 - 10:13
Actually, the data from satellites.xml isn't being used at all, until you go into sat searching and stuff. So it's a waste of CPU and memory to begin with. That's a much better path to pursue - don't load it at all!
Re: Speed up boot process from deep stand by #32
Re: Speed up boot process from deep stand by #33
Posted 30 December 2011 - 12:55
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: Speed up boot process from deep stand by #34
Posted 30 December 2011 - 16:39
Re: Speed up boot process from deep stand by #35
Posted 3 January 2012 - 22:52
Hi guys,- removed all not needed satellites in file satellites.xml (good advice from SatKiekerd): saves 3s
What's the best way to go about removing unwanted satellites from satellites.xml file? I thought I could remove satellites using DreamBoxEdit but I think I can only remove individual transponders and not the whole satellites? Or do I just use my FTP application? In my case, it would be Total Commander.
And do I need to stop Enigma2 to be able to modify the file or is it not necessary?
ET9000, OpenPLi 4.0, 13E, 19E
HD51, OpenPLi 6.2, 75E - 30W
Re: Speed up boot process from deep stand by #36
Re: Speed up boot process from deep stand by #37
Posted 4 January 2012 - 10:56
found a german wiki for this research process:
Be aware that this wiki is not about OpenPLi, a lot of the things mentioned there won't apply. For example, multiboot will only make it slower, unused skins have no effect at all, and skin parsing in OpenPLi is way faster anyway so don't expect much there.
Re: Speed up boot process from deep stand by #38
Posted 5 January 2012 - 14:24
Or download an alternative satellites.xml file and overwrite the existing one, then restart enigma.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: Speed up boot process from deep stand by #39
Posted 5 January 2012 - 14:37
found a german wiki for this research process:
Be aware that this wiki is not about OpenPLi, a lot of the things mentioned there won't apply. For example, multiboot will only make it slower, unused skins have no effect at all, and skin parsing in OpenPLi is way faster anyway so don't expect much there.
Hi,
and what about all the "unused" localizations found in usr/share/enigma2/po? I always tend to remove all of them except from en, but obviosuly, next Software Update will place them all again. Would that be possible to implement in OpenPLi a function where only the current used language will be kept?
Eventually please correct me if I`m wrong and the remaining localisations dont influence the boot process but are only occupying the flash memory space.
Re: Speed up boot process from deep stand by #40
4 user(s) are reading this topic
0 members, 4 guests, 0 anonymous users