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


Groups > comp.lang.forth > #42668

Re: CGI Scripting in Forth

From rickman <gnuarm@gmail.com>
Newsgroups comp.lang.forth
Subject Re: CGI Scripting in Forth
Date 2015-10-16 22:44 -0400
Organization A noiseless patient Spider
Message-ID <mvscij$efs$1@dont-email.me> (permalink)
References (3 earlier) <87egguzil8.fsf@jester.gateway.sonic.net> <dvadnQw99I_89bzLnZ2dnUU7-QmdnZ2d@supernews.com> <87a8rizew3.fsf@jester.gateway.sonic.net> <PfidnYpeLesRFLzLnZ2dnUU7-Yf46u6z@supernews.com> <876126z3mx.fsf@jester.gateway.sonic.net>

Show all headers | View raw


On 10/16/2015 9:26 PM, Paul Rubin wrote:
> "Elizabeth D. Rather" <erather@forth.com> writes:
>> That depends on the platform. On an MSP430 it goes to low-power
>> mode. On some systems it is looking for an active task (one
>> instruction/task). But if nothing is active, does it matter?
>
> I had heard in the context of GA144 Polyforth that it simply looped
> through the task list eating cpu, instead of halting the processor until
> the next i/o event or timer tick.  That burns a huge amount of cpu
> cycles, using power, making heat, and making those cycles unusable to
> other users on a shared hosting system.  Does it even run on x86 servers?

How can looping, waiting for a task to be ready prevent anyone from 
using the CPU?  You realize this is on a limited number of cores in the 
GA144 where each core uses relatively little power, right?

I'm not sure what you are objecting to.  If there's anything available 
to waste on a GA144, it is CPU cycles.  That is the underlying premise 
of the chip architecture - that CPU cycles are so cheap they can afford 
to be "burned" if that has a purpose.

-- 

Rick

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