Re: [alto] Discussion II: Unifying cost-mode and cost-type to a single type

Sebastian Kiesel <ietf-alto@skiesel.de> Sat, 23 February 2013 16:24 UTC

Return-Path: <sebi@gw01.ehlo.wurstkaes.de>
X-Original-To: alto@ietfa.amsl.com
Delivered-To: alto@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F222321F8FD5 for <alto@ietfa.amsl.com>; Sat, 23 Feb 2013 08:24:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OcDW2yACh+ty for <alto@ietfa.amsl.com>; Sat, 23 Feb 2013 08:24:12 -0800 (PST)
Received: from gw01.ehlo.wurstkaes.de (gw01.ehlo.wurstkaes.de [IPv6:2a02:a00:e000:116::41]) by ietfa.amsl.com (Postfix) with ESMTP id D52C521F8FAE for <alto@ietf.org>; Sat, 23 Feb 2013 08:24:11 -0800 (PST)
Received: from sebi by gw01.ehlo.wurstkaes.de with local (Exim 4.72) (envelope-from <sebi@gw01.ehlo.wurstkaes.de>) id 1U9HtG-0007zr-Me; Sat, 23 Feb 2013 17:23:58 +0100
Date: Sat, 23 Feb 2013 17:23:58 +0100
From: Sebastian Kiesel <ietf-alto@skiesel.de>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Message-ID: <20130223162358.GH9265@gw01.ehlo.wurstkaes.de>
References: <45A697A8FFD7CF48BCF2BE7E106F06040901008C@xmb-rcd-x04.cisco.com> <CD4D112F.36160%w.roome@alcatel-lucent.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CD4D112F.36160%w.roome@alcatel-lucent.com>
Accept-Languages: en, de
Organization: my personal mail account
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: alto@ietf.org
Subject: Re: [alto] Discussion II: Unifying cost-mode and cost-type to a single type
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Application-Layer Traffic Optimization \(alto\) WG mailing list" <alto.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/alto>, <mailto:alto-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/alto>
List-Post: <mailto:alto@ietf.org>
List-Help: <mailto:alto-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/alto>, <mailto:alto-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 23 Feb 2013 16:24:13 -0000

Hi,

your observations regarding the "routing cost" cost type are right - we
cannot say more than "lower ist better" and there is no way to compare
values retrieved from different ALTO servers. This was a conscious
decision for the default cost type.  Personally, I would have preferred
to call the default cost type "relative preference" in order to 1) show
that this is indeed a relative measure, 2) remove the ambiguity whether
cost is to be understood in the sense of routing protocols as opposed to
monetary cost for sending traffic over specific links, and 3) explicitly
allow the ALTO server operator to express preferences based on
completely different issues than "cost".


On the other hand, there are many other cost types (or "rating
criteria", as the ALTO requirements document RFC 6708 calls them), where
an exact specification how to compute and how to encode them makes
sense, e.g.:

- draft-scharf-alto-vpn-service-00  talks about publishing the
  geographical location of a data center using ALTO. How excatly
  do we encode longitude/latitude?   This might fit into two lines
  of text directly in the IANA registry.

- Hop count, defined as the one-way TTL decrease you will observe 
  in the IP packet header when sending packets to the target host
  -> a well defined measure that can be compared among servers

- Weighted path length, maybe something like 

path_length := 
    2 * (Number of traversed  10 Gbps links in the access networks)
  + 4 * (Number of traversed   1 Gbps links in the access networks)
 + 19 * (Number of traversed 100 Mbps links in the access networks)
 + 100 *(Number of traversed  10 Mbps links in the access networks)
 + 30 * (Number of traversed Autonomous Systems between the access n.w's)

  This is for illustration only - the weights in each line probably need
  tweaking.  Such a rather long definition probably needs an own
  specification document before registering.
  
- For a longer list of other criteria we discussed long time ago see 
  section 5 of http://tools.ietf.org/id/draft-ietf-alto-reqs-06.txt



So for me the conclusion is: the fact that we cannot compare our
default cost type "routing cost" between different ALTO servers does
not contradict the need to establish a registry for registering and
defining more complex cost types, which may or may not have clear
scaling factors or units of measurement.

Thanks
Sebastian






On Fri, Feb 22, 2013 at 12:50:59PM -0500, Wendy Roome wrote:
> Okay, I can avoid the IANA registration requirements by using "priv:" or
> "exp:" for custom Cost Types.
> 
> But that doesn't answer the question of *why* we should register Cost Types.
> What's the advantage? How does that benefit us? That's a serious question.
> To me, registration looks like an annoyance without any redeeming benefit.
> 
> I realize that the goal might have been to make costs interoperable, but I
> don't think registration accomplishes that. Take "routingcost". I believe
> all the IANA registration says is that "routingcost is a non-negative
> number, and lower is better". I don't think that's enough. To make
> routingcost interoperable, I'd like to know what "40" means. Better yet, I
> think "interoperable" would mean that I could compare routingcost values
> between different ALTO servers, so 40 on one server means roughly the same
> as 40 on another server.
> 
> That's clearly not true.
> 
> Here's a sample use-case. I want to select a host for new VM. The VM manager
> gives me the CPU load (0.0 to 1.0) for several hosts. I then ask an ALTO
> server for the routingcosts between my client and each of those hosts. I run
> a function to blend the alto cost and the cpu load into an overall cost,
> using the appropriate weighting and scaling factors, and I select the host
> with the lowest overall cost.
> 
> So how do I determine those scaling factors? The IANA registry doesn't help.
> I have to talk to the folks who provide that ALTO server, or else just look
> at the values it returns. If I switch to a different ALTO server, I'll have
> to start over again.
> 
> To me, that is not "interoperable". To me, "interoperable" would mean that I
> could determine the scaling factors just from the central registry, and use
> the same factors with any ALTO server.
> 
> As it stands now, "routingcost" values are only meaningful in the context of
> a specific ALTO server. So even though "routingcost" is registered, it's
> still a custom cost that varies widely from server to server. So what's the
> benefit to registration?
> 
> Sorry to be a pest, but it seems that a while back, someone just declared,
> "Well, of course we should to register cost types!" Since then we've all
> accepted that on blind faith. All I'm asking is for is why registration
> helps.
> 
> - Wendy Roome
> 
> 
> From:  "Reinaldo Penno (repenno)" <repenno@cisco.com>
> Date:  Thu, February 21, 2013 12:16
> To:  Bill Roome <w.roome@alcatel-lucent.com>, "alto@ietf.org"
> <alto@ietf.org>
> Subject:  Re: [alto] Discussion II: Unifying cost-mode and cost-type to a
> single type
> 
> This is what you need. A private cost you can use within your ALTO servers
> and domain.
> 
> "Identifiers prefixed with ¹priv:¹ are reserved for Private Use"
> 
> 
> 

> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto