| Summary: | [TMF] Events View has poor response time when scrolling large traces | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Francois Chouinard <fchouinard> | ||||||
| Component: | LinuxTools | Assignee: | Francois Chouinard <fchouinard> | ||||||
| Status: | CLOSED FIXED | QA Contact: | Francois Chouinard <fchouinard> | ||||||
| Severity: | major | ||||||||
| Priority: | P3 | ||||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 301637 | ||||||||
| Attachments: |
|
||||||||
|
Description
Francois Chouinard
*** Bug 320410 has been marked as a duplicate of this bug. *** Created attachment 175420 [details]
TMG virtual events table
This patch 'virtualizes' the events table and can handle arbitrarily large data sets (well, up to MAXINT entries) without busting memory with virtual entries (as in regular Tables with the SWT.VIRTUAL style flag). There is still an unacceptable lag when navigating back and forth in the trace over large 'distances'. This will have to be addressed with a smarter caching scheme at the experiment level (coming up). Committed changes in TRUNK and Helios branch. Created attachment 178708 [details]
Events caching
The main problem left was that the events were read one at a time (SWT sends a distinct request for each table row...)
This patch just sets the size of the table events cache to a more optimal value. Eventually, this should be set to the checkpoint interval - from experiment (ultimately from a preference).
Patch committed to Helios and Indigo Delivered with 0.7 |