Solved

Auto Shutdown


Badge +1

Is there anyway to have Shadow go into hibernation instead of shutting down automatically?

Right now, when I have a game paused for more than 30 minutes, it shuts down and I lose all my progress.  Is there a solution to this?

icon

Best answer by astrocling 17 June 2020, 01:52

View original

24 replies

Userlevel 1
Badge +1

As I understand it, the reason Shadow shuts down is because of GPU allocation. You get a dedicated GPU on your Shadow VM. Shutting down allows them to reallocate that GPU to a new instance and give another customer the chance to play when someone else isn’t entirely active on their instance and triggers the 30 min shutdown.

Badge +1

Oh I know the reason.  I just wish the PC would go into hibernation instead of shutdown.

Userlevel 1
Badge

Oh I know the reason.  I just wish the PC would go into hibernation instead of shutdown.

I actually cancelled my subscription due to this.

 

Return of hibernation and some sort of remote desktop solution ( Chrome extension! ) since I really don’t need the streaming client anyway could make me come back.

Userlevel 2
Badge +4

Hello, things will revert back to normal soon. Just give it some time. A Mod spoke about this and here’s an article about the Shutdown.

https://help.shadow.tech/hc/en-gb/articles/360011461259-About-Automatic-Shutdown-and-Shadow

Virulent-Pip:

The idle timer pre-covid-19 was 2 and half hours, more than fair and yes Covid-19 had had a massive impact on the datacentre, mainly everyone using it and exceeding power limits. Which is detailed via the post above. Hopefully one day soon the timer will go back to how it was and everything will back to normal. 

Badge +1

Hello, things will revert back to normal soon. Just give it some time. A Mod spoke about this and here’s an article about the Shutdown.

https://help.shadow.tech/hc/en-gb/articles/360011461259-About-Automatic-Shutdown-and-Shadow

Virulent-Pip:

The idle timer pre-covid-19 was 2 and half hours, more than fair and yes Covid-19 had had a massive impact on the datacentre, mainly everyone using it and exceeding power limits. Which is detailed via the post above. Hopefully one day soon the timer will go back to how it was and everything will back to normal. 

 

Yes, I saw that, but that doesn’t answer my question...

Userlevel 3
Badge +4

Yes, I saw that, but that doesn’t answer my question...

Shutting down instead of suspending is also a symptom of strained resources.

Badge +1

Yes, I saw that, but that doesn’t answer my question...

Shutting down instead of suspending is also a symptom of strained resources.

I don’t see any mention about suspension/hibernation.  Why would a lack of resources affect hibernation anyway?

Userlevel 2
Badge +2

Because in hibernation it will still consume power and utilize the components on the blade that your shadow is on.  The idea behind the shutdown is to free up those resources and reduce unnecessary power consumption.

Badge

Shadow, as well as all other virtual machines are not islands. Your shadow is running in tandem with other shadows in their server cluster so the host system does not shut down per se.

I suppose that with some work and Microsoft’s help Shadow might be able to have a custom windows VM solution that can pass the internal “please dump my ram” and hardware interrupt calls that hibernation uses to their VM Management solution, but without their help it would be a very VERY buggy affair. Say your Shadow’s ram dump is bad… you try to start up, and it crashes… but unlike a standard computer that could just restart, the VM might reload the bad image, forever stuck until you have support clear it… possibly making you loose your shadow’s data in the process. It sucks but there is a reason why Microsoft forces Win10 VMs to have Hibernation disabled by default.

https://social.technet.microsoft.com/Forums/lync/en-US/a386847a-87bf-491a-a489-10a882b10891/sleephibernate-on-virtual-machines?forum=winserverhyperv

Is it possible? Sure… Amazon has Hibernation enabled for certain very particular windows server configs, but they also own their own datacenters, and have had custom hardware and software built. They have a massively distributed architecture and more money than Microsoft. That and they only JUST got the ability to do this at the end of last year. It’s possible but expensive and hard. 

Userlevel 2
Badge +2

In theory that is strong but we’re talking about a problem that manifested quickly and should be temporary. This is a pandemic and unfortunately sacrifices come with that. 
 

And don’t forget when you’re not using your vm someone else uses that hardware. There are some regions that are running out of slots during peak times and shutting down shadows that are dormant open them up for other users to play. 

Badge

In theory that is strong but we’re talking about a problem that manifested quickly and should be temporary. This is a pandemic and unfortunately sacrifices come with that. 

Exactly. When this is all over, this wont be a problem. There is no point in them going through a ton of work to get a feature implemented that will be used for all of 4 seconds.

Userlevel 5
Badge +4

Just for clarification here...hibernation saves the state of the VM to the hard drive, and consumes zero resources (aside from the storage, which is already dedicated to you). There is a difference between hibernation and sleep mode...just wanted to set the record straight.

Userlevel 2
Badge +2

 

Just for clarification here...hibernation saves the state of the VM to the hard drive, and consumes zero resources (aside from the storage, which is already dedicated to you). There is a difference between hibernation and sleep mode...just wanted to set the record straight.

I’m pretty sure that is backwards.  Sleep mode saves to disk and hibernation saves to RAM.  I could be wrong, but hibernation is the quicker restore of the two options because it comes out of RAM.

Userlevel 5
Badge +4

 

Just for clarification here...hibernation saves the state of the VM to the hard drive, and consumes zero resources (aside from the storage, which is already dedicated to you). There is a difference between hibernation and sleep mode...just wanted to set the record straight.

I’m pretty sure that is backwards.  Sleep mode saves to disk and hibernation saves to RAM.  I could be wrong, but hibernation is the quicker restore of the two options because it comes out of RAM.


No, you have it backwards. Coming out of sleep is the faster restore. Hibernation saves to disk...that’s what the hibernation file is for (similar to a paging file).

 

Despite this, though...implementing hibernation support on the Shadow VMs probably wouldn’t be a good idea, because then everyone would do it, and the VMs might not get rebooted for extended periods (except to apply updates and such)...plus there are some functions the Shadow software does to capture information during shutdown (iirc).

Badge +1

I’m pretty sure Shadow USED to have hibernation support.  So it’s not a question of ‘if’ it’s a question of ‘why’.  I’m not asking for Shadow to never shutdown, I’d just like it to give me some time to do it myself.

 

Going into automatic hibernation after 30 minutes is fine.  But once in hibernation, give me at least a few hours to come back or else it shuts down completely.

Badge

Hibernate doesn’t use any resources other than the page file when off, so that can’t be the issue.     Sleep/Suspend is when you are saving to RAM, and there are varying degrees of how “deep” of a sleep a system can go into.  

Modern Windows has a hybrid mode where it writes the hibernation file but then tries to sleep.  So if the system does turn off completely it will still resume. 

The only thing I can think of is that we don’t always end up on the exact same hardware config each time (sometimes obvious from the CPU models changing), which might cause problems when waking.

Userlevel 6
Badge +7

I’m pretty sure Shadow USED to have hibernation support.  So it’s not a question of ‘if’ it’s a question of ‘why’.  I’m not asking for Shadow to never shutdown, I’d just like it to give me some time to do it myself.

 

Going into automatic hibernation after 30 minutes is fine.  But once in hibernation, give me at least a few hours to come back or else it shuts down completely.

Unfortunately, when Shadow is in hibernation, it would be almost the same as it is if it was online since the hardware cant be released for other users to use. 

Badge +1

I’m pretty sure Shadow USED to have hibernation support.  So it’s not a question of ‘if’ it’s a question of ‘why’.  I’m not asking for Shadow to never shutdown, I’d just like it to give me some time to do it myself.

 

Going into automatic hibernation after 30 minutes is fine.  But once in hibernation, give me at least a few hours to come back or else it shuts down completely.

Unfortunately, when Shadow is in hibernation, it would be almost the same as it is if it was online since the hardware cant be released for other users to use. 

We’re all not sharing hard drive space, so it’s not like that can be released to other users…  As long as the hibernation file fits in our 250gigs, then there should not be an issue.

Userlevel 6
Badge +7

@CoolTommy But as far as I know hibernation still holds on to the other hardware? Unless it doesn't work like that anymore.. In which case what would be its use? :sweat_smile:

I thought it would supposed to be in order to faster start up where you left off, since all the hardware is there and everything. How would the way it works be better than just, shutting down? :o

Badge +1

It’s the same thing as putting your computer to sleep.  But when it goes to sleep, it needs power to hold your session in RAM.  Hibernation holds your session on the hard drive and doesn’t need power.

Userlevel 6
Badge +7

It’s the same thing as putting your computer to sleep.  But when it goes to sleep, it needs power to hold your session in RAM.  Hibernation holds your session on the hard drive and doesn’t need power.

Yes but, how is this different than having your computer remember what was open/open everything that was open before shutdown upon the next start up? :sweat_smile:

Badge +1

It’s the same thing as putting your computer to sleep.  But when it goes to sleep, it needs power to hold your session in RAM.  Hibernation holds your session on the hard drive and doesn’t need power.

Yes but, how is this different than having your computer remember what was open/open everything that was open before shutdown upon the next start up? :sweat_smile:

It hibernates your open programs so you don’t have to reopen them.  If you’re in the middle of playing a game, and you go into hibernation, you can resume right where you left off.  If you simply shut down, you’d have to open the game back up from scratch.

 

I’m really surprised how few people understand Windows hibernation…  No offense, I guess it’s just not taught...

Userlevel 5
Badge +4

IMO @DJRobX had the best response on this matter...when resuming from hibernation, there’s a good chance your virtual hardware could be different. That might be why they stopped doing it (assuming it was available in the past).

Badge

I don't mind shutting down when I am not using my shadow. If I am not using it then why not. Only takes a few mins or seconds to boot up anyways. So not a big deal for me.

Reply