Re: [b2g] Proposal for power metering per application framework on FFOS

2013-07-10 Thread kumar
(Disclaimer: I am the co-founder of the company who developed the below tool)

We have a tool called LittleEye (http://www.littleeye.co) which does most of 
what you propose, but built for Android. Its a desktop tool that automatically 
injects an agent onto a connected phone. It can be used to monitor the power 
consumption of an individual application by modelling its power consumption 
based on the various hardware components its using (like CPU, display, GPS 
etc). 

If you are looking for an open source app which does something similar, 
checkout the research tool http://powertutor.org. It also does modelling of app 
power based on its hardware consumption.

In addition to Wifi, 3G/4G power is also useful and there it has an additional 
complication of having tail states which are big concern with inefficient apps 
keeping the system awake all the time by doing period data transfers.

Display power is also very useful (esp on OLED screens), and one can do that by 
sampling the screen periodically and looking at the various pixel values. 
Brightness of the screen is also a very useful factor.

GPS is tricky because multiple apps could request for the location. In Android 
we differentiate between an app requesting for passive updates and active 
updates and if its in the foreground or background. The power is distributed 
based on all these factors.

We are not too familiar with the FFOS, but would be happy to help if needed.

:-)

On Tuesday, June 11, 2013 6:59:03 AM UTC+5:30, Jonas Sicking wrote:
> On Sun, Jun 9, 2013 at 8:42 PM, Vincent Chang(張藝馨)
> 
>  wrote:
> 
> > Hi there,
> 
> >
> 
> > As you may know that battery life has always been one of the important
> 
> > concerns for users on
> 
> > mobile devices. Our intern student Gavin Lai and I propose APIs and
> 
> > framework on FFOS to help to
> 
> > gather power consumption statistic information. Our goal is to provide
> 
> > power consumption information
> 
> > from gecko. The application can use these information to calculate the
> 
> > power consumption per app.
> 
> >
> 
> > We classify the power consumption into two groups:
> 
> > Application and System.
> 
> >
> 
> > For each application, there are several parts are included as follows:
> 
> > 1. CPU
> 
> > 2. WiFi Active (WiFi traffic)
> 
> > 3. Radio Active (Radio traffic)
> 
> > 4. Wakelock
> 
> >
> 
> > Some events or components are hard to distinguish into each app.
> 
> > We classify this kind of power consumption into System.
> 
> > 1. Screen
> 
> > 2. WiFi On
> 
> > 3. WiFi Scan
> 
> > 4. Idle
> 
> > 5. Bluetooth On
> 
> > 6. Audio
> 
> > 7. Video
> 
> > 8. GPS
> 
> > (Not sure)9. Bluetooth Active (Bluetooth traffic)
> 
> 
> 
> As many of these as possible I think we should try to attribute to
> 
> each app whenever possible.
> 
> 
> 
> GPS in particular should be very possible to attribute to the
> 
> particular app that is using it. We know whenever an app is requesting
> 
> to get information from the GPS. We should divide GPS power
> 
> consumption between any app that has requested location information
> 
> within the last X seconds.
> 
> 
> 
> Same thing should be possible to do for bluetooth I would imagine?
> 
> 
> 
> In general I think we should work towards making the second list as
> 
> short as we can. But it's something that we can do over time. But
> 
> anything that turns out to be a high battery drain, we should
> 
> prioritize to split it out per-app.
> 
> 
> 
> Which brings up the point that it'd be great to add telemetry probes
> 
> for each component. That way we will during dogfooding see which
> 
> components use up a lot of battery. That allows us both to prioritize
> 
> making them use less battery, when possible, and to prioritize logging
> 
> the data per-app.
> 
> 
> 
> / Jonas

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


OpenGrok Helm chart for EKS

2020-08-25 Thread kumar Raj
Hello Everyone, 


I was wondering if someone created a helm chart for OpenGrok, if so please let 
me know. Any similar sort of charts would also help.


Thanks,
Thrinath
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Help with building Xulrunner windows 64 bit.

2015-06-17 Thread Abhay Kumar Somani
Hi, I am working in a company and we are using XULRunner to deploy our app. Now 
we have decided to upgrade our app to 64bit. While upgrading we got to know 
that Mozilla doesn't provides 64bitXULRunner for windows. However, while 
searching in the net, I found a website that provides 64bit binaries for 
windows but it is unofficial, and no source code is available there, so don't 
know whether it is safe to consume them as per our security concerns. So, if 
anybody could help me with building a 64bit XULRunner for windows or if Mozilla 
team plan to provide 64bit Windows build anytime soon, it will of great help.
Otherwise if someone can kindly help with building 64bit binaries. Thanks in 
advance.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Help with building Xulrunner windows 64 bit.

2015-06-18 Thread Abhay Kumar Somani
On Wednesday, June 17, 2015 at 10:29:24 PM UTC+5:30, Adrian Kalla wrote:
> W dniu 06/17/2015 o 06:33 PM, Abhay Kumar Somani pisze:
> > Hi, I am working in a company and we are using XULRunner to deploy our app. 
> > Now we have decided to upgrade our app to 64bit. While upgrading we got to 
> > know that Mozilla doesn't provides 64bitXULRunner for windows. However, 
> > while searching in the net, I found a website that provides 64bit binaries 
> > for windows but it is unofficial, and no source code is available there, so 
> > don't know whether it is safe to consume them as per our security concerns. 
> > So, if anybody could help me with building a 64bit XULRunner for windows or 
> > if Mozilla team plan to provide 64bit Windows build anytime soon, it will 
> > of great help.
> > Otherwise if someone can kindly help with building 64bit binaries. Thanks 
> > in advance.
> 
> Hi,
> 
> building XULRunner is not different from building Firefox. When already
> deploying an own app, I expect you know the basics of how to compile an
> application ;)
> You should start with this three links:
> https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites
> 
> https://developer.mozilla.org/en-US/docs/Simple_Firefox_build
> https://developer.mozilla.org/en-US/docs/Configuring_Build_Options
> 
> There also are official Win64 builds, but only for central, aurora and
> the beta stage, e.g.:
> https://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/latest-beta/runtimes/xulrunner-39.0b6.en-US.win64.zip
> 
> Best regards
> 
> FYI: I'm not sure if you are aware of this, but XULRunner is in the
> process of a slow and painful death, as no-one seems to care about it
> anymore. So I'm not so sure, if it is a good idea to depend on it...

Thanks Adrian for your help. And also thanks for the information about 
XULRunner in the process of end, I didn't knew that.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Help with building Xulrunner windows 64 bit.

2015-06-25 Thread Abhay Kumar Somani
On Friday, June 19, 2015 at 10:31:34 AM UTC+5:30, Abhay Kumar Somani wrote:
> On Wednesday, June 17, 2015 at 10:29:24 PM UTC+5:30, Adrian Kalla wrote:
> > W dniu 06/17/2015 o 06:33 PM, Abhay Kumar Somani pisze:
> > > Hi, I am working in a company and we are using XULRunner to deploy our 
> > > app. Now we have decided to upgrade our app to 64bit. While upgrading we 
> > > got to know that Mozilla doesn't provides 64bitXULRunner for windows. 
> > > However, while searching in the net, I found a website that provides 
> > > 64bit binaries for windows but it is unofficial, and no source code is 
> > > available there, so don't know whether it is safe to consume them as per 
> > > our security concerns. So, if anybody could help me with building a 64bit 
> > > XULRunner for windows or if Mozilla team plan to provide 64bit Windows 
> > > build anytime soon, it will of great help.
> > > Otherwise if someone can kindly help with building 64bit binaries. Thanks 
> > > in advance.
> > 
> > Hi,
> > 
> > building XULRunner is not different from building Firefox. When already
> > deploying an own app, I expect you know the basics of how to compile an
> > application ;)
> > You should start with this three links:
> > https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites
> > 
> > https://developer.mozilla.org/en-US/docs/Simple_Firefox_build
> > https://developer.mozilla.org/en-US/docs/Configuring_Build_Options
> > 
> > There also are official Win64 builds, but only for central, aurora and
> > the beta stage, e.g.:
> > https://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/latest-beta/runtimes/xulrunner-39.0b6.en-US.win64.zip
> > 
> > Best regards
> > 
> > FYI: I'm not sure if you are aware of this, but XULRunner is in the
> > process of a slow and painful death, as no-one seems to care about it
> > anymore. So I'm not so sure, if it is a good idea to depend on it...
> 
> Thanks Adrian for your help. And also thanks for the information about 
> XULRunner in the process of end, I didn't knew that.


Hi, I used the beta build but I am stuck at a point in windows. Whenever my 
application tries to open a new window or a popup, I get the login page in the 
popup and the previous Xulrunner session gets closed. I am not getting it, 
whether it is a problem related to session management or popup related. 
Everything works well for linux. It is only in windows where I am getting this 
issue.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform