Comment 94 for bug 217580

Revision history for this message
f3a97 (f3a97) wrote : Re: [Bug 217580] Re: Slow performance with Gmail

Here's some hard performance data.

I've measured Xorg and firefox CPU consumption in two scenarios:

1) System completely idle
2) Firefox open on gmail, only 1 tab, no firefox extensions, scrolling down
this launchpad thread fully expaned with mouse wheel.

In both cases I've recorded CPU utilization, 10 top recordings every 5
seconds each of the two processes. Command line:

top -b -n 10 -d 5 -p $(pidof firefox),$(pidof X)

I'm attaching the two top logs. Two noteworthy things to point out:

1) CPU fully saturated (constantly 100%) when scrolling in gmail!
2) Process responsible for this is Xorg!

See the attached logs. One important thing: I'm using nouveau now in Jaunty.
Later I'll redo the recordings with nv and possibily NVIDIA closed drivers.
I don't think it is a matter of driver though, I've opened this slowness bug
when I was using Intrepid with nv and the situation was the same.

Now, next step could be to profile the driver and see where the time is
spent. Anyone willing to dive into this with me? I'm willing to profile this
workload, if someone can guide me.

2009/5/1 phinn <email address hidden>

> Because it's not entirely an Nvidia bug either. My IBM T60 laptop draws
> Firefox pages perfectly smooth with crappy ATI X1400 card compared to my
> high end PC, its ridiculous. However, If you try Opera or Webkit based
> browsers in Linux this problem does not occur. It is only between
> Firefox + Nvidia.
>
> Yea, there should be some kind of bug report filled with Nvidia for sure
> though. As both Firefox and them are to blame.
>
> --
> Slow performance with Gmail
> https://bugs.launchpad.net/bugs/217580
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in XUL + XPCOM application runner: Confirmed
> Status in “firefox-3.0” source package in Ubuntu: Invalid
> Status in “xulrunner-1.9” source package in Ubuntu: Fix Committed
>
> Bug description:
> Binary package hint: firefox-3.0
>
> When scrolling in Gmail (and other websites however its not as noticable)
> the scrolling performance is terrible. There is a slight lag from when it
> starts to scroll to when it actually does scroll. On my Windows XP machine
> it is MUCH faster (basically instant). This is present with both Compiz
> enabled and disabled.
>
> ProblemType: Bug
> Architecture: i386
> Date: Tue Apr 15 01:01:46 2008
> DistroRelease: Ubuntu 8.04
> NonfreeKernelModules: nvidia
> Package: firefox-3.0 3.0~b5+nobinonly-0ubuntu1
> PackageArchitecture: i386
> ProcEnviron:
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: firefox-3.0
> Uname: Linux 2.6.24-16-generic i686
>