PowerTOP tool released; time to fix the wasted laptop power on fedora?

2007-05-14 Thread William Cohen
A tool has been developed to look at power consumption, PowerTOP: https://www.redhat.com/archives/fedora-devel-list/2007-May/msg00796.html I have been able to run it on the XO- beta 2 machine I have. However, the really interesting information about power consumption isn't available. The code

Re: PowerTOP tool released; time to fix the wasted laptop power on fedora?

2007-05-14 Thread William Cohen
Jordan Crouse wrote: On 14/05/07 12:20 -0400, William Cohen wrote: interesting information about power consumption isn't available. The code attempts to read the ACPI information (/proc/acpi/processor/) for C state information. Is there some other place that this type of information would

Re: Experiences Getting SystemTap work on OLPC Machine

2007-05-10 Thread William Cohen
William Cohen wrote: snip Setup of SystemTap on OLPC Machine To run systemtap kernel modules on olpc machine the hacked systemtap-runtime module needs to be installed on the olpc machine: rpm -Uvh systemtap-runtime-0.5.12-1olpc.i386.rpm The instrumentation needs to be run as root

Re: Xrender cursor performance / double buffering?

2007-04-17 Thread William Cohen
Jim Gettys wrote: Heh. More and more cursors are images these days, rather than two plane. The question is if we hit the hardware alpha blending unit for cursors or not. I'd suspect not, but profiling would provide the answer if you don't know instantly... -

Re: Slow import hippo and other on web browser activity startup

2007-04-10 Thread William Cohen
Marco Pesenti Gritti wrote: On Mon, 2007-04-09 at 18:53 -0400, William Cohen wrote: Hi all, I was taking a closer look at where the startup time was spent when starting the web browser activity. The profile from python profiler looks like the following: import pstats p = pstats.Stats

Slow import hippo and other on web browser activity startup

2007-04-09 Thread William Cohen
Hi all, I was taking a closer look at where the startup time was spent when starting the web browser activity. The profile from python profiler looks like the following: import pstats p = pstats.Stats('/tmp/pywebprof') p.sort_stats('time').print_stats(10) Mon Apr 9 18:19:30 2007

Re: Slow import hippo and other on web browser activity startup

2007-04-09 Thread William Cohen
William Cohen wrote: According to the profile the import hippo is taking a couple of seconds. I tried it from an interactive python command line and it does seems to take a while (2 or 3 seconds). Why does the import take so long? Where is the code for browser_startup, main and present

XO avatars

2007-03-30 Thread William Cohen
I have been thinking about the little XO people that are used to show who is connected in the neighbor hood. The only aspect of them that can be changed is color. Given that the screen works in both color and black and white, it will be very hard to distiguish between different people in the

console polling loop and inotify

2007-03-29 Thread William Cohen
I was running a simple script iotime.stp on the 314 build. The script monitors the reads and write performed by the systemt. When the process does the close it prints a summary: a time stamp in microseconds, pid, process name, type of information (number of accesses or amount of time), the file

Re: power management

2007-03-29 Thread William Cohen
Jim Gettys wrote: On Wed, 2007-03-28 at 21:49 -0500, Gopi Palaniappan wrote: Hi: [...] 2. What kind of sleep modes does it support? Suspend to RAM. But we can leave the display image intact on the screen, and the wireless interface forwarding packets. So the system can appear to be

Re: console polling loop and inotify

2007-03-29 Thread William Cohen
Marco Pesenti Gritti wrote: On Thu, 2007-03-29 at 09:43 -0400, William Cohen wrote: I was running a simple script iotime.stp on the 314 build. The script monitors the reads and write performed by the systemt. When the process does the close it prints a summary: a time stamp in microseconds

Re: console polling loop and inotify

2007-03-29 Thread William Cohen
Ivan Krstić wrote: Neal Norwitz wrote: I'm missing a bit of context. Ivan is correct that we probably wouldn't want an inotify module in the core. However, there can certainly be a module created to provide access to inotify from python. I'm not sure what the goal is. Sorry, I misread

Python profiling on OLPC machine

2007-03-26 Thread William Cohen
Hi all, There is a page that describes modifying python scripts to get hotshot profiling information: http://wiki.laptop.org/go/Sugar_Performance The wiki page says that the profile module is depricated. However, it seems mucheasire to run profile with: python -m profile -o

Many mfgpt timer interrupts with tickless kernel

2007-03-22 Thread William Cohen
Hi all, I was trying to make sense of the data that I collected earlier with the idle1.stp probe. It displayed the percentage of time spent in halted mode, which the highest I saw on an idle machine was 17 percentage. This seemed rather low for a machine that was doing nothing, so I took a

Re: Many mfgpt timer interrupts with tickless kernel

2007-03-22 Thread William Cohen
Jordan Crouse wrote: On 22/03/07 18:26 +0100, Jens Axboe wrote: The tickless kernel just _enables_ low number of interrupts per second, it'll still wakeup everytime something is scheduled to run. So you probably want to look into _why_ th timer interrupts happen so often - who is the user of

Re: Many mfgpt timer interrupts with tickless kernel

2007-03-22 Thread William Cohen
Chris Ball wrote: Hi Will, I need to put a probe at a higher level to see what is run when the timer fires. Is there something that can print out what is in the clockevents_chain? Not sure if you're aware that there are timer statistics available: Chris, Thanks for the

Re: Experiences Getting SystemTap work on OLPC Machine

2007-03-20 Thread William Cohen
Albert Cahalan wrote: Dan Williams writes: You may want to update to the Q2B81 firmware which disables the branch prediction workaround, and yields about 25% performance increase when using any USB network devices (including the builtin wireless). Uh, is that safe? I thought that this was

Experiences Getting SystemTap work on OLPC Machine

2007-03-19 Thread William Cohen
Experiences Getting SystemTap work on OLPC Machine Right now the stock Systemtap does not allow cross compiling of systemtap scripts between different subarchitectures. The stock systemtap assumes that the host and target systems are the same subarchitecture. If the host systemtap is a i686

Re: Experiences Getting SystemTap work on OLPC Machine

2007-03-19 Thread William Cohen
William Cohen wrote: This particular script attempts to determine the amount of the time spent in the power saving halted mode. It will run until control-c is typed on the command line. When control-c is pressed, the script prints out information about how long it ran, the number of entries

Re: Enabling OProfile in the OLPC kernels?

2007-03-16 Thread William Cohen
Jim Gettys wrote: Thank you for your efforts! On Mon, 2007-03-12 at 16:39 -0400, William Cohen wrote: I have been successful in getting OProfile in timer mode to work on a OLPC Beta 2 machine. Would it be worthwhile to build the OProfile module in the kernel build? Yes. Could we turn

Re: Where olpc machine spending time when using web broswer

2007-03-15 Thread William Cohen
Carl Worth wrote: [Pardon me for quoting several separate messages in a single reply here---I wasn't previously on this list, and it's difficult enough to fish out the Message-ID of a single message to try to get a properly formatted reply.] On Mon, 2007-02-12, William Cohen wrote: samples

Where olpc machine spending time when using web broswer

2007-03-12 Thread William Cohen
Looked at where the processor spends its time when browsing the web. Hardware configuration: OLPC Beta 2 machine Linksys USB200M USB 10/100 for ethernet connection 4GB memorex Mini Travel Drive for storage of image Software configuration:

Re: Where olpc machine spending time when using web broswer

2007-03-12 Thread William Cohen
William Cohen wrote: Looked at where the processor spends its time when browsing the web. Hardware configuration: OLPC Beta 2 machine Linksys USB200M USB 10/100 for ethernet connection 4GB memorex Mini Travel Drive for storage of image Software configuration: /tmp/olpc-redhat-stream