Performance optimizations in Luna

Registered by Sergey "Shnatsel" Davidoff

Jupiter performs much faster than Ubuntu Maverick. Can we improve performance even more?

Blueprint information

Status:
Complete
Approver:
elementary core
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
None
Definition:
Drafting
Series goal:
Accepted for 0.2-luna
Implementation:
Implemented
Milestone target:
milestone icon luna-beta1
Started by
Sergey "Shnatsel" Davidoff
Completed by
Sergey "Shnatsel" Davidoff

Sprints

Whiteboard

I definitely vote for keeping preload around. I think the "swappiness" factor might be something we can play around with on a per-system basis. e.g, depending on how much RAM a given system has. I'd think this should be part of ubiquity. might be worth checking upstream.

additionally, I think we need to review the auto-start programs and services on the default desktop and ensure we're not starting anything we absolutely need to be. Perhaps have bluetooth start deactivated by default (this would also improve battery life) -- aroman

Upstream recommends swappiness 10 for any amount of RAM, see SwapFAQ link above.
Swappiness 30 instead of 100 gives a noticeable performance boost on my N900 with 256mb RAM. I'm investigating the consequences on my 2Gb desktop, but they should also be positive because sometimes I have to manually swapoff to get the system back to normal state. --shnatsel
10 is proven to be too aggressive on my 2Gb desktop. Trying 30. --shnatsel
No-no-no-no-no. With 30 it's a swapping hell. Reverted back! --shnatsel
Ok, I've enabled zRam and I don't care about swappiness anymore. --shnatsel

Also, I believe Ubuntu has all unnecessary startup items disabled already. They've put a lot of effort into optimizing boot and startup time. --shnatsel

Maybe we could use this http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html --grvrulz

This is already implemented in Oneiric. --gotwig

No, it's not - that's an alternative to that patch. --shantsel

Sergey do we have any other performance optimizations planned or should this be marked as implemented? --DanRabbit

I'll be tuning some ulatencyd configs but I guess that's it. Everything we can hope to implement and test has already landed to dailies. --shnatsel

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.