I have updated the script you shared here:
to get the time for which cpu wasn't getting interrupted.
Probably this might be useful for few other folks as well and so sharing it..
I am bad at scripting, so please ignore silly code in there :)
So, the script will take a parameter, i.e. number of samples you
need and will output the amount of time CPU1 (of a dual-core
machine) was isolated.
There is a variable "isdebug", which can be used to enable/disable
Let me know if there is something really stupid in it :)
Do we have, or do we have plans for, an image that's based on Ubuntu
that's usable with the foundation model? The only part I don't know how
to do for myself is build the .axf file, which I guess I can teach
myself but it would be even easier to just download something :-)
Just wondering if somebody could point me to a good document on how the heap reclamation algorithm works for memory allocated in a user space program using the regular malloc/calloc functions. I am specifically interested in how effective it is in reclaiming memory. E.g., does it only reclaim from top of heap or does it reclaim from the complete heap? Are there multiple options for reclamation algorithms? Etc.
Thank you: Magnus
Software Development Engineering Manager
Box 1024, Knarrarnäsgatan 15
SE-164 21 Kista, Sweden
TEL +46 8 594 607 09
FAX +46 8 594 607 10
CELL +46 73 80 444 88
I couldn't find a Cotton Candy-specific forum. Perhaps someone here will have advice. My apologies if I'm off-topic.
I'm using Linaro on the FXI Cotton Candy. At least every few hours, it experiences an X server crash, which logs me out.
Here is an example syslog message from the time of the crash:
Nov 20 08:27:46 linaro-ubuntu-desktop gnome-session: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.#012
A brief search online suggests this may be a problem with the video driver. But I'm not sure. I will be very glad of any assistance.
The crash is intermittent and difficult to reproduce. It seems to happen when I'm 'doing something', e.g. opening a new window, clicking a link or scrolling in Firefox, resizing a window, or viewing a photo attached to email. It does not seem to crash when the machine is idle.
I'm running Linaro (Ubuntu-beta-20130309.zip from FXI's Web site), which I reinstalled earlier this week then did 'apt-get update' and 'apt-get upgrade', and configured in various simple ways (e.g. software firewall, wireless networks, software installations using apt). The X server crash has happened before and after the reinstallation.
Without a swap file, there were some out of memory problems. I added a swapfile, which removed the out of memory problems. The X server still crashes.
I've also emailed FXI support but have not yet heard.
Thank you very much, in advance,
The University of St Andrews is a charity registered in Scotland :