Re: [E-impact] [OPSAWG] side meeting #119: Power Metrics: concrete usage example

Hesham ElBakoury <helbakoury@gmail.com> Tue, 26 March 2024 14:34 UTC

Return-Path: <helbakoury@gmail.com>
X-Original-To: e-impact@ietfa.amsl.com
Delivered-To: e-impact@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A5FF0C14F69A for <e-impact@ietfa.amsl.com>; Tue, 26 Mar 2024 07:34:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.103
X-Spam-Level:
X-Spam-Status: No, score=-7.103 tagged_above=-999 required=5 tests=[AC_DIV_BONANZA=0.001, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8dAyyzRVxflZ for <e-impact@ietfa.amsl.com>; Tue, 26 Mar 2024 07:34:22 -0700 (PDT)
Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 14346C14F684 for <e-impact@ietf.org>; Tue, 26 Mar 2024 07:34:22 -0700 (PDT)
Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1e0d6356ce9so13584205ad.3 for <e-impact@ietf.org>; Tue, 26 Mar 2024 07:34:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711463661; x=1712068461; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BxsCAf9eY0v3kf5N+DhRVDKeDbMcSMYETldi+bIDyJ0=; b=EYJSM3FuDkNIzZsZiLmrn0In7XpQe/8Wj8f0qSdiip1tnY9AM6FhzkUKiELnzCiQri JFovrPKzzeD7xkK5Vas+5j0MyD/ZVaB0q6Ec7tr6tMlaWXY3jP3yCzB46bgUDPdcPudZ +ybTXoJ5FsuYFUV68R7UAwLx/Gfi1wwUot86CSnb+fozPh0UN2FO0sKDXG3uITLndt/B BuO98L8BdKsUb2TH415WK+hVuGYf1Gdil4WqtaL28556fTOTJFQXbX7GdOqJX1agYxcb 1ncCWk6v3J6KkZsom9flZklNmEmLhjwz4wEKY7JesV4YE+jwhC6WPZFvDDkCK7E6Peq/ VqpA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711463661; x=1712068461; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BxsCAf9eY0v3kf5N+DhRVDKeDbMcSMYETldi+bIDyJ0=; b=GeUlUsQcDrcPPOhRfLGuHB9GRQIAw6NUL0AtBi86YuX3c9gWAiHrZmiOWJnIeM3sFK dsIg3M2lUkOKawaWGVfR4KtcdFTyAJNKIsnx77crWpeoFfmyrfd0IBplbm9TGsXTSgjr F28KCV2ijSbeZS5Icw4W/+7Tq7b2OPdFgPt8YThuLgPEoKgg168XLht3xiJkwSRSGpvB jzadfofMUgiFg0IOVUIg5hxAbfkpH5oduTUgPUxxQOgYAni2ZdHH2zoqIleFNWgxcdZc zGGxOl5Af5lz9LqeamtjSKhw6Uu40+6afFMTKs7ukSWLaqzmjWVTW+31gGHXCcHvq9dC 4iRg==
X-Forwarded-Encrypted: i=1; AJvYcCVM9MmkeV2FeU3vLOhRY8KeV+0/bEWR1TGrROc2IkxMtrGEMYbp0w7/xLWNKDot3jZVL32RvZoJ0zbSO8WctQZoYg==
X-Gm-Message-State: AOJu0YzOA/8MUD5iPfzjXbHcepuyyzGIrYUbIxlg/e8b64QBvfMHcZun 8CdV1Ldh/wWBRSmaT/M9xa6YYY71ddhnJiNmUCiF1M+wrtRcPZS5y/7B5lyirj95n43CRQ3RGuQ vHYO6I3JNYyYH4NPCANuOhG3+kn8WrIDx
X-Google-Smtp-Source: AGHT+IFO9d+i404v7fQPrMPwu89DCXkHJE44ZSlbphO9ev3tLMWNfqXRwV9Yz43HDo9vPl4P1a/zTNP9oW+Uc/bTs5Q=
X-Received: by 2002:a17:902:cec3:b0:1e0:b76b:cfb8 with SMTP id d3-20020a170902cec300b001e0b76bcfb8mr8382999plg.19.1711463660783; Tue, 26 Mar 2024 07:34:20 -0700 (PDT)
MIME-Version: 1.0
References: <CAKr6gn3Ze0FrskGYouRjP+yRTG7Ts60EPy-LveHOXVRFBXNPew@mail.gmail.com> <6E972713-CA73-4D61-AF02-B83E59CCF8AD@id3as.co.uk> <9d3f52c06a274680a0762d65baa1308b@huawei.com> <3BB20F26-CC7B-4467-8C89-3622A08347B6@id3as.co.uk> <f279b87f5a394657a5285e8f914baf0b@huawei.com> <A26397BE-A568-4A40-8897-611BC18B91E7@id3as.co.uk> <CC2DF697-19ED-4FE5-9A22-EB16630E373C@ifi.uio.no>
In-Reply-To: <CC2DF697-19ED-4FE5-9A22-EB16630E373C@ifi.uio.no>
From: Hesham ElBakoury <helbakoury@gmail.com>
Date: Tue, 26 Mar 2024 07:34:07 -0700
Message-ID: <CAFvDQ9px4bmS0woNA2LO4p_SoP8PPNaQ9mhrhzuVBZLkROcoPA@mail.gmail.com>
To: Michael Welzl <michawe@ifi.uio.no>
Cc: Dom Robinson <dom@id3as.co.uk>, Dirk Trossen <dirk.trossen@huawei.com>, George Michaelson <ggm@algebras.org>, E-Impact IETF <e-impact@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000008c0e0c0614912f35"
Archived-At: <https://mailarchive.ietf.org/arch/msg/e-impact/ZkJxT_hDc4GxQ_SPLLOOuJAKaTM>
Subject: Re: [E-impact] [OPSAWG] side meeting #119: Power Metrics: concrete usage example
X-BeenThere: e-impact@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Environmental impacts of the Internet <e-impact.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/e-impact>, <mailto:e-impact-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/e-impact/>
List-Post: <mailto:e-impact@ietf.org>
List-Help: <mailto:e-impact-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/e-impact>, <mailto:e-impact-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Mar 2024 14:34:26 -0000

Good points to ponder Mike!

Another issue is related to the emerging machine learning applications. I
think the reduction of network energy consumption and carbon emission that
we can achieve in IETF by the instrumentations and tools you mentioned may
prove to be insignificant compared to the huge amount of energy consumption
and carbon emission of ML model (including LLM) training and inference.

Hugging Face researchers estimated that training BLOOM LLM training led to
25 metric tons of carbon dioxide emissions. The researchers found that this
figure doubled when they took into account the emissions produced by the
manufacturing of the computer equipment used for training, the broader
computing infrastructure, and the energy required to actually run BLOOM
once it was trained [1].

Researchers at the University of Massachusetts, Amherst, performed a life
cycle assessment for training several common large AI models. They found
that the process can emit more than 626,000 pounds of carbon dioxide which
is equivalent to approximately five times the lifetime emissions of an
average American car (includes manufacturing of the car itself) [2,3]

I think, yet again, we should consider the sociological issues. Our efforts
to construct the most energy efficient machines possible may go in vain if
there is profligate use for purposes that do not justify their use.

What do you think?

Hesham
[1] Hugging Face’s work is published in a non-peer-reviewed paper
<https://arxiv.org/pdf/2211.02001.pdf>.
[2]
https://www.supermicro.com/en/article/ai-training-5-tips-reduce-environmental-impact
[3] https://arxiv.org/abs/1906.02243

On Tue, Mar 26, 2024, 4:12 AM Michael Welzl <michawe@ifi.uio.no> wrote:

> Hi everyone!
>
> Many good points here. Just to bring one more view to the table:
>
> I agree with George that it’s hard to see the actual "protocol work” that
> would help - but I think that this may just be because we’re used to think
> of algorithmic solutions.
>
> E.g., what routing strategy is “better” - based on energy? based on carbon
> efficiency? based on a mix between these and “traditional” metrics?  (well
> of course - e.g. shortest path will never cease to be important, but how to
> mix these?)   People have already come up with example cases where these
> metrics *can* be useful. But how useful are they really, and how realistic
> is it to apply them at a larger scale? WOULD a larger scale be what we
> should aim for, or is this inherently limited-scope stuff?
>
> It doesn’t seem like we have overall answers to these questions, and I
> don’t think we can expect to find them anytime soon; and should *we*, as
> engineers? Hesham has pointed at sociology and marketing; Rudolf has
> pointed at economics.
>
> Concluding from all this, it seems to me that useful work can already be
> done in the IETF to *instrument* protocols to provide, or enable use of,
> sustainability-related information (at least energy, but perhaps also
> carbon efficiency or some such metric if we do have hope to come up with a
> useful definition…).  I.e., define a routing metric; offer management
> information (see the proposed YANG model and ICMP extension);  ... and then
> it would be up to others to see what they can do with it.
>
> Here’s another way of looking at this: if we don’t instrument protocols
> with such information, nobody can even try to deploy any strategy because
> the tools are just not available - and nothing will happen.
>
> So, IMO, such “instrumentation” work should indeed happen in the IETF,
> soon - and in addition, we should keep having this mailing list to inform
> the discussion on how the newly offered instruments could be brought to
> good use.
>
> Cheers,
> Michael
>
>
> On Mar 26, 2024, at 11:46 AM, Dom Robinson <dom@id3as.co.uk> wrote:
>
> 100%
> --
> Dom Robinson
> www.id3as.co.uk
> www.greeningofstreaming.org
> uk.linkedin.com/in/domrobinson
> Meet >> https://calendly.com/id3as
>
> On 26 Mar 2024, at 10:45, Dirk Trossen <dirk.trossen@huawei.com> wrote:
>
> Dom,
>
> Yes, it is a slippery slope from dumb to aware to (artificially)
> intelligent 😉
>
> But given that constraint-based routing already represents awareness
> (e.g., to latency), adding energy in a limited scope is not a big slide
> down that slope IMO. And we may find other opportunities on the dry end of
> that slope before slippery kicks in.
>
> The reason for having this discussion in an engineering forum is to get
> the balance of views right between the crazy desires and the actual working
> things.
>
> Dirk
>
> *From:* Dom Robinson <dom@id3as.co.uk>
> *Sent:* 26 March 2024 11:39
> *To:* Dirk Trossen <dirk.trossen@huawei.com>
> *Cc:* George Michaelson <ggm@algebras.org>; E-Impact IETF <
> e-impact@ietf.org>
> *Subject:* Re: [E-impact] [OPSAWG] side meeting #119: Power Metrics:
> concrete usage example
>
> Dirk
>
>
> So I agree on being careful about the scope of energy considerations in
> protocol design (to avoid feature creep, to avoid raising new security
> considerations) but I cannot agree that it is not potentially substantive
> protocol work for the IETF.
>
>
> More good points: better made than my own!
>
> I stand by giving the whole idea of giving the seemingly inexorable merge
> of energy operations with IP (as far as this group is concerned) a solid
> kick-test. Without that check and balance i do fear an unending scope creep
> in trying to bring ever-deeper decisioning / awareness into the routing
> layer.
>
> "Dumb-networks" have proven very successful for a long while and while
> it’s tempting to add (A)intelligence to everything these days it may take
> us toward using a particle accelerator to crack a nut :)
>
> But i happily cede to the points you make about prior form for such
> ‘awareness' already being present as far as traffic flow is concerned.
>
>
>
> --
> Dom Robinson
> www.id3as.co.uk
> www.greeningofstreaming.org
> uk.linkedin.com/in/domrobinson
> Meet >> https://calendly.com/id3as
>
>
> On 26 Mar 2024, at 08:41, Dirk Trossen <dirk.trossen@huawei.com> wrote:
>
> Dom, all,
>
> Chiming in here as a passive observer so far on this list.
>
> When you say: “But should a data routing protocol confuse its purpose by
> routing based on its own ‘awareness’ of energy? I think that adds a burden
> to IP that would weaken it and be out of scope.” I wonder why you limit the
> scope of IP routing constraints (which do exist, right?) to NOT consider
> energy?
>
> Why is it that we cannot envision energy costs associated to links in the
> same manner we assign latency budgets to select one path over another? If
> one considers multi-constraint routing work (see
> https://www.semanticscholar.org/paper/Routing-on-Multiple-Optimality-Criteria-Sobrinho-Ferreira/8ce4650878576839d61d0be35a364e019c18318b
>  for what is hopefully working as a non-paywall reference), even multiple
> constraints in combination with latency or bandwidth are foreseeable IMO.
>
> When you say: “l3 routing should be routing, and not try to scope creep
> into application / infrastructure. It should stick to the end to end
> principle and leave the ends to decide on energy actions, while
> facilitating the data exchange.”, it confuses me since I was under the
> impression that routing is exactly about infrastructure, while it is also
> about application requirements (highest BW or lowest latency, or maybe even
> lowest energy) to make the right data exchange decisions.
>
> An example of work in the IETF, where we can see (down the line) an active
> consideration of energy is that of traffic steering, i.e., the selection of
> one of possibly several choices of network locations where traffic could go
> to. If you see several (e.g., virtualized) instances of a service residing
> at those different network locations, picking the ‘best’ of the choices is
> key here. Isn’t it a good thought to consider energy as a possible ‘best’
> choice here?
>
> The CATS WG is one such body of work in the IETF right now. Its very name
> limits it to ‘compute-awareness’ but isn’t the energy consumption of
> compute endpoints not one such possible awareness metric? Of course, works
> like CATS but also ALTO need to work out the signaling of such
> application/service metrics to network nodes to act upon them, but that’s
> (in part) why those WGs exist.
>
> So I agree on being careful about the scope of energy considerations in
> protocol design (to avoid feature creep, to avoid raising new security
> considerations) but I cannot agree that it is not potentially substantive
> protocol work for the IETF.
>
> Best,
>
> Dirk
>
> *From:* E-impact <e-impact-bounces@ietf.org> *On Behalf Of *Dom Robinson
> *Sent:* 26 March 2024 07:11
> *To:* George Michaelson <ggm@algebras.org>
> *Cc:* E-Impact IETF <e-impact@ietf.org>
> *Subject:* Re: [E-impact] [OPSAWG] side meeting #119: Power Metrics:
> concrete usage example
>
> George - you make some good points very well.
>
>
> I am simply unconvinced there is substantive
> protocol work in energy burden to be done in IETF protocol space at
> this time.
>
>
>
> I have to say I agree.
>
> As an influencing discussion, e-impact is hugely valuable.
>
> As an intermediary between layers 1/2 and layer 4 (where all the energy is
> consumed) IP can *already* carry information (as an ‘application’) that
> leads to energy saving infrastructure and workload management. In this
> regard it already does the job perfectly!
>
> But should a data routing protocol confuse its purpose by routing based on
> its own ‘awareness’ of energy? I think that adds a burden to IP that would
> weaken it and be out of scope.
>
> It risks becoming ‘for the sake of it’ rather than because it is really
> improving the protocol IMHO.
>
> I think better to continue to focus on how the physical layers and link
> layers are efficient, and the application layer has information to steer
> decisions.
>
> l3 routing should be routing, and not try to scope creep into application
> / infrastructure. It should stick to the end to end principle and leave the
> ends to decide on energy actions, while facilitating the data exchange.
>
> IPs role is hugely important, but it needs to remain benign else it will
> become a political tool. Energy information becoming a component of routing
> data looks like a cyberattack waiting to happen to me.
>
> BGP tables going wrong causes chaos, but generally ‘only’ impact data
> access. A DDoS attack on our energy using IP networks could cause
> real-world problems with much deeper consequences than ‘some data loss’.
>
>
>
> --
> Dom Robinson
> www.id3as.co.uk
> www.greeningofstreaming.org
> uk.linkedin.com/in/domrobinson
> Meet >> https://calendly.com/id3as
>
>
>
> On 26 Mar 2024, at 02:31, George Michaelson <ggm@algebras.org> wrote:
>
> Without wanting to push too hard, I would personally push back on
> E-impact becoming a WG or having any solidity beyond an experimental
> ongoing activity. I am simply unconvinced there is substantive
> protocol work in energy burden to be done in IETF protocol space at
> this time.
>
> * I absolutely believe there is an energy impact issue in DC, in long
> distance communications and maintenance of RF carrier, for the IEEE,
> for 3GPP, for economies with unreliable power facing the question to
> house a CDN or long-line it to somewhere else. These problems lie in
> other people's standards bodies.
>
> * I absolutely do believe we can theorise physical and link layer
> protocol changes which reduce energy burdens (in many cases with cost,
> like no 0RTT responses because we have to re-establish link) -And that
> things like delay tolerant networking or 6LOWPAN go into this space
> sometimes.
>
> * I also absolutely do believe there may in future be clearer drive to
> do work on energy in IETF, in protocol design for DC or other contexts
> where it has to be exposed through the protocol stack to the
> application. Therefore I can say there COULD be work to be done here,
> in the future.
>
> About as far as I would go right now is a problem statement. And, a
> watch-and-review status.
>
> I'm not in charge here and I don't have some magic veto card. If
> people wanted to continue, I wouldn't oppose a list being hosted, but
> I would be uncomfortable with positions being taken in public implying
> the IETF or the IAB have substantive work to do here: I don't see it.
>
> Maybe the IAB differs.
>
> -G
>
> --
> E-impact mailing list
> E-impact@ietf.org
> https://www.ietf.org/mailman/listinfo/e-impact
>
>
> --
> E-impact mailing list
> E-impact@ietf.org
> https://www.ietf.org/mailman/listinfo/e-impact
>
>
> --
> E-impact mailing list
> E-impact@ietf.org
> https://www.ietf.org/mailman/listinfo/e-impact
>