Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 236365

Summary: [performance] [externalization] reduce disk activity caused by automatic saving
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: minor    
Priority: P2 CC: jtk499, mik.kersten, robert.elves
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Steffen Pingel CLA 2008-06-10 02:10:37 EDT
Mylyn triggers automatic saving of various files in the .mylyn folder when data is changed. The implementation should be reviewed to make sure the following holds:

- If no task or repository has ever been created by the user the backup folder should not exist and the backup job should not cause disk access.
- If no task has ever been activated the activity.xml.zip file should not exist and no activity should be monitored.
Comment 1 Robert Elves CLA 2008-06-13 23:05:42 EDT
- Backup's no longer happen if no tasks exists (no backup folder gets created)
- Activity monitors are never started if user has never activated a task. After first task activation, then are started automatically.

TODO:

Make activity monitoring with task inactive a preference.
Comment 2 Mik Kersten CLA 2008-06-16 14:30:56 EDT
Additional improvements can wait for 3.0.1.
Comment 3 Mik Kersten CLA 2008-07-04 16:38:03 EDT
Might be good enough already.
Comment 4 Robert Elves CLA 2008-09-08 18:53:07 EDT
Didn't get time to profile this deferring...
Comment 5 Mik Kersten CLA 2009-01-27 18:17:48 EST
For Mylyn 3.1 I changed the save delay from 42 to 90s, to hold us off while we work out the save performance bottlenecks.
Comment 6 Mik Kersten CLA 2009-01-27 18:17:51 EST
Created attachment 123964 [details]
mylyn/context/zip
Comment 7 Steffen Pingel CLA 2010-02-04 21:58:30 EST
The interval saving has been fixed. The next step is to change the data structures to allow incremental saving, e.g. for activity. Instead of always streaming the entire activity to disk only the events since the last externalization should be written to disk.
Comment 8 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn