If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
What's it doing behind my back?
Windows 10 Pro 1709 (16299.248)
Even when I am doing nothing on my system, my internet activity light on my router port keeps blinking merrily away. As a test, I put my system to sleep last night. After the screens went dark and the keyboard LEDs turned off, my disk activity light and the aforementioned activity light kept on for over two minutes. All my disks are set for immediate writes, so there should be little if any disk buffering to finish writing. So what is Windows doing for those two minutes that results in continuous disk activity? And yes, the internet activity light finally went out at the same time the disk activity one finally went dark. |
Ads |
#2
|
|||
|
|||
What's it doing behind my back?
Tim wrote:
I put my system to sleep [...] what is Windows doing for those two minutes that results in continuous disk activity? writing to the hiberfil.sys file? |
#3
|
|||
|
|||
What's it doing behind my back?
Andy Burns wrote:
Tim wrote: I put my system to sleep [...] what is Windows doing for those two minutes that results in continuous disk activity? writing to the hiberfil.sys file? S3 Sleep S3 Hybrid Sleep (writes to hiberfil.sys first, then sleeps) --- power safe S4 Hibernate (writes to hiberfil.sys) --- power safe From an Administrator Command Prompt powercfg /h off disables both Fast Start and removes the hibernation file, so that Hybrid Sleep and Hibernate are no longer options, and when you select Sleep, the delay for Sleep to start is a lot less. It's still not a zero delay, but there's less trailing-end-writes when you try to sleep Win10. I disable hibernate, just to reduce the size of the space taken by hiberfil.sys on SSD drives. Paul |
#4
|
|||
|
|||
What's it doing behind my back?
jetjock wrote:
On Mon, 19 Mar 2018 07:05:02 -0400, Paul wrote: Andy Burns wrote: Tim wrote: I put my system to sleep [...] what is Windows doing for those two minutes that results in continuous disk activity? writing to the hiberfil.sys file? S3 Sleep S3 Hybrid Sleep (writes to hiberfil.sys first, then sleeps) --- power safe S4 Hibernate (writes to hiberfil.sys) --- power safe From an Administrator Command Prompt powercfg /h off disables both Fast Start and removes the hibernation file, so that Hybrid Sleep and Hibernate are no longer options, and when you select Sleep, the delay for Sleep to start is a lot less. It's still not a zero delay, but there's less trailing-end-writes when you try to sleep Win10. I disable hibernate, just to reduce the size of the space taken by hiberfil.sys on SSD drives. Paul My wife's Win 10 machine does have the sleep option--only hibernate. Is there a way to get sleep back, or is there no sleep mode in Win 10? At one time, there were two tick boxes for this. https://winaero.com/blog/add-hiberna...in-windows-10/ And I just tested here, and they're still accessible. 1) To get to Control Panels, you can use Right-Click-Start : Run or you can use Cortana and try "control" there as a word to type in. 2) Then, it's Power Options in the Control Panels. 3) There is a Power Button item at the top of the left menu. Use it. 4) Below the text in the resulting window, is an option to make the "missing" buttons visible and ready-to-edit. 5) After that, tick the boxes as desired. https://s13.postimg.org/fxgyibug7/sl...er_options.gif Paul |
#5
|
|||
|
|||
What's it doing behind my back?
jetjock wrote in
: On Mon, 19 Mar 2018 07:05:02 -0400, Paul wrote: My wife's Win 10 machine does have the sleep option--only hibernate. Is there a way to get sleep back, or is there no sleep mode in Win 10? I didn't know you could make it go away. Open a command window with administrator authority powercfg /a will tell you what sleep states are available on your system. For instance, my system has Standby (S3), Hibernate, Hybrid Sleep, and Fast Startup Available. I have turned Hybernate off using the /H option. I don't see any option for making Sleep go away |
#6
|
|||
|
|||
What's it doing behind my back?
jetjock wrote:
On Mon, 19 Mar 2018 07:05:02 -0400, Paul wrote: Andy Burns wrote: Tim wrote: I put my system to sleep [...] what is Windows doing for those two minutes that results in continuous disk activity? writing to the hiberfil.sys file? S3 Sleep S3 Hybrid Sleep (writes to hiberfil.sys first, then sleeps) --- power safe S4 Hibernate (writes to hiberfil.sys) --- power safe From an Administrator Command Prompt powercfg /h off disables both Fast Start and removes the hibernation file, so that Hybrid Sleep and Hibernate are no longer options, and when you select Sleep, the delay for Sleep to start is a lot less. It's still not a zero delay, but there's less trailing-end-writes when you try to sleep Win10. I disable hibernate, just to reduce the size of the space taken by hiberfil.sys on SSD drives. Paul My wife's Win 10 machine does have the sleep option--only hibernate. Is there a way to get sleep back, or is there no sleep mode in Win 10? There are several commands you can try. First, we need a Command Prompt. If you right-click the Start Orb, there will be either an Administrator Powershell or an Administrator Command Prompt. If the Powershell happens to be the one in your menu, you can type "cmd.exe" into the Powershell window, to switch to Command Prompt syntax. I find the startup of Powershell to be a little slow, so I prefer Command Prompt in my menu, and type "powershell" into Command Prompt if I need Powershell. There is also a Settings menu which can change the right-click menu to offering Command Prompt. Using the search box in Settings may cough up the correct pane to correct the choice in your right-click Start menu. https://www.tenforums.com/tutorials/...dows-10-a.html ******* In any case, from an Administrator Command Prompt, this may tell you what is blocking sleep. Wait patiently, because it's actually doing a C-state analysis in real time, and the more static S-state information that would be ready almost immediately, you have to wait until it finished some sort of C-state stuff first. (C-states save processor electricity usage when the desktop is idle.) After 60 seconds, it should belch up the report, in your choice of locations. You are looking for messages that talk about your "S3 Sleep" problem. powercfg -energy -output %USERPROFILE%\Desktop\Energy_Report.html For example, in my Win7 in a VM setup, this is my "blocker": "System firmware (BIOS) does not support S3" A Windows 10 compatible system, isn't likely to report this, because the CPU compatibility requirements force operation with more modern motherboards, where that BIOS setting isn't there any more. (I.e. The BIOS leaves S3 enabled in the ACPI or Power settings section.) If you managed to run Windows 10 on the last model of Pentium 4 they made, you may have a BIOS with "S1 only" or "S1 & S3" choice in the BIOS Setup power section. And "S1 & S3" support is the one you want for sleep applications. This next report is mostly useless, because it reports the co-operating hardware items, not the blocker. powercfg -devicequery s3_supported That one lists lots of things that support S3 sleep, but it won't tell you about critical (i.e. real hardware) ones that are blocking sleep. And this one, if the system sleeps for ten seconds and then wakes up, this will tell you what hardware device asserted PME and woke the system. If it wakes in 10 seconds, when your hands weren't touching the keyboard or mouse, that's the NIC "wake on carrier" setting. In Device Manager, you can do Properties on the NIC, and disable all forms of waking from there. Then the system will stay asleep. powercfg -lastwake So plus or minus syntax mistakes (using "/" versus "-" in the command format), those are some ideas for tracking down the problem. In previous times, we would use "dumppo" for this kind of debugging, but I think in at least Windows 10, dumppo no longer works. And then it's powercfg /? to the rescue, in an Administrative Command Prompt. Also, I think recovery from BIOS mis-configuration is automated in Windows 10. We needed "dumppo.exe" in the past, because older OSes would "drive off into a ditch" and not recover from the BIOS mis-setting of "S1 only". Dumppo could be used to override the "poor sleeping habits" of WinXP for example. But in Windows 10, if you did have a BIOS settings problem, once the BIOS is corrected and you boot, your sleep problem should then be solved. The powercfg energy report would then no longer show: "System firmware (BIOS) does not support S3" as my little sample setup did. HTH, Paul |
#7
|
|||
|
|||
What's it doing behind my back?
jetjock wrote:
On Tue, 20 Mar 2018 00:17:36 GMT, Tim wrote: jetjock wrote in : On Mon, 19 Mar 2018 07:05:02 -0400, Paul wrote: My wife's Win 10 machine does have the sleep option--only hibernate. Is there a way to get sleep back, or is there no sleep mode in Win 10? I didn't know you could make it go away. Open a command window with administrator authority powercfg /a will tell you what sleep states are available on your system. For instance, my system has Standby (S3), Hibernate, Hybrid Sleep, and Fast Startup Available. I have turned Hybernate off using the /H option. I don't see any option for making Sleep go away Here is what I have found so far. I turned off Classic Start and with it off, the shut down menu had Sign Out, Sleep, Shut Down and Restart options. With Classic Shell in use, the options are, Switch User, Log Off, Lock, Restart and Hibernate. I use Classic Start on my Win 8 Dell Laptop also, and the menu on it has, Switch User, Log Off, Lock, Restart, Sleep and Hibernate. Don't know if this is a Win 8 vs Win 10 thing or not, but will check the respective .ini files for differences. I used powercfg /a and found: C:\WINDOWS\system32powercfg /a The following sleep states are available on this system: Standby (S0 Low Power Idle) Network Connected Hibernate Fast Startup The following sleep states are not available on this system: Standby (S1) The system firmware does not support this standby state. This standby state is disabled when S0 low power idle is supported. Standby (S2) The system firmware does not support this standby state. This standby state is disabled when S0 low power idle is supported. Standby (S3) The system firmware does not support this standby state. This standby state is disabled when S0 low power idle is supported. Hybrid Sleep Standby (S3) is not available. I hope this clarifies things, but I'm afraid it doesn't mean much to me. Although, since the problem appears to be with Classic Start, I'll dig deeper into that and see what I can find. Thanks for the help so far. Let me know if any of you have more suggestions. Can you get to the BIOS Setup screen ? The things that are turned off, don't appear "normal". Sometimes S3 gets turned off, by itself. But all three items shouldn't be listed that way - it almost implies ACPI is broken, and we know that isn't true, because you've still got a working Hibernate (Hibernate is ACPI S4). Maybe something at the OS level could break those, but that pattern doesn't really look like a BIOS issue. BIOS controls include one labeled as "Power Options" or similar. You might see the word ACPI there. And choices of "S1" or "S1 & S3" for supported system firmware states. The end result would be, that S1 would always run. And yet your report shows S1 suspend is disabled somehow. The BIOS also includes things like EIST (Intel SpeedStep), as well as some C-state controls. I don't think the C-state stuff affects Sleep. Sleep is ACPI S3 state. Paul |
#8
|
|||
|
|||
What's it doing behind my back?
jetjock wrote:
Here is what I have found so far. I turned off Classic Start and with it off, the shut down menu had Sign Out, Sleep, Shut Down and Restart options. With Classic Shell in use, the options are, Switch User, Log Off, Lock, Restart and Hibernate. It's a long time since I used classic shell, but can't you do something like press ctrl (or alt, or shift maybe?) while clicking start to get the real start menu, and just use that when you want to sleep? |
#9
|
|||
|
|||
What's it doing behind my back?
jetjock wrote:
On Tue, 20 Mar 2018 15:13:22 -0500, jetjock wrote: On Tue, 20 Mar 2018 14:50:08 -0400, Paul wrote: jetjock wrote: On Tue, 20 Mar 2018 00:17:36 GMT, Tim wrote: jetjock wrote in : On Mon, 19 Mar 2018 07:05:02 -0400, Paul wrote: My wife's Win 10 machine does have the sleep option--only hibernate. Is there a way to get sleep back, or is there no sleep mode in Win 10? I didn't know you could make it go away. Open a command window with administrator authority powercfg /a will tell you what sleep states are available on your system. For instance, my system has Standby (S3), Hibernate, Hybrid Sleep, and Fast Startup Available. I have turned Hybernate off using the /H option. I don't see any option for making Sleep go away Here is what I have found so far. I turned off Classic Start and with it off, the shut down menu had Sign Out, Sleep, Shut Down and Restart options. With Classic Shell in use, the options are, Switch User, Log Off, Lock, Restart and Hibernate. I use Classic Start on my Win 8 Dell Laptop also, and the menu on it has, Switch User, Log Off, Lock, Restart, Sleep and Hibernate. Don't know if this is a Win 8 vs Win 10 thing or not, but will check the respective .ini files for differences. I used powercfg /a and found: C:\WINDOWS\system32powercfg /a The following sleep states are available on this system: Standby (S0 Low Power Idle) Network Connected Hibernate Fast Startup The following sleep states are not available on this system: Standby (S1) The system firmware does not support this standby state. This standby state is disabled when S0 low power idle is supported. Standby (S2) The system firmware does not support this standby state. This standby state is disabled when S0 low power idle is supported. Standby (S3) The system firmware does not support this standby state. This standby state is disabled when S0 low power idle is supported. Hybrid Sleep Standby (S3) is not available. I hope this clarifies things, but I'm afraid it doesn't mean much to me. Although, since the problem appears to be with Classic Start, I'll dig deeper into that and see what I can find. Thanks for the help so far. Let me know if any of you have more suggestions. Can you get to the BIOS Setup screen ? The things that are turned off, don't appear "normal". Sometimes S3 gets turned off, by itself. But all three items shouldn't be listed that way - it almost implies ACPI is broken, and we know that isn't true, because you've still got a working Hibernate (Hibernate is ACPI S4). Maybe something at the OS level could break those, but that pattern doesn't really look like a BIOS issue. BIOS controls include one labeled as "Power Options" or similar. You might see the word ACPI there. And choices of "S1" or "S1 & S3" for supported system firmware states. The end result would be, that S1 would always run. And yet your report shows S1 suspend is disabled somehow. The BIOS also includes things like EIST (Intel SpeedStep), as well as some C-state controls. I don't think the C-state stuff affects Sleep. Sleep is ACPI S3 state. Paul I tried a couple options (Del, F-2, F-10) with no luck. Will try Duckduckgo to see if I can find a way in. Thanks Here is what I found. https://surfacetip.com/configuring-s...bios-settings/ None of the settings here that I can find say anything about changing ACPI states. Closest I could find was "Secure Boot", but there really wasn't anything there. I'm stumped! That's OK. This article says look for another graphics driver, as if the graphics driver is the "blocker". http://www.classicshell.net/forum/vi...php?f=7&t=7547 Windows has an "in-box" graphics driver that came from the manufacturer, but some of those have had egregious bugs. For example, I have a system here, where the OS driver only makes "half" of the graphics card work. Downloading a driver from the hardware manufacturer, makes the *whole* card work :-) Of course, you have to figure out who made the graphics, and which driver to use as a consequence. Particularly nasty are Optimus graphics, an Intel GPU for low power states, an NVidia GPU for gaming, and the driver switches between them as required. I hope it's not one of those (I don't own one, so have no hand-on experience with it). You can start by checking the Support web page for your product, and seeing what graphics drivers are offered. In some cases, on sufficiently custom equipment, those are the only drivers you can get. Sometimes the formulation of the driver, tells you who made it, and maybe you can then figure out an alternate sources. If you know of a web forum where disgruntled owners meet, you might get some info on graphics drivers there. As in "what is the best driver". I've successfully used information in the past like that, a couple of times. Some people chatted up a certain WHQL certified driver for my hardware, and they were right. The driver worked, didn't crash, and generally left me happy. On average, when you do your own computer maintenance, you will test around three video drivers, until happy. One ATI card I bought, the driver in the box, on the CD, caused an immediate crash. When that happens, you know you're going to use up your "average of three test drivers" pretty fast :-) Paul |
#10
|
|||
|
|||
What's it doing behind my back?
jetjock wrote:
On Tue, 20 Mar 2018 00:39:55 -0400, Paul wrote: jetjock wrote: On Mon, 19 Mar 2018 07:05:02 -0400, Paul wrote: Andy Burns wrote: Tim wrote: I put my system to sleep [...] what is Windows doing for those two minutes that results in continuous disk activity? writing to the hiberfil.sys file? S3 Sleep S3 Hybrid Sleep (writes to hiberfil.sys first, then sleeps) --- power safe S4 Hibernate (writes to hiberfil.sys) --- power safe From an Administrator Command Prompt powercfg /h off disables both Fast Start and removes the hibernation file, so that Hybrid Sleep and Hibernate are no longer options, and when you select Sleep, the delay for Sleep to start is a lot less. It's still not a zero delay, but there's less trailing-end-writes when you try to sleep Win10. I disable hibernate, just to reduce the size of the space taken by hiberfil.sys on SSD drives. Paul My wife's Win 10 machine does have the sleep option--only hibernate. Is there a way to get sleep back, or is there no sleep mode in Win 10? There are several commands you can try. First, we need a Command Prompt. If you right-click the Start Orb, there will be either an Administrator Powershell or an Administrator Command Prompt. If the Powershell happens to be the one in your menu, you can type "cmd.exe" into the Powershell window, to switch to Command Prompt syntax. I find the startup of Powershell to be a little slow, so I prefer Command Prompt in my menu, and type "powershell" into Command Prompt if I need Powershell. There is also a Settings menu which can change the right-click menu to offering Command Prompt. Using the search box in Settings may cough up the correct pane to correct the choice in your right-click Start menu. https://www.tenforums.com/tutorials/...dows-10-a.html ******* In any case, from an Administrator Command Prompt, this may tell you what is blocking sleep. Wait patiently, because it's actually doing a C-state analysis in real time, and the more static S-state information that would be ready almost immediately, you have to wait until it finished some sort of C-state stuff first. (C-states save processor electricity usage when the desktop is idle.) After 60 seconds, it should belch up the report, in your choice of locations. You are looking for messages that talk about your "S3 Sleep" problem. powercfg -energy -output %USERPROFILE%\Desktop\Energy_Report.html Since I'm getting nowhere fast in my searches for changes supported sleep states in Win 10, I decided to run powercfg -energy. Here is the report: Power Efficiency Diagnostics Report Computer Name (removed by me) Scan Time 2018-03-20T21:13:02Z Scan Duration 60 seconds System Manufacturer Microsoft Corporation System Product Name Surface Pro BIOS Date 06/09/2017 BIOS Version 231.1737.770 OS Build 16299 Platform Role PlatformRoleSlate Plugged In false Process Count 141 Thread Count 1876 Report GUID {8acdaebe-d3ec-448c-b13f-01de77a1d7e4} Analysis Results Errors Power Policy:Sleep timeout is disabled (Plugged In) The computer is not configured to automatically sleep after a period of inactivity. Warnings USB Suspend:USB Device Rarely Entering Selective Suspend This device intermittently entered the USB Selective Suspend state during the trace. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping. Device Name USB Input Device Host Controller ID (removed by me) Host Controller Location PCI bus 0, device 20, function 0 Device ID (removed by me) Port Path 7 Time Suspended (%) 46 Platform Power Management Capabilities:Wireless access point does not support WMM Power Save The wireless access point the computer is connected to does not support WMM Power Save Mode. The wireless network adapter cannot enter Power Save mode to save energy as defined in Wireless Adapter Power Policy. SSID (removed by me) MAC Address (removed by me) Information Platform Timer Resolution:Platform Timer Resolution The default platform timer resolution is 15.6ms (15625000ns) and should be used whenever the system is idle. If the timer resolution is increased, processor power management technologies may not be effective. The timer resolution may be increased due to multimedia playback or graphical animations. Current Timer Resolution (100ns units) 156268 Power Policy:Active Power Plan The current power plan in use Plan Name OEM Balanced Plan GUID {381b4222-f694-41f0-9685-ff5bb260df2e} Power Policy:Power Plan Personality (On Battery) The personality of the current power plan when the system is on battery power. Personality Balanced Power Policy:Video Quality (On Battery) Enables Windows Media Player to optimize for quality or power savings when playing video. Quality Mode Balance Video Quality and Power Savings Power Policy:Power Plan Personality (Plugged In) The personality of the current power plan when the system is plugged in. Personality Balanced Power Policy:802.11 Radio Power Policy is Maximum Performance (Plugged In) The current power policy for 802.11-compatible wireless network adapters is not configured to use low-power modes. Power Policy:Video quality (Plugged In) Enables Windows Media Player to optimize for quality or power savings when playing video. Quality Mode Optimize for Video Quality System Availability Requests:Analysis Success Analysis was successful. No energy efficiency problems were found. No information was returned. CPU Utilization:Processor utilization is low The average processor utilization during the trace was very low. The system will consume less power when the average processor utilization is very low. Average Utilization (%) 1.94 Battery:Battery Information Battery ID 0326944724DYNM1009168 Manufacturer DYN Serial Number (removed by me) Chemistry LION Long Term 1 Sealed 0 Cycle Count 7 Design Capacity 45000 Last Full Charge 47510 Platform Power Management Capabilities:Supported Sleep States Sleep states allow the computer to enter low-power modes after a period of inactivity. The S3 sleep state is the default sleep state for Windows platforms. The S3 sleep state consumes only enough power to preserve memory contents and allow the computer to resume working quickly. Very few platforms support the S1 or S2 Sleep states. S1 Sleep Supported false S2 Sleep Supported false S3 Sleep Supported false S4 Sleep Supported true Platform Power Management Capabilities:Connected Standby Support Connected standby allows the computer to enter a low-power mode in which it is always on and connected. If supported, connected standby is used instead of system sleep states. Connected Standby Supported true Platform Power Management Capabilities:Adaptive Display Brightness is supported. This computer enables Windows to automatically control the brightness of the integrated display. Platform Power Management Capabilities:Processor Power Management Capabilities Effective processor power management enables the computer to automatically balance performance and energy consumption. Group 0 Index 0 Idle State Count 11 Idle State Type Micro Power Engine Plugin Nominal Frequency (MHz) 2712 Maximum Performance Percentage 129 Lowest Performance Percentage 33 Lowest Throttle Percentage 3 Performance Controls Type ACPI Collaborative Processor Performance Control Platform Power Management Capabilities:Processor Power Management Capabilities Effective processor power management enables the computer to automatically balance performance and energy consumption. Group 0 Index 1 Idle State Count 11 Idle State Type Micro Power Engine Plugin Nominal Frequency (MHz) 2712 Maximum Performance Percentage 129 Lowest Performance Percentage 33 Lowest Throttle Percentage 3 Performance Controls Type ACPI Collaborative Processor Performance Control Platform Power Management Capabilities:Processor Power Management Capabilities Effective processor power management enables the computer to automatically balance performance and energy consumption. Group 0 Index 2 Idle State Count 11 Idle State Type Micro Power Engine Plugin Nominal Frequency (MHz) 2712 Maximum Performance Percentage 129 Lowest Performance Percentage 33 Lowest Throttle Percentage 3 Performance Controls Type ACPI Collaborative Processor Performance Control Platform Power Management Capabilities:Processor Power Management Capabilities Effective processor power management enables the computer to automatically balance performance and energy consumption. Group 0 Index 3 Idle State Count 11 Idle State Type Micro Power Engine Plugin Nominal Frequency (MHz) 2712 Maximum Performance Percentage 129 Lowest Performance Percentage 33 Lowest Throttle Percentage 3 Performance Controls Type ACPI Collaborative Processor Performance Control Device Drivers:Analysis Success Analysis was successful. No energy efficiency problems were found. No information was returned. For example, in my Win7 in a VM setup, this is my "blocker": "System firmware (BIOS) does not support S3" A Windows 10 compatible system, isn't likely to report this, because the CPU compatibility requirements force operation with more modern motherboards, where that BIOS setting isn't there any more. (I.e. The BIOS leaves S3 enabled in the ACPI or Power settings section.) If you managed to run Windows 10 on the last model of Pentium 4 they made, you may have a BIOS with "S1 only" or "S1 & S3" choice in the BIOS Setup power section. And "S1 & S3" support is the one you want for sleep applications. This next report is mostly useless, because it reports the co-operating hardware items, not the blocker. powercfg -devicequery s3_supported That one lists lots of things that support S3 sleep, but it won't tell you about critical (i.e. real hardware) ones that are blocking sleep. And this one, if the system sleeps for ten seconds and then wakes up, this will tell you what hardware device asserted PME and woke the system. If it wakes in 10 seconds, when your hands weren't touching the keyboard or mouse, that's the NIC "wake on carrier" setting. In Device Manager, you can do Properties on the NIC, and disable all forms of waking from there. Then the system will stay asleep. powercfg -lastwake So plus or minus syntax mistakes (using "/" versus "-" in the command format), those are some ideas for tracking down the problem. In previous times, we would use "dumppo" for this kind of debugging, but I think in at least Windows 10, dumppo no longer works. And then it's powercfg /? to the rescue, in an Administrative Command Prompt. Also, I think recovery from BIOS mis-configuration is automated in Windows 10. We needed "dumppo.exe" in the past, because older OSes would "drive off into a ditch" and not recover from the BIOS mis-setting of "S1 only". Dumppo could be used to override the "poor sleeping habits" of WinXP for example. But in Windows 10, if you did have a BIOS settings problem, once the BIOS is corrected and you boot, your sleep problem should then be solved. The powercfg energy report would then no longer show: "System firmware (BIOS) does not support S3" as my little sample setup did. HTH, Paul Nothing in your log looks promising. Nothing sticks out like a sore thumb as it were. By any chance, is your machine one of these ? It seems MSFT drank too much Intel Koolaid. https://www.thurrott.com/mobile/micr...sleep-problems Paul |
#11
|
|||
|
|||
What's it doing behind my back?
In alt.comp.os.windows-10, on Mon, 19 Mar 2018 11:58:03 -0500, jetjock
wrote: On Mon, 19 Mar 2018 07:05:02 -0400, Paul wrote: Andy Burns wrote: Tim wrote: I put my system to sleep [...] what is Windows doing for those two minutes that results in continuous disk activity? writing to the hiberfil.sys file? S3 Sleep S3 Hybrid Sleep (writes to hiberfil.sys first, then sleeps) --- power safe S4 Hibernate (writes to hiberfil.sys) --- power safe From an Administrator Command Prompt powercfg /h off disables both Fast Start and removes the hibernation file, so that Hybrid Sleep and Hibernate are no longer options, and when you select Sleep, the delay for Sleep to start is a lot less. It's still not a zero delay, but there's less trailing-end-writes when you try to sleep Win10. I disable hibernate, just to reduce the size of the space taken by hiberfil.sys on SSD drives. Paul My wife's Win 10 machine does have the sleep option--only hibernate. Is there a way to get sleep back, or is there no sleep mode in Win 10? I don't know about your wife, but on my win7 laptop, Hibernate disappeared one day, even shutting the lid is still set to hibernate and it does. But it's not in the list that shows when you click on Start. So maybe you can get shutting the lid or pushing the power button to sleep it. Of course you need the power button for turning it off when it won't turn off. |
#12
|
|||
|
|||
What's it doing behind my back?
jetjock wrote:
On Tue, 20 Mar 2018 19:28:46 -0400, Paul wrote: jetjock wrote: On Tue, 20 Mar 2018 00:39:55 -0400, Paul wrote: jetjock wrote: On Mon, 19 Mar 2018 07:05:02 -0400, Paul wrote: Andy Burns wrote: Tim wrote: I put my system to sleep [...] what is Windows doing for those two minutes that results in continuous disk activity? writing to the hiberfil.sys file? S3 Sleep S3 Hybrid Sleep (writes to hiberfil.sys first, then sleeps) --- power safe S4 Hibernate (writes to hiberfil.sys) --- power safe From an Administrator Command Prompt powercfg /h off disables both Fast Start and removes the hibernation file, so that Hybrid Sleep and Hibernate are no longer options, and when you select Sleep, the delay for Sleep to start is a lot less. It's still not a zero delay, but there's less trailing-end-writes when you try to sleep Win10. I disable hibernate, just to reduce the size of the space taken by hiberfil.sys on SSD drives. Paul My wife's Win 10 machine does have the sleep option--only hibernate. Is there a way to get sleep back, or is there no sleep mode in Win 10? There are several commands you can try. First, we need a Command Prompt. If you right-click the Start Orb, there will be either an Administrator Powershell or an Administrator Command Prompt. If the Powershell happens to be the one in your menu, you can type "cmd.exe" into the Powershell window, to switch to Command Prompt syntax. I find the startup of Powershell to be a little slow, so I prefer Command Prompt in my menu, and type "powershell" into Command Prompt if I need Powershell. There is also a Settings menu which can change the right-click menu to offering Command Prompt. Using the search box in Settings may cough up the correct pane to correct the choice in your right-click Start menu. https://www.tenforums.com/tutorials/...dows-10-a.html ******* In any case, from an Administrator Command Prompt, this may tell you what is blocking sleep. Wait patiently, because it's actually doing a C-state analysis in real time, and the more static S-state information that would be ready almost immediately, you have to wait until it finished some sort of C-state stuff first. (C-states save processor electricity usage when the desktop is idle.) After 60 seconds, it should belch up the report, in your choice of locations. You are looking for messages that talk about your "S3 Sleep" problem. powercfg -energy -output %USERPROFILE%\Desktop\Energy_Report.html Since I'm getting nowhere fast in my searches for changes supported sleep states in Win 10, I decided to run powercfg -energy. Here is the report: Power Efficiency Diagnostics Report Computer Name (removed by me) Scan Time 2018-03-20T21:13:02Z Scan Duration 60 seconds System Manufacturer Microsoft Corporation System Product Name Surface Pro BIOS Date 06/09/2017 BIOS Version 231.1737.770 OS Build 16299 Platform Role PlatformRoleSlate Plugged In false Process Count 141 Thread Count 1876 Report GUID {8acdaebe-d3ec-448c-b13f-01de77a1d7e4} Analysis Results Errors Power Policy:Sleep timeout is disabled (Plugged In) The computer is not configured to automatically sleep after a period of inactivity. Warnings USB Suspend:USB Device Rarely Entering Selective Suspend This device intermittently entered the USB Selective Suspend state during the trace. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping. Device Name USB Input Device Host Controller ID (removed by me) Host Controller Location PCI bus 0, device 20, function 0 Device ID (removed by me) Port Path 7 Time Suspended (%) 46 Platform Power Management Capabilities:Wireless access point does not support WMM Power Save The wireless access point the computer is connected to does not support WMM Power Save Mode. The wireless network adapter cannot enter Power Save mode to save energy as defined in Wireless Adapter Power Policy. SSID (removed by me) MAC Address (removed by me) Information Platform Timer Resolution:Platform Timer Resolution The default platform timer resolution is 15.6ms (15625000ns) and should be used whenever the system is idle. If the timer resolution is increased, processor power management technologies may not be effective. The timer resolution may be increased due to multimedia playback or graphical animations. Current Timer Resolution (100ns units) 156268 Power Policy:Active Power Plan The current power plan in use Plan Name OEM Balanced Plan GUID {381b4222-f694-41f0-9685-ff5bb260df2e} Power Policy:Power Plan Personality (On Battery) The personality of the current power plan when the system is on battery power. Personality Balanced Power Policy:Video Quality (On Battery) Enables Windows Media Player to optimize for quality or power savings when playing video. Quality Mode Balance Video Quality and Power Savings Power Policy:Power Plan Personality (Plugged In) The personality of the current power plan when the system is plugged in. Personality Balanced Power Policy:802.11 Radio Power Policy is Maximum Performance (Plugged In) The current power policy for 802.11-compatible wireless network adapters is not configured to use low-power modes. Power Policy:Video quality (Plugged In) Enables Windows Media Player to optimize for quality or power savings when playing video. Quality Mode Optimize for Video Quality System Availability Requests:Analysis Success Analysis was successful. No energy efficiency problems were found. No information was returned. CPU Utilization:Processor utilization is low The average processor utilization during the trace was very low. The system will consume less power when the average processor utilization is very low. Average Utilization (%) 1.94 Battery:Battery Information Battery ID 0326944724DYNM1009168 Manufacturer DYN Serial Number (removed by me) Chemistry LION Long Term 1 Sealed 0 Cycle Count 7 Design Capacity 45000 Last Full Charge 47510 Platform Power Management Capabilities:Supported Sleep States Sleep states allow the computer to enter low-power modes after a period of inactivity. The S3 sleep state is the default sleep state for Windows platforms. The S3 sleep state consumes only enough power to preserve memory contents and allow the computer to resume working quickly. Very few platforms support the S1 or S2 Sleep states. S1 Sleep Supported false S2 Sleep Supported false S3 Sleep Supported false S4 Sleep Supported true Platform Power Management Capabilities:Connected Standby Support Connected standby allows the computer to enter a low-power mode in which it is always on and connected. If supported, connected standby is used instead of system sleep states. Connected Standby Supported true Platform Power Management Capabilities:Adaptive Display Brightness is supported. This computer enables Windows to automatically control the brightness of the integrated display. Platform Power Management Capabilities:Processor Power Management Capabilities Effective processor power management enables the computer to automatically balance performance and energy consumption. Group 0 Index 0 Idle State Count 11 Idle State Type Micro Power Engine Plugin Nominal Frequency (MHz) 2712 Maximum Performance Percentage 129 Lowest Performance Percentage 33 Lowest Throttle Percentage 3 Performance Controls Type ACPI Collaborative Processor Performance Control Platform Power Management Capabilities:Processor Power Management Capabilities Effective processor power management enables the computer to automatically balance performance and energy consumption. Group 0 Index 1 Idle State Count 11 Idle State Type Micro Power Engine Plugin Nominal Frequency (MHz) 2712 Maximum Performance Percentage 129 Lowest Performance Percentage 33 Lowest Throttle Percentage 3 Performance Controls Type ACPI Collaborative Processor Performance Control Platform Power Management Capabilities:Processor Power Management Capabilities Effective processor power management enables the computer to automatically balance performance and energy consumption. Group 0 Index 2 Idle State Count 11 Idle State Type Micro Power Engine Plugin Nominal Frequency (MHz) 2712 Maximum Performance Percentage 129 Lowest Performance Percentage 33 Lowest Throttle Percentage 3 Performance Controls Type ACPI Collaborative Processor Performance Control Platform Power Management Capabilities:Processor Power Management Capabilities Effective processor power management enables the computer to automatically balance performance and energy consumption. Group 0 Index 3 Idle State Count 11 Idle State Type Micro Power Engine Plugin Nominal Frequency (MHz) 2712 Maximum Performance Percentage 129 Lowest Performance Percentage 33 Lowest Throttle Percentage 3 Performance Controls Type ACPI Collaborative Processor Performance Control Device Drivers:Analysis Success Analysis was successful. No energy efficiency problems were found. No information was returned. For example, in my Win7 in a VM setup, this is my "blocker": "System firmware (BIOS) does not support S3" A Windows 10 compatible system, isn't likely to report this, because the CPU compatibility requirements force operation with more modern motherboards, where that BIOS setting isn't there any more. (I.e. The BIOS leaves S3 enabled in the ACPI or Power settings section.) If you managed to run Windows 10 on the last model of Pentium 4 they made, you may have a BIOS with "S1 only" or "S1 & S3" choice in the BIOS Setup power section. And "S1 & S3" support is the one you want for sleep applications. This next report is mostly useless, because it reports the co-operating hardware items, not the blocker. powercfg -devicequery s3_supported That one lists lots of things that support S3 sleep, but it won't tell you about critical (i.e. real hardware) ones that are blocking sleep. And this one, if the system sleeps for ten seconds and then wakes up, this will tell you what hardware device asserted PME and woke the system. If it wakes in 10 seconds, when your hands weren't touching the keyboard or mouse, that's the NIC "wake on carrier" setting. In Device Manager, you can do Properties on the NIC, and disable all forms of waking from there. Then the system will stay asleep. powercfg -lastwake So plus or minus syntax mistakes (using "/" versus "-" in the command format), those are some ideas for tracking down the problem. In previous times, we would use "dumppo" for this kind of debugging, but I think in at least Windows 10, dumppo no longer works. And then it's powercfg /? to the rescue, in an Administrative Command Prompt. Also, I think recovery from BIOS mis-configuration is automated in Windows 10. We needed "dumppo.exe" in the past, because older OSes would "drive off into a ditch" and not recover from the BIOS mis-setting of "S1 only". Dumppo could be used to override the "poor sleeping habits" of WinXP for example. But in Windows 10, if you did have a BIOS settings problem, once the BIOS is corrected and you boot, your sleep problem should then be solved. The powercfg energy report would then no longer show: "System firmware (BIOS) does not support S3" as my little sample setup did. HTH, Paul Nothing in your log looks promising. Nothing sticks out like a sore thumb as it were. By any chance, is your machine one of these ? It seems MSFT drank too much Intel Koolaid. https://www.thurrott.com/mobile/micr...sleep-problems Paul I ran CPU-Z and it shows a Kaby Lake-U/Y CPU Intel Core i5 7300U, Not a Skylake as in the article. However, powercfg /a reported the same thing as the article. (See my post of the 20th at 11:44. I tried disabling Classic Start and hitting Sleep from the Win 10 shut down menu and nothing happened. It's as powercfg reports, none of the "S" states are available except S0. Since there doesn't appear to any way to make any useful changes to the BIOS in Win 10, it would appear that I'm stuck. I really appreciate all your help, thanks! I'll watch for any further suggestions you may have. https://superuser.com/questions/1017...p-mode/1017580 Answered Dec 24 '15 at 15:12 by Bob According to Microsoft: Systems that support Modern Standby do not use S1-S3. [No reason for Sleep in the menu???] That's what the S0ix is partly for. The S0 means it's awake in some sense, but the thing doesn't use much power when in that state. And the part I don't get, is what controls the screen backlight and screen presentation ? Maybe the ACPI subsystem is still running and keeping state info, and S1-S3 would cause the screen to go black ? Independent of the S0ix keeping the machine Always Connected. Paul |
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|