the future of linux suspend
play

The Future Of Linux Suspend Stefan Seyfried <seife@suse.de> - PowerPoint PPT Presentation

Outlines The Future Of Linux Suspend Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices 2008-02-24 Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux


  1. Outlines The Future Of Linux Suspend Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices 2008-02-24 Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  2. Outlines Part 1: State Of The Art Part 1: State Of The Art 1 Suspend To RAM - Whitelists s2ram HAL 2 Suspend To Disk Kernel Userspace Suspend TuxOnIce Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  3. Outlines Part 2: What’s Next? Part 2: What’s Next? 3 Future Trends Kernel - Freezer Kernel - Driver Infrastructure Kernel - TuxOnIce Merge Kernel - Suspend To Disk Using Kdump Kernel - Sleepy Linux Userspace - Whitelists Userspace - pm-utils 4 Users Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  4. Suspend To RAM - Whitelists Suspend To Disk Part I State Of The Art Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  5. Suspend To RAM - Whitelists Suspend To Disk s2ram Whitelists - s2ram Part of the uswsusp project: http://suspend.sourceforge.net Extensive whitelist, pretty good quality Standalone - no other software needed Unflexible - can only do DMI table (SMBIOS) matching Problems if one machine type is shipped with different graphics chips Needs to be recompiled to change the whitelist Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  6. Suspend To RAM - Whitelists Suspend To Disk HAL Whitelists - HAL Part of the hal-info package Pretty extensive whitelist Flexible - can match on everything HAL knows about Can easily be extended by adding a .fdi-file You need HAL running to use it Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  7. Suspend To RAM - Whitelists Suspend To Disk Kernel Kernel Method ” echo disk > /sys/power/state ” Simple, proven, works No fancy options, relatively slow In mainline kernel since 2.6.0, usable since 2.6.5 Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  8. Suspend To RAM - Whitelists Suspend To Disk Userspace Suspend Uswsusp http://suspend.sf.net More complicated to set up (Distribution’s job) Fancy options (compression, encryption, splash screens) all done in userspace In mainline kernel since 2.6.17rc1 Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  9. Suspend To RAM - Whitelists Suspend To Disk TuxOnIce Tuxonice - Formerly Known As ”suspend2” http://www.tuxonice.net Developed and maintained as a kernel patch by Nigel Cunningham Relatively easy to set up, once the patched kernel is built Fancy options (compression, encryption, splash screens) in kernelspace Well supported by Nigel Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  10. Future Trends Users Part II What’s Next? Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  11. Future Trends Users Kernel - Freezer Suspend Future - Kernel Freezer Stops all processes during suspend and resume Some people with freezer problems want to remove it Will not go away soon, but is going to be removed eventually Removal needs to be considered in many parts of the kernel First for suspend to RAM, later also for suspend to disk Removal will probably not solve all problems automagically Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  12. Future Trends Users Kernel - Driver Infrastructure Suspend Future - Kernel Driver Infrastructure / Powermanagement Core Rafa� l Wysocki is overhauling the driver infrastructure Planned for 2.6.24 Development is ongoing, but slower than planned Takes longer in order to not break everybodys system Work is being done on the PM core preparing for the freezer removal Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  13. Future Trends Users Kernel - TuxOnIce Merge Suspend Future - Kernel TuxOnIce Merge For some time, Nigel tried to merge TuxOnIce into mainline TuxOnIce is very dependant on the freezer The freezer is probably going away - a merge becomes more unlikely Nigel is contributing lots of good bugfixes for drivers and infrastructure to mainline Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  14. Future Trends Users Kernel - Suspend To Disk Using Kdump Suspend Future - Kernel Using kdump For Suspend Some think that current suspend to disk methods are fundamentally broken Using kdump to suspend a machine shall fix this brokenness The experts are waiting for a working solution which is comparable to the existing ones Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  15. Future Trends Users Kernel - Sleepy Linux Suspend Future - Sleepy Linux Sleepy Linux - Suspend much more often Pavel Machek is working on it ”Today’s hardware is mostly capable of doing better: with correctly set up wakeups, machine can sleep and successfully pretend it is not sleeping – by waking up whenever something interesting happens.” Current State: Prototype Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  16. Future Trends Users Userspace - Whitelists Suspend Future - Whitelists Having whitelists in different places is doubled work HAL is more flexible at matching hardware Some efforts will move from the s2ram whitelist to the hal-info list Even if this means that you need HAL / pm-utils installed Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  17. Future Trends Users Userspace - pm-utils Suspend Future - pm-utils pm-utils have effectively been forked Nobody is working on the original project anymore Lots of cosmetic changes, not much substantial No changes for the users (yet) Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  18. Future Trends Users Suspend Future - Users Found a problem? Report it! Distribution’s Bugzilla - http://bugzilla.novell.com If it’s a kernel problem - LKML or http://bugzilla.kernel.org Kernel developers usually don’t bite! ;-) Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  19. Future Trends Users Suspend Future - Bug reports http://bugzilla.novell.com Product: openSUSE 11.0 Component: Mobile Devices Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

  20. Future Trends Users The Future Of Linux Suspend Thank You! Important Links: Userspace suspend: http://suspend.sourceforge.net s2ram Introduction: http://en.opensuse.org/S2ram pm-utils Introduction: http://en.opensuse.org/Pm-utils TuxOnIce: http://www.tuxonice.net Stefan Seyfried <seife@suse.de> SuSE Linux Products GmbH - R&D Mobile Devices The Future Of Linux Suspend

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend