Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] Eclipse Kura footprint

Hi Kanchana,

 

The numbers are with no app running for both Node-RED and Kura, i.e it’s the RAM consumption right after a cold-start and opening the home web page. I do not have figures for running apps but I can simply tell you that very recently, I’ve experimented with Kura running on a system with only 2MB of free RAM left once Kura was fully started and from that point, any extra app actually adds very little additional RAM consumption as most of the Java classes are already in memory, and the app typically re-use existing Kura service that are also already loaded in memory. So those 2MB of actual free RAM actually seem to be enough for “common” operations (but again, I haven’t done further and more rigourous tests to support that number).

 

Regarding Node-RED, yes, it runs on Node.js which uses V8, and the test was done on node-v0.10.29 (which is a fairly old version, but that’s the one I had on my Raspberry Pi)

 

Hope this helps!

Benjamin –

 

De : "Sridhar, Kanchana" <kanchana.sridhar@xxxxxxxxx>
Date : jeudi 26 mai 2016 07:03
À : "Benjamin Cabé (benjamin@xxxxxxxxxxx)" <benjamin@eclipse.orgbenjamin@xxxxxxxxxxx>

Objet : RE: [kura-dev] Eclipse Kura footprint

 

Hi Benjamin,

 

Just wanted to circle back on the footprint comparison/analysis.

 

On the Kura vs Node-Red footprint, are the footprint numbers those for a running app (or benchmark) that uses the Kura APIs? Also, I was curious if the Node-Red runtime is V8 in this study?

 

Thanks,

Kanchana

 

De : <kura-dev-bounces@xxxxxxxxxxx> au nom de Benjamin Cabé <benjamin@xxxxxxxxxxx>
Répondre à : Kura Developers mailing list <kura-dev@xxxxxxxxxxx>
Date : vendredi 13 mai 2016 10:52
À : <kura-dev@xxxxxxxxxxx>
Objet : [kura-dev] Eclipse Kura footprint

 

Hi there,

 

A couple weeks ago I did run some tests to get a sense of the actual footprint of Eclipse Kura on a system, and more specifically requirements in terms of disk space, RAM, as well as some figures on the "cold" startup time (I.e from "Kura not running", to "all Kura default services up and running").

 

You’ll find the results below (including comparison with Node-RED) as well as at https://github.com/eclipse/kura/wiki/Footprint.

I have to admit I was positively surprised about the fact that the overhead some might expect from Java-based runtimes is actually not that much of an issue, I would say, for the kind of devices Eclipse Kura targets.

Please feel free to amend the Wiki page with comments, or add info regarding other h/w platforms or runtimes.

 

Cheers!

Benjamin –

 

Eclipse Kura

Node-RED

VM

JVM

Node.JS

VM footprint (disk)

~15 MB (Oracle JVM compact2)

43 MB (node-v5.9.1)

Runtime footprint (disk)

44 MB (Kura 1.4)

62 MB

Total footprint (disk)

59 MB

105 MB

Startup time (on Rasp. Pi 3)

~8 sec

~5 sec

Memory footprint (RAM)

< 20 MB

22 MB

 

 

 


Benjamin Cabé – IoT Evangelist


Eclipse Foundation
+33 (0) 619196101
@kartben

 

_______________________________________________ kura-dev mailing list kura-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/kura-dev


Back to the top