Closed Bug 98772 Opened 24 years ago Closed 1 year ago

Image scaling performance on remote X connections horrid

Categories

(Core Graveyard :: Image: Painting, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jesup, Unassigned)

References

()

Details

(Keywords: perf)

Mozilla 20010907xx Linux RH7.1 On a remote X connection to a fast machine (dual-500's), from a fast machine (800Mhz), over an ethernet link (10Mbps). Move the mouse across the tabs (Home, ChipGeek, etc). The menus are VERY slow to come up, often paint in waves, and when you move the mouse over the menus the highlighting is very slow. Note that a jprof I ran of doing this didn't show a lot of CPU use and hits, though some of the hits were surprising. It appears to be spending time doing image scaling and the like over X and generating a lot of traffic. The updates of the menus appear to be synchronized to the update of the anim ad on the right, which appears to be scaled. (Note that scaling shows up as a major hit in the jprof). In the realtime jprof, nsImageGTK::DrawScaled() showed up as ~85% of the time (95% of that in select()), and is being called from UpdateIdle(). Note: patch 93999 (including update) applied. It may be there's no easy solution for this, but....
Keywords: perf
running at 10mbit is going to be pretty painful.. try 1000 ;)
Reporter, please try the Xlib port of Mozilla... it supports the X11 XIE (X Image Extension) which moves the scaling job from Xclient (mozilla) to the Xserver (assuming it supports the XIE extension) ...
Not event handling
Assignee: joki → pavlov
Component: Event Handling → ImageLib
QA Contact: madhur → tpreston
Target Milestone: --- → Future
Moving bugs to new Image: GFX component
Component: ImageLib → Image: GFX
is this better now? I don't have a linux machine to test this on, and it seems ok on solaris. tor's previous changes should have sped this up a great deal.
Assignee: pavlov → tor
Target Milestone: Future → ---
The testcase currently doesn't have a scaled ad. Still seems a little sluggish even without it. I'll try to build a stand-alone testcase after I get back from vacation; Reassigning to me until then. I'm not certain anything has gotten better.
Assignee: tor → rjesup
QA Contact: tpreston → image.gfx
Product: Core → Core Graveyard
Assignee: rjesup → nobody
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.