Hi,

On Monday, 11 September 2006 19:29, Stefan Seyfried wrote:
> On Mon, Sep 11, 2006 at 04:05:05PM +0200, Rafael J. Wysocki wrote:
> > Hi,
> > 
> > On Monday, 11 September 2006 15:46, Stefan Seyfried wrote:
> > > Today i finally managed to set up and test userspace suspend. Everything
> > > seems to work somehow (some strange things i need to investigate, e.g.
> > > compressed suspend is actually slower than uncompressed).
> > 
> > Hm, this doesn't reflect my experience. ;-)
> 
> I'll investigate. It looks like when uncompressed, my disk light is solid on,
> but when compressing, the light is flickering (during writing). Maybe playing
> with buffer sizes or something like that might help.
> The machine should be fast enough (compaq nx5000, P-M 1.4GHz). Early writeout
> gained me 5 seconds, but still compression does not impress me too much, yet.
> 
> > > What can we do to fix this? In-kernel suspend calls the apropriate ACPI
> > > methods at the beginning and end of suspend IIUC. Can we do something
> 
> BTW: in-kernel suspend no longer calls them at the beginning. This definitely
> worked better some ~10 kernel versions ago. The moon on the thinkpads no
> longer blinks :-)
> 
> > > similar from userspace?
> > 
> > Generally, yes, but we'll need to add an additional ioctl for this purpose.
> > I thought we'd have to add it at some point, but I'm not sure what Pavel
> > thinks about it.
> 
> Something like this? (WARNING: only compile tested, and not even a whole
> kernel, only SUBDIRS=kernel/power)

Looks sane, but I'd prefer one ioctl for both, with a parameter indicating which
operation is to be carried out.

I'll prepare a patch when I'm finished with the ACPI thermal/fan suspend
(seems to be broken to me now, please follow the bugzilla entry at:
http://bugzilla.kernel.org/show_bug.cgi?id=7122).

Rafael


-- 
You never change things by fighting the existing reality.
                R. Buckminster Fuller

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to