Re:The Surface Book 2 is everything the MacBook Pro should be
by coldtea on Wednesday June 27, 2018 @03:44PM
(#17411180)
Sleep doesn't lose any application state.
[ Parent
| on HN ]
Re:The Surface Book 2 is everything the MacBook Pro should be
by wang_li on Wednesday June 27, 2018 @04:39PM
(#17411648)
It does if your application state happens to include TCP connections. When Windows wakes, prior to powering up the NIC hardware, it sends all applications a notice indicating that the network is down so everything kills their network connections. This happens on my hardwired desktop. It's one thing if the device can potentially be roaming and changing networks while the system is asleep. But for a wired network connection it's BS.
Re:The Surface Book 2 is everything the MacBook Pro should be
by coldtea on Thursday June 28, 2018 @05:37AM
(#17415391)
>It does if your application state happens to include TCP connections.
That's not really what's meant by state though...
Re:The Surface Book 2 is everything the MacBook Pro should be
by wang_li on Thursday June 28, 2018 @11:57AM
(#17417982)
It’s what I mean. Losing the TCP session is more or less the only thing I care about with my vpn, ssh, and occasional cifs session. A dead putty window is 98% useless.
Re:The Surface Book 2 is everything the MacBook Pro should be
by txcwpalpha on Wednesday June 27, 2018 @04:23PM
(#17411523)
Sleep isn't supposed to lose any application state, but I've certainly had many issues before with applications freaking out after waking up from sleep, on both a Mac and Windows machines. Sometimes it seems like more of an issue with the way the application handles sleep/network interruptions etc, but the end result is still the same.
Re:The Surface Book 2 is everything the MacBook Pro should be
by tomc1985 on Wednesday June 27, 2018 @05:35PM
(#17412034)
There is another comment floating around on this thread about how expecting network state to be preserved after sleep is unreasonable; when the system wakes up most likely its open connections will be stale. Might as well close them gracefully at sleep time.