Re: [Freedos-user] Does FreeDOS make CPU sleep when idle?

2011-03-13 Thread Robert Riebisch
Zbigniew B. wrote:

 I want  to replace a DOS installation on quite old computer - it is
 386SX25 - which I'm keeping around just because it's s.c. booksize
 PC. It has no ACPI, not even APM. I understand, that the FDAPM is
 most recommended method, but - from the other side - using this very
 old computer only the kernel built-in method will work? Am I right?

It's very unlikely that a 386SX will overheat ever. No need to play
around with IDLEHALT or FDAPM.

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Does FreeDOS make CPU sleep when idle?

2011-03-13 Thread Mateusz Viste
On Sunday 13 of March 2011 at 10:20:51, Robert Riebisch wrote:
 It's very unlikely that a 386SX will overheat ever. No need to play
 around with IDLEHALT or FDAPM.

Maybe. But it's still nice to lower the temperature of the chip, to make it 
last longer, and not warm up components that are around it. Plus, it's always 
a little more electricity saved. Running FDAPM costs nothing, and provides 
cool advantages. There's no reason to not use it. ;-)

Best  regards,
Mateusz Viste


signature.asc
Description: This is a digitally signed message part.
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Does FreeDOS make CPU sleep when idle?

2011-03-13 Thread Eric Auer

Hi!

 Yes! The good news is that newer FreeDOS kernels even have a simple
 version built into the kernel itself. [..]
 
 Good news! Well, I should have googling for FreeDOS idle CPU,
 instead of DOS idle CPU. ;)

 :-)

 However, the normal way to let the CPU idle while DOS is idle is to
 load a suitable driver or TSR. In MS DOS you would use POWER but in
 FreeDOS you use the similar FDAPM tool. To load and activate it, run

 FDAPM APMDOS

That will work on any DOS hardware,  but of course
it makes more difference on more energy-hungry CPU.

 PS: You can also use FDAPM to ACPI throttle your CPU if your board
 supports that. [..]

Probably only with Pentium II / AMD K6 and newer.
But then 386s had a turbo button for the same ;-)



 I want  to replace a DOS installation on quite old computer - it is
 386SX25 - which I'm keeping around just because it's s.c. booksize

Still nice to save some energy with little work :-)

 PC. It has no ACPI, not even APM. I understand, that the FDAPM is
 most recommended method, but - from the other side - using this very
 old computer only the kernel built-in method will work? Am I right?

FDAPM automatically detects whether you have APM or
ACPI support. On your computer, it will only set the
CPU to halt (like the kernel idlehalt feature) but
will do so more often than the kernel feature, as it
turns more cases of busy wait into halt wait :-)



Because you have no ACPI, the FDAPM SPEEDn (n = 1-9)
function will have no effect so you cannot throttle.

Also, because you have no PCI, the PCISLEEP tool is
not available on your PC to do standby and suspend
related things or show a list of extension cards.

If you have ISA PnP extension cards - there is an
Intel ISA PnP manager that you could download but
it is a bit bloated in size and ISA does not have
standby or suspend features anyway, just a config.

Eric

PS: Please mail if you find apps that need a 486+.
Of course PCISLEEP / UIDE / UMBPCI would need PCI.


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Does FreeDOS make CPU sleep when idle?

2011-03-13 Thread Zbigniew B.
2011/3/13, Mateusz Viste:

 Maybe. But it's still nice to lower the temperature of the chip, to make it
 last longer, and not warm up components that are around it. Plus, it's
 always
 a little more electricity saved. Running FDAPM costs nothing, and provides
 cool advantages. There's no reason to not use it. ;-)

Yes, it seems, that it'll work with 386SX too. Here's what I've found
on cpuidle home page:

Under normal circumstances the CPU isn't always active but spends
much time waiting for the keyboard, harddisk or CD-ROM. What would be
more logical than to turn off the CPU for that period? That's exactly
what the HLT machine instruction (Opcode F4) does. Whenever the CPU
encounters a HLT instruction the clock is halted and the CPU enters
suspend mode until an interrupt, NMI, or reset happens. With the
advent of power saving microprocessors like the Cyrix Cx486S the HLT
instruction elicits an additional benefit. When `Suspend on HLT' is
enabled in the configuration register the processor not only stops on
HLT but also enters the power saving suspend mode.

Of course, 386SX hasn't been designed as power saving microprocessor
- but still, if HLT halts CPU clock, it's suggesting to me, that
effectively CPU is turned off (until an interrupt happens). And
since in DOS we've got no daemons running in background, even the
HLT method alone can be quite effective method of cooling.

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Does FreeDOS make CPU sleep when idle?

2011-03-12 Thread Zbigniew B.
I read, that the source of CPU (over)heating problems under original
MS/PC-DOS was the fact, that its waiting for key-loop (or however it
is called) didn't set CPU idle, when user (or application) was idle.
For example: when the computer has been left with the cursor blinking
in the command line.

I'm wondering, whether this misfeature has been fixed in FreeDOS?

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Does FreeDOS make CPU sleep when idle?

2011-03-12 Thread Eric Auer

Hi!

On 12.03.2011 21:44, Zbigniew B. wrote:
 I read, that the source of CPU (over)heating problems under original
 MS/PC-DOS was the fact, that its waiting for key-loop (or however it
 is called) didn't set CPU idle, when user (or application) was idle.

You need a driver for that, it is not standard part of normal DOS.

 For example: when the computer has been left with the cursor blinking
 in the command line.
 
 I'm wondering, whether this misfeature has been fixed in FreeDOS?

Yes! The good news is that newer FreeDOS kernels even have a simple
version built into the kernel itself. You can activate it by putting

IDLEHALT=1

in your (fd)config.sys file. The value 1 means normal, 0 means do not
put the CPU to idle, 2 and 3 activate some Win3 related extensions.

However, the normal way to let the CPU idle while DOS is idle is to
load a suitable driver or TSR. In MS DOS you would use POWER but in
FreeDOS you use the similar FDAPM tool. To load and activate it, run

FDAPM APMDOS

either at the command prompt or in your autoexec or similar :-) The
FDAPM method needs only a bit of RAM and is more efficient than the
simple method built into the kernel. Its best to activate only one.

Regards, Eric



PS: You can also use FDAPM to ACPI throttle your CPU if your board
supports that. I once measured one board and found that throttling
meant stop CPU during N of each 8 timeslices of 1/32768 second.
Can be useful if your CPU is faster than needed, e.g. for games...



--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Does FreeDOS make CPU sleep when idle?

2011-03-12 Thread Zbigniew B.
2011/3/12, Eric Auer:

 I'm wondering, whether this misfeature has been fixed in FreeDOS?

 Yes! The good news is that newer FreeDOS kernels even have a simple
 version built into the kernel itself. [..]

Good news! Well, I should have googling for FreeDOS idle CPU,
instead of DOS idle CPU. ;)

 However, the normal way to let the CPU idle while DOS is idle is to
 load a suitable driver or TSR. In MS DOS you would use POWER but in
 FreeDOS you use the similar FDAPM tool. To load and activate it, run

 FDAPM APMDOS

 either at the command prompt or in your autoexec or similar :-) The
 FDAPM method needs only a bit of RAM and is more efficient than the
 simple method built into the kernel. Its best to activate only one. [..]
 PS: You can also use FDAPM to ACPI throttle your CPU if your board
 supports that. [..]

I want  to replace a DOS installation on quite old computer - it is
386SX25 - which I'm keeping around just because it's s.c. booksize
PC. It has no ACPI, not even APM. I understand, that the FDAPM is
most recommended method, but - from the other side - using this very
old computer only the kernel built-in method will work? Am I right?

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user