Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow on Raspberry pi 3? #47

Open
Robertbaelde opened this issue Feb 24, 2018 · 8 comments
Open

Slow on Raspberry pi 3? #47

Robertbaelde opened this issue Feb 24, 2018 · 8 comments

Comments

@Robertbaelde
Copy link

Annyone tried running it on a raspberry pi 3? When i run a dashboard with +- 10 charts on a raspberry, it is really slow to boot up (around a minute) and when it boots, the clock for example updates only every 10 seconds. Is there something i might do wrong, that requires a lot of power from the raspberry? or is the dashboard simply heavy to run?

@antony
Copy link
Collaborator

antony commented Feb 27, 2018

I tend to run the dashboard on Now.sh/Heroku/AWS etc and just have a browser on the Pi. I've not noticed any issue at all - I too run on a Zero with -/+ 10 charts (browser only).

I don't believe the dashboard is particularly heavy to run though - I'd be interested in knowing why this is the case.

@Robertbaelde
Copy link
Author

I can give you access to the git (bitbucket) of my configuration? Not sure how to debug this, as i'm not that familiar with node.

@antony
Copy link
Collaborator

antony commented Feb 27, 2018

Happy to take a look, sure.

I can run some metrics against it and see how heavy it is to run.

@Robertbaelde
Copy link
Author

Greath, whats your bitbucket username? (you can also email me at robert@payless.events)

@antony
Copy link
Collaborator

antony commented Feb 27, 2018

I'm 'wirahx' on bitbucket

@antony
Copy link
Collaborator

antony commented Mar 2, 2018

Nice dashboard!

I'm doing some profiling on client/server for your dashboard (pm2/chrome profiling), so i'll update you with my findings when I've gathered enough data.

@antony
Copy link
Collaborator

antony commented Mar 2, 2018

Btw pretty important, how is your RPi configured?

You would probably want to give 64mb+ video memory to Chrome, as the chartist library, whilst light, might need a fair bit of rendering memory.

Is it just when you have a lot of charts?

Are you running the backend and the chrome browser on the same RPi?

@antony
Copy link
Collaborator

antony commented Mar 31, 2018

I'm still looking into this - I need a RPi to test against, so I'm prepping one of mine to help with this issue and another potential issue as soon as I can.

I run on a RPi zero (minus graphs) at work, and I've not noticed any slowdown, so it's possible that the chartist plugin is a bit heavier than I'd like it to be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants