what about having network connections inhibit sleep?

John Gilmore gnu at toad.com
Wed Jun 4 19:12:11 EDT 2008


> what do people think about the idea of making the existance of established 
> TCP connections inhibit sleep?

What release are you running?  Auto-suspend isn't enabled in production releases.

Joyride should be awakened from suspend by any received unicast (TCP) packet,
so I'm not sure why you saw it hang in mid-download, if the update was one long
continuous TCP download.  But if it's rsync, maybe it's driven from the client
end (and if the client suspends, the server never sends anything further).

The real fix is to only force a suspend when the kernel knows no
process is scheduled to run now or soon, and ato waken in less than a
whole second.  We're slowly working on those issues.  If we keep
kludging things like TCP, there's never the time to put in the real fixes.

        John



More information about the Devel mailing list