Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: Slow startup on raspberry pi

by vivat (Initiate)
on Jan 16, 2015 at 13:23 UTC ( [id://1113513]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Slow startup on raspberry pi
in thread Slow startup on raspberry pi

The overall boot time is crucial for that application. I optimised the raspberry pi boot time to 20s but get additional more than 10s by this perl script. I.e. the whole linux system needs 20s but a simple perl script adds 10s.

Replies are listed 'Best First'.
Re^5: Slow startup on raspberry pi
by LanX (Saint) on Jan 16, 2015 at 13:33 UTC
    It's not a simple Perl script your modules are using other modules which in turn use other modules ...

    And at least one of them is either doing heavy initialization or IO accessing.

    Reprogramming it in C won't help much.

    But learning how to use the NYT profiler and identifying the bottleneck is far more efficient.

    Cheers Rolf

    PS: Je suis Charlie!

Re^5: Slow startup on raspberry pi
by Anonymous Monk on Jan 16, 2015 at 13:36 UTC
    The overall boot time is crucial for that application.

    Ok, thanks for the clarification. I'm still not really surprised that you're getting that kind of performance out of the Pi in general... how fast is your SD card? Perhaps throwing a little more hardware at the problem would help? For example I've read good things about the quad-core 1.5 GHz ODROID-C1, for $35 (http://www.hardkernel.com/).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1113513]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-03-28 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found