🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics.design
Article #1076

Re: Arms race

#1076
From: Don Y
Date: Thu, 12 Nov 2026 12:58
76 lines
5502 bytes
On 11/11/2026 2:50 PM, Don Y wrote:
> You have to THINK about the problem instead of just naively
> assuming everything is important.
> 
> When deadlines are soft, the "value" of a task's completion
> is no longer bi-valued (value vs. no value at all) but, rather,
> some potentially complex function of lateness.  Your goal,
> then, is to sort out how to shuffle resources to "maximize value"
> (across the set of tasks) instead of the all-or-nothing decision
> that HRT suggests.

> An SRT design tends to embed more intelligence in the
> goal setting and resource management.  You *shed*
> tasks for which resource expenditure provides little
> *value* at the possible expense of other MORE valuable
> tasks.
Here's a simple, practical example that illustrates the costs and
value of a single "task" and how it might be instantiated:

E.g., if I want to "water the citrus", I need the hardware interface to the
irrigation valves that is present on the irrigation controller.  Otherwise,
I can't "gate" water to that portion of the yard.  I need the "grey water"
supply and its metering hardware (another node) to source the water.  And,
possibly, the municipal water supply and its metering hardware -- in the
event that  there is insufficient grey water available.

I need the database that tracks weather history so I can determine how *much*
water will be required (based on precipitation, temperatures, wind, etc.).
If it rained recently -- or, if it has been hot/windy/dry -- then the current
needs of those plants will differ.

And, I need memory and "MIPS-seconds" on each of these nodes to actually do
the "work" required.  So, those devices must be powered up and have sufficient
"spare" resources to host the activities that I will require of them.

During daylight hours, I'll likely have a surplus of electrical power
(assuming the power system's estimate of the remaining available solar
power will suffice to top of the storage batteries).  At night, power
may be in shorter supply (or, "more costly" so this has to be justified
by the "value" of getting the task accomplished!).  OTOH, irrigation is
more effective at night as evaporative losses are greatly reduced and
the flora will be most receptive to water uptake as the sun rises.
OToOH, if the power has failed, then power will be even more precious;
perhaps risk the fruit taking a hit so some more important task can be
accomplished?

The scheduler now has to find a time when those resources are available
(or, can be MADE available -- powering hardware on if presently off,
evicting jobs of lower priority, etc.) and then admit the task to the
run queue.

*Hoping* that conditions don't change significantly before it finishes
(a minute from now, an occupant may want to take a shower and the drop
in water pressure caused by the huge load represented by the citrus
might be objectionable -- so, that task will have to be paused or
aborted)

If I had taken the attitude that "everything is important and of immediate
need", then I would have had to increase the size of the grey water tank
(and the pump and piping that distributes its contents as I might have had
to irrigate EVERYTHING on the property at the same instant!), the diameter
of the municipal water main to handle those cases where the grey water
supply was inadequate, the size of the storage battery in case lots of things
wanted to happen "after dark", the number and capabilities of the CPUs
doing the work, etc.

[Irrigation is much easier for people to wrap their heads around than
the effort and resources required to train a speech model or update a
scene analysis, hence my reliance on it as an example]

This, of course, is just stupid.  A smarter approach is to juggle priorities
so you can do everything with *less*.  By recognizing that not everything
has to happen immediately.  By treating most "deadlines" as ADVISORY and
not HARD REQUIREMENTS.

[You can see there are far more design decisions involved in this approach!]
Technical Details
Message-ID: <11d4d67$3ulm4$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11bp6d1$16i93$1@dont-email.me> <ado1el51rv6t5e055ospgkmids7krtrd2m@4ax.com> <11bvc3s$3a0ts$1@dont-email.me> <11bvfvq$3bnll$1@dont-email.me> <DElIS.95223$DTve.4199@fx18.ams4> <11ct33u$1gb6e$1@dont-email.me> <11d2n33$eqh3$3@paganini.bofh.team> <11d2nva$3e685$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Don Y <blockedofcourse@foo.invalid>
Newsgroups: sci.electronics.design
Subject: Re: Arms race
Date: Thu, 12 Nov 2026 05:58:44 -0700
Organization: A noiseless patient Spider
Lines: 76
Message-ID: <11d4d67$3ulm4$1@dont-email.me>
References: <11bp6d1$16i93$1@dont-email.me>
 <ado1el51rv6t5e055ospgkmids7krtrd2m@4ax.com> <11bvc3s$3a0ts$1@dont-email.me>
 <11bvfvq$3bnll$1@dont-email.me> <DElIS.95223$DTve.4199@fx18.ams4>
 <11ct33u$1gb6e$1@dont-email.me> <11d2n33$eqh3$3@paganini.bofh.team>
 <11d2nva$3e685$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 12 Nov 2026 12:58:48 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="4150980"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/aM9Jjerw28waiGKOuVoY3"; posting-host="48e15282b0dd10fa3938541b9bac36fa"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:cly4vy1cUDbAjqL62UB/b4fg7Mw= sha256:fXiKeNFa6YUVnlsAX5cNK7TTYtKaUttBgE69E9uxIkQ=
	sha1:VwkbThT3S0sQpchrHESIn0D/ARQ= sha256:IfGjgGRZKzvDSMN+3SM31L9xa7kQO7IYtsxOtXOk704=
Content-Language: en-US
In-Reply-To: <11d2nva$3e685$1@dont-email.me>