PDA

View Full Version : Sleep - > Shut Down, - - - Alarm - > Start Up, Possible?



Deaf Cat
2005-11-18, 15:16
Hiya,

Just wondering if it is possible to have me pc shut down once SB2 has got to the end of the sleep time ?

And one that I guess may be a bit more tricky, is there something that could wake/start up my pc just before SB2 alarm is due to go off ?

Very much look forward to hearing any thoughts or suggestions you may have.

Cheers

pfarrell
2005-11-18, 15:27
On Fri, 2005-11-18 at 14:16 -0800, Deaf Cat wrote:
> And one that I guess may be a bit more tricky, is there something that
> could wake/start up my pc just before SB2 alarm is due to go off ?

Sounds like a good use for an alarm clock. It goes off, you wake-up
and plug in the server, which detects time for the SqueezeBox to
come on.
:-)

Or get a low power PC and just leave it on?
I never turn mine off, I figure that the stress
on starting and stopping exceeds any savings in power.
But this quickly gets theological....


--
Pat
http://www.pfarrell.com/music/slimserver/slimsoftware.html

kdf
2005-11-18, 15:29
Quoting Pat Farrell <pfarrell (AT) pfarrell (DOT) com>:

> On Fri, 2005-11-18 at 14:16 -0800, Deaf Cat wrote:
>> And one that I guess may be a bit more tricky, is there something that
>> could wake/start up my pc just before SB2 alarm is due to go off ?
>
> Sounds like a good use for an alarm clock. It goes off, you wake-up
> and plug in the server, which detects time for the SqueezeBox to
> come on.
> :-)
>
> Or get a low power PC and just leave it on?
> I never turn mine off, I figure that the stress
> on starting and stopping exceeds any savings in power.
> But this quickly gets theological....

Many recent bios settings allow you to set a standard on time every day in the
power management settings. You can also use the Execute plugin to call a
shutdown script or just have the pc shut down at some set time well after any
'sleep' setting. This way, you could save power for 6 hours, and still
have pc
alive plenty of time ahead of the slimserver alarm

-kdf

pfarrell
2005-11-18, 22:08
On Fri, 2005-11-18 at 14:29 -0800, kdf wrote:
> > Or get a low power PC and just leave it on?
> > I never turn mine off, I figure that the stress
> > on starting and stopping exceeds any savings in power.
> > But this quickly gets theological....
>
> you could save power for 6 hours, and still
> have pc alive plenty of time ahead of the slimserver alarm

I just checked the local electric rates.
They get about 5 cents ($0.05) per kilowatt hour.
On a low end PC, with a two hundred watt power supply,
this is a penny per hour, assuming that the monitor
has gone off/sleep without use.

Using kdf's six hours a night, in a typical night you save
six cents ($0.06) or about $1.80 per month. $21.90 a year.
Given a typical PC life of three years, $65.70 over the
life of the PC.

Folks with an ecological bent can argue that in addition to
the $65 bucks, you can save the world a little, with less power
causing less greenhouse gas, oil imports, destruction of
beauty mining coal, etc.

Using a low power system, like a Via Epia can cut the
energy use a lot, but right now, the mainstream stuff
is so much cheaper to buy that the economics don't
favor them.

YMMV and all that.




--
Pat
http://www.pfarrell.com/music/slimserver/slimsoftware.html

kdf
2005-11-18, 22:28
On 18-Nov-05, at 9:08 PM, Pat Farrell wrote:

>
> Using kdf's six hours a night, in a typical night you save
> six cents ($0.06) or about $1.80 per month. $21.90 a year.
>
that's an extra case of beer, you know ;)
(yes, I know keeping it cold will cost more)
-kdf

seanadams
2005-11-19, 00:11
(yes, I know keeping it cold will cost more)
-kdf

Not in Canada, eh?

kdf
2005-11-19, 00:58
On 18-Nov-05, at 11:11 PM, seanadams wrote:

>
> kdf Wrote:
>>
>> (yes, I know keeping it cold will cost more)
>> -kdf
>
> Not in Canada, eh?
>

all right, you got me. we just keep it in the fridge to keep it safe
from the beavers. they're 3m tall, eh

Deaf Cat
2005-11-19, 02:03
Well I was rather thinking of the fan noise,
(power saving was a secondary thought $1.80, one or two extra beers a month - I like that) I only live in a small place and the fan noise when all is quiet at sleep time could be anoying, where as a beer.....

This "Execute plugin to call a shutdown script" how would one go about sorting this? much appreciate any pointers.

My BIOS has little in the way of on/off times only hdd off in 1,2,3 mins etc - I'll have a look for an update

As we have somewhat gone adrift from the intial subject, on some of the later posts, this may well be applicable:
http://www.theecologist.org/archive_detail.asp?content_id=295

Deaf Cat
2005-11-19, 06:18
Na BIOS update does nothing in this area.
Old PC I guess

Jim
2005-11-19, 06:26
...lots...

The time it took me to read your post I could of planted a tree....or at least hugged one :D

pfarrell
2005-11-19, 08:22
On Sat, 2005-11-19 at 01:03 -0800, Deaf Cat wrote:
> Well I was rather thinking of the fan noise,
> (power saving was a secondary thought $1.80, one or two extra beers a
> month - I like that)

Depending on your computer it may be easy to fix.
The price wars in the PC world are wicked, The manufacturers
try to save every buck, quarter and penny. One way they do that
is to specify the cheapest fans possible. They save 5 cents,
and the thing howls like a jet engine

The good news is that you can just replace the fans with
better ones, larger ones, thermostatically controlled ones,
and be amazed by how quiet it can get. Its easy, only takes
a screwdriver and a few minutes. The not so good news is
that good fans that would have cost the manufacturer fifteen
cents, will cost your $8 at your local computer store.

You can even get plastic isolation gaskets that keep the
fan vibration from shaking the whole case like a drum.

Unless you are a wild gamer, you can even get silent CPU coolers.
About $20 for the CPU fan makes a huge difference, the really silent
ones are double that.

Depending on how noisy it was tp start, you can get 10dB really
easily, and often 20dB. Measured on my trusty Radio Shack sound
level meter.


--
Pat
http://www.pfarrell.com/music/slimserver/slimsoftware.html

Jacob Potter
2005-11-19, 08:44
On 11/19/05, Pat Farrell <pfarrell (AT) pfarrell (DOT) com> wrote:
> I just checked the local electric rates.
> They get about 5 cents ($0.05) per kilowatt hour.
> On a low end PC, with a two hundred watt power supply,
> this is a penny per hour, assuming that the monitor
> has gone off/sleep without use.

Most PCs will never draw that much, though. I just measured mine (with
a Radio Shack clamp-type ammeter), and got:
Idle - 0.8 A / 96 W
High CPU load (yes|md5sum) - 1.0 A / 120 W
Extreme CPU load (cpuburn) - 1.1 A / 132 W
CPU and video load (Quake 4) - 1.4 A / 168 W

This is a pretty speedy system, too - Athlon64 3500+ (overclocked to
2.4ghz), GeForce 7800GT, SeaSonic 380 watt power supply. A high-end
Pentium 4 would draw more under load, but not much.

My EPIA V8000A (800mhz C3) drew between 12 and 24 watts, measured at
the input of the 12-volt DC-DC power supply, but that was without a
hard drive. Laptop drives only draw a few watts, but they are way more
expensive.

- Jacob

pfarrell
2005-11-19, 09:12
On Sat, 2005-11-19 at 10:44 -0500, Jacob Potter wrote:
> On 11/19/05, Pat Farrell <pfarrell (AT) pfarrell (DOT) com> wrote:
> > On a low end PC, with a two hundred watt power supply,
> > this is a penny per hour, assuming that the monitor
> > has gone off/sleep without use.
>
> Most PCs will never draw that much, though.

Yes, measured is usually lower than the faceplate
number, but you are supposed to use the faceplace
for engineering.


> High CPU load (yes|md5sum) - 1.0 A / 120 W
> Extreme CPU load (cpuburn) - 1.1 A / 132 W
> CPU and video load (Quake 4) - 1.4 A / 168 W
>
> This is a pretty speedy system, too - Athlon64 3500+ (overclocked to
> 2.4ghz), GeForce 7800GT, SeaSonic 380 watt power supply.

That is lower than I expected, for a serious system.

> A high-end Pentium 4 would draw more under load, but not much.

As would a dual SLI gamer's system.

Any idea how much difference actively driving two or three disks
drives would add?


> My EPIA V8000A (800mhz C3) drew between 12 and 24 watts, measured at
> the input of the 12-volt DC-DC power supply, but that was without a
> hard drive. Laptop drives only draw a few watts, but they are way more
> expensive.

The Via EPIA stuff is very cool, draws next to nothing.
Kinda pricy, but just the thing for a media computer.

--
Pat
http://www.pfarrell.com/music/slimserver/slimsoftware.html

Jacob Potter
2005-11-19, 11:46
On 11/19/05, Pat Farrell <pfarrell (AT) pfarrell (DOT) com> wrote:
>
> That is lower than I expected, for a serious system.

I was surprised too. I'm using a cheap Radio Shack clamp meter, but I
tried it on a 40W table lamp and it read just over 0.3 A as expected.

> Any idea how much difference actively driving two or three disks
> drives would add?

I did some Googling, and apparently they're generally in the 10-15
watt range. Not too bad.

> The Via EPIA stuff is very cool, draws next to nothing.
> Kinda pricy, but just the thing for a media computer.

They aren't that bad in terms of absolute price; VIA's
motherboard/proc combos are usually $100-200, and you can get a
complete system in the $400 range. The price/performance is low
though.

- Jacob

Deaf Cat
2005-11-19, 15:10
So.....
I'm thinking it's a bit tricky to auto switch off/on.

I guess it is easier to switch off, rather than switch on, so lets think along the 'off' lines for the mo:

Is there a way to have the sleep time, when reaches zero trigger the shut down sequence of the pc?

And would one be able to do this if one does not know much about computers?

Oh and I will be looking into fans too - cheers for the tip!

kefa
2005-11-28, 15:15
Hopefully this should do the trick. Allows a user configurable sleep time + cancellation of pending shutdown if required. Requires simple configuration on Linux box (outlined on the link below) - not sure what the equivalent Windows config should be. Perhaps someone could let me know and I will update the instructions.

Cheers.

http://www.avdv70.dsl.pipex.com/shutdown/index.html