Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #42675

Re: CGI Scripting in Forth

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: CGI Scripting in Forth
Date 2015-10-17 07:14 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2015Oct17.091425@mips.complang.tuwien.ac.at> (permalink)
References (6 earlier) <PfidnYpeLesRFLzLnZ2dnUU7-Yf46u6z@supernews.com> <876126z3mx.fsf@jester.gateway.sonic.net> <mvscij$efs$1@dont-email.me> <871tcuyz6q.fsf@jester.gateway.sonic.net> <mvsiuc$u9t$1@dont-email.me>

Show all headers | View raw


rickman <gnuarm@gmail.com> writes:
>How exactly does a recent x86 processor idle?  I thought they reduced 
>power through the software?  When the processor runs the idle process 
>the processor is told to reduce clock frequency.  I'm not aware that it 
>reduces the power so drastically.  I know my processor *never* runs at a 
>"few watts".

Modern CPUs (and the rest of the machine) have a lot of power-saving
features, and these can really make a big difference.  E.g., in the
review of mainboards for Skylake in c't 22/2015, there is one board
that has idle power consumption of 9.7W (for PSU, mainboard, Core
i5-6600K, 8GB RAM, SSD, Keyboard and Mouse), and consumes 91W with
these components under load.  The most hungry board consumes 23W at
idle with these components, and 114W under load.

And idling is not just running at a lower frequency (and voltage);
using the HLT instruction saves power since the 80486DX4 in 1994; and
since then various C-states have been introduced for saving even more
power.  See
<https://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface#Power_states>.

Concerning shared hosting, while the hypervisor will give other users
their share of the CPU, if your software uses busy waiting and thus
loads the CPU all the time, the hoster is likely to notice and will
then probably elect not to continue the low-cost deal that you have
with them now; they may offer you a more expensive offer; or maybe you
have an offer that only includes a number of CPU hours anyway, and you
will have to pay extra if you use more; and if all the others idle
cooperatively most of the time, your busy idling may consume many CPU
hours.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2015: http://www.rigwit.co.uk/EuroForth2015/

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

CGI Scripting in Forth Jason Damisch <jasondamisch@yahoo.com> - 2015-10-15 15:58 -0700
  Re: CGI Scripting in Forth Ron Aaron <rambamist@gmail.com> - 2015-10-16 08:15 +0300
    Re: CGI Scripting in Forth Jason Damisch <jasondamisch@yahoo.com> - 2015-10-16 12:07 -0700
      Re: CGI Scripting in Forth Paul Rubin <no.email@nospam.invalid> - 2015-10-16 13:03 -0700
        Re: CGI Scripting in Forth "Elizabeth D. Rather" <erather@forth.com> - 2015-10-16 11:13 -1000
          Re: CGI Scripting in Forth Paul Rubin <no.email@nospam.invalid> - 2015-10-16 14:23 -0700
            Re: CGI Scripting in Forth "Elizabeth D. Rather" <erather@forth.com> - 2015-10-16 13:34 -1000
              Re: CGI Scripting in Forth Paul Rubin <no.email@nospam.invalid> - 2015-10-16 18:26 -0700
                Re: CGI Scripting in Forth rickman <gnuarm@gmail.com> - 2015-10-16 22:44 -0400
                Re: CGI Scripting in Forth Paul Rubin <no.email@nospam.invalid> - 2015-10-16 20:02 -0700
                Re: CGI Scripting in Forth rickman <gnuarm@gmail.com> - 2015-10-17 00:33 -0400
                Re: CGI Scripting in Forth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-10-17 07:14 +0000
                Re: CGI Scripting in Forth "Elizabeth D. Rather" <erather@forth.com> - 2015-10-16 21:26 -1000
                Re: CGI Scripting in Forth Jason Damisch <jasondamisch@yahoo.com> - 2015-10-17 10:36 -0700
                Re: CGI Scripting in Forth "Elizabeth D. Rather" <erather@forth.com> - 2015-10-16 21:06 -1000
                Re: CGI Scripting in Forth Paul Rubin <no.email@nospam.invalid> - 2015-10-17 00:12 -0700
                Re: CGI Scripting in Forth "Elizabeth D. Rather" <erather@forth.com> - 2015-10-16 21:42 -1000
      Re: CGI Scripting in Forth Ron Aaron <rambamist@gmail.com> - 2015-10-17 19:26 +0300
  Re: CGI Scripting in Forth Mark Wills <markwills1970@gmail.com> - 2015-10-16 04:24 -0700
  Re: CGI Scripting in Forth josv@planet.nl - 2015-10-16 07:50 -0700
    Re: CGI Scripting in Forth Jason Damisch <jasondamisch@yahoo.com> - 2015-10-16 10:01 -0700
      Re: CGI Scripting in Forth "Elizabeth D. Rather" <erather@forth.com> - 2015-10-16 08:20 -1000
        Re: CGI Scripting in Forth Jason Damisch <jasondamisch@yahoo.com> - 2015-10-16 11:33 -0700
  Re: CGI Scripting in Forth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-10-17 17:18 +0000
    Re: CGI Scripting in Forth Jason Damisch <jasondamisch@yahoo.com> - 2015-10-20 11:37 -0700
      Re: CGI Scripting in Forth Jason Damisch <jasondamisch@yahoo.com> - 2015-10-20 11:59 -0700
  Re: CGI Scripting in Forth Jason Damisch <jasondamisch@yahoo.com> - 2015-10-20 11:53 -0700
    Re: CGI Scripting in Forth Paul Rubin <no.email@nospam.invalid> - 2015-10-20 12:09 -0700
      Re: CGI Scripting in Forth Jason Damisch <jasondamisch@yahoo.com> - 2015-10-20 12:19 -0700
        Re: CGI Scripting in Forth Jason Damisch <jasondamisch@yahoo.com> - 2015-10-28 11:51 -0700

csiph-web