← Back to team overview

ubuntu-phone team mailing list archive

Re: Identifying memory issues, #2

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 10/06/14 19:09, Steve Langasek wrote:
> On Tue, Jun 10, 2014 at 10:47:01AM -0300, Ricardo Salveti de Araujo wrote:
>>>>>> see: http://kernel.ubuntu.com/~cking/smemstat/
> 
>>>>>> one can run this with a suitable delay and capture any memory changes
>>>>>> over a specified number of iterations.  The data can be also output to a
>>>>>> JSON formatted file for later processing and analysis.
> 
>>>>> Are you targeting smemstat for inclusion in Ubuntu for utopic?  Should we
>>>>> consider including smemstat in the phone images, so that we have it to hand
>>>>> for debugging when we need it?
> 
>>>> we discussed these tools at the sprint and I took a TODO home with me to
>>>> implement proper script wrappers around these tools in the phablet-tools
>>>> suite (i.e. resulting in phablet-memtest, phablet-powertest etc) so we
>>>> can have properly comparable reports from a combination of pre defined
>>>> test runs ... eventually these tools will then be integrated in the
>>>> smoke testing suite. I will announce it here once we have something
>>>> usable ....
> 
>>> But putting them into the smoketest suite doesn't give them to us in the
>>> image, correct?  So this would still limit our ability to use them for
>>> opportunistic debugging.
> 
>>> Given that these tools are all (AIUI) small, it would be nice to have them
>>> there.  You never know when you're going to need to debug an issue, and if
>>> you have to remount rw and install a .deb to catch it, it may be too late.
> 
>> +1 to have them pre-installed as well.
> 
>> These tools are small and quite useful for debugging.
> 
> OK, added smemstat to the seed.  I'm not sure which other tools we want
> included, I guess they can be added as they're identified.

Thanks.

Perhaps the following tools could be also be considered worthy too:

health-check, cf http://kernel.ubuntu.com/~cking/health-check/
eventstat, cf http://kernel.ubuntu.com/~cking/eventstat/

These are both in Utopic, and are quite small tools and are useful for
smoke tests and for developers to check on system and application behaviour.

Colin

> 
> Thanks,
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTl1LhAAoJEGjCh9/GqAIm1J8P/2n7INyheTCxcbcGNLt+1BDu
73UHpJSjCVT/Sy1V35tTFPyni3oZLPEI8b2WFYeJts2J+TnEtqbI0QYBhfAYf/z+
MQGAl/PFciEIi1j4xtxdFW9N9o4qW/9F87hdbUcngsPEXbCbXt5GLHdHHvhxD2/A
5R1WxeP9Bh/SpA8cLbfeS0o9KafP/+kSH5dHhEUe2Ta4AMpAj6dP+p1ZqgVOoJB4
4csEuqJu3uPe4pOYA7bsoWZCRaZxbVCrsjzA9/pkb+95Qn+kbUofIyTqTCY5SFyz
OiUeZj1GWnJYSwpCLxTZFRr6AdJUrVMnfWpQ0Lqx2MYJBxyqBLLN2a2f8D0GcklY
hYCxxHGlH9ZxBXZDN1caaw7202mAa1osqXdQ2e7ql59P6PIAG3V/EQ8xxQyBvVPb
0f2A0R/Hviz6ggI2I8ucMMfU5tfpSRUHVIrxMg4D77/yJ4aB5IzTWCpFNhLiINjd
F4nzABl+KkDWsC+UHCpkmqCDVBSEK0JR18bzCRP54uvUDMeH+1gX4CI3h4FB9QM2
6wGnv7db7JxGBqtz44xIasjp58mWfkepIFOo8APIyORn1vceOgkOn6zksjY0jkgS
XvfTXHsRsziy3Wbcpu6O+/zYdw/TDImuXpxNR+/rfl762vsZK1yBB6kxJy6SFeel
gRUVERVejEB/p+ROzBQc
=lp4N
-----END PGP SIGNATURE-----


Follow ups

References