RAM and sleep: how do they work?

In summary: Is it possible to disable the sleep mode on my computer?In summary, sleep mode saves time in the morning when you wake up, but it may decrease the quality of your electrical supply. Disabling the sleep mode on your computer should not be difficult.
  • #1
Naty1
5,606
40
I have two questions with which I'd appreciate some help:

(1) What are the pros and cons of leaving my home PC in SLEEP mode instead of "SHUT DOWN" (shut off)... I tend to leavge it in sleep mode for portions of the day and wonder
if I should bother shutting it off for the night.

(2) I have a "CPU meter" and it shows my RAM is anywhere from about 25% to 50% full
when I first turn my computer on...seems about the same when it "awakens from sleep
as well... Is this typical?? What kind of stuff in stored there? Seems like a lot of this fast access memory is occupied before I begin any activities. And why does the storage vary so much before I begin any activities.

thanks.
 
Computer science news on Phys.org
  • #2
The biggest advantages of sleep versus shutdown are that (a) it takes a lot less time to wake up than it does to reboot and (b) you lose all open sessions with shutdown. I tend to leave my computer on unless I really do not want to touch the dang thing the next day.

Your computer has a number of memory resident programs that open at startup or login and close at shutdown or logout. The core OS, the display manager, your anti-virus program, etc. As far as varying activity, your browser and anti-virus program are big suspects. Many are huge memory hogs that tend not to release resources, and getting worse as vendors update their products with little care of what those products do to computers that are a year old or older. My anti-virus program is in a sense a computer virus.
 
  • #3
Dh..very helpful...
Is there any difference in power use or wear and tear between SLEEP and SHUT DOWN??

I can tell that my hard drive is off in each case so I'm assuming either state has wear and tear during shut down and start up only. Is there any evidence hard drives tend to fail at such times??...say, like light bulbs tending to burn out with the initial surge of current before the filament gets hot...or gas or diesel engines wear before oil pressure rises?
 
  • #4
Your hard drive, assuming it was built sometime in this millennium, is designed to be started up and shut down a lot. The arguments regarding wear and tear that some raise is a red herring. Your sleep mode should shut down the disk drive, and almost everything else -- including your monitor. If you are using a screen saver your computer is not going to sleep. Your computer in sleep mode should draw only a tiny bit of current to needed to keep memory alive.

One disadvantage of putting your computer to sleep as opposed to shutting it down is the quality of your electrical supply. You need not worry if you have a very expensive UPS that maintains a very high quality supply. Keep in kind that a good UPS costs more than your computer. If you are using a $10 surge protector you are getting what you paid for.
 
  • #5
Naty1 said:
Is there any evidence hard drives tend to fail at such times??...say, like light bulbs tending to burn out with the initial surge of current before the filament gets hot...
Junk science was demonstrated in elementary school science. Spontaneous reproduction was proved when a dry lake filled with water and spontaneously generated life. A conclusion proven by observation. Not tempered by well proven facts. Observation is one reason for popular urban myths.

Amber traffic lights that flash all night long are first to fail? Nonsense. Green and red fail quickly. Amber rarely fails. Because light bulb life expectancy is determined by hours of operation and voltage. Power cycling is irrelevant. Red and green illuminate much longer - fail faster. The light bulb industry even has equations to define science with numbers. Unfortunately your conclusion comes only from observation - also called junk science.

Well, manufacturers claim that power cycling can cause disk drive failure. Then we add what must always exist to have any conclusion. Numbers. A worst (IBM) drive I every saw was rated for 20,000 power cycles. That means restarting a computer seven times every day (even weekends and holidays) for ... seven years. Most drives are rated for 39 years. Yes, power cycling is destructive as another has also noted. Once we temper that subjective fear with numbers, then speculation becomes irrelevant. Or do you plan to be using that computer for another 20+ years?

Any conclusion based only in observation is junk science. A subjective conclusion is why propaganda and other lies are so effective.

Use hibernate rather than shutdown or sleep. If you cannot find hibernate, then read the manufacturer's owners manual or Window's Help. Meanwhile, stop worrying about fears generated by wild speculation, popular urban myths, hearsay, and observation.
 

Related to RAM and sleep: how do they work?

1. What is RAM and how does it work?

RAM (Random Access Memory) is a type of computer memory that stores data and instructions temporarily while a computer is running. It allows the CPU (Central Processing Unit) to access data quickly, making the computer run faster. RAM is volatile memory, meaning that its contents are lost when the computer is turned off.

2. How much RAM do I need for my computer?

The amount of RAM needed for a computer depends on the type of tasks it will be performing. For basic tasks like web browsing and document editing, 4GB of RAM is usually sufficient. For more demanding tasks like gaming or video editing, 8GB or more may be necessary. It's important to note that having more RAM does not necessarily mean better performance, as it also depends on the other components of the computer.

3. What is the difference between RAM and storage?

RAM and storage are both types of memory in a computer, but they serve different purposes. RAM is used for temporary storage of data and instructions while a computer is running, while storage (such as a hard drive or SSD) is used for long-term storage of data even when the computer is turned off. RAM is much faster than storage, but it is also more expensive and has a smaller capacity.

4. Why is it important to put a computer to sleep?

Sleep mode is a power-saving state that a computer enters when it is not in use. This allows the computer to conserve energy and prolong its lifespan. Putting a computer to sleep also allows for quicker resuming of tasks, as the contents of RAM are not lost like they would be if the computer was shut down completely.

5. How does sleep mode affect RAM?

When a computer enters sleep mode, the contents of RAM are saved to the hard drive or SSD. This is known as hibernation. When the computer is woken up, the contents of RAM are retrieved from the hard drive or SSD and restored, allowing the user to continue working from where they left off. However, if the computer loses power while in sleep mode, the contents of RAM will be lost.

Similar threads

  • Computing and Technology
Replies
7
Views
2K
  • Computing and Technology
Replies
9
Views
959
Replies
5
Views
1K
  • Computing and Technology
Replies
15
Views
2K
  • Computing and Technology
Replies
12
Views
4K
  • Computing and Technology
Replies
14
Views
3K
  • Computing and Technology
Replies
30
Views
2K
  • Computing and Technology
Replies
13
Views
2K
Replies
29
Views
4K
  • Computing and Technology
Replies
4
Views
3K
Back
Top