Re: [Extra] draft-ietf-extra-quota: 64 bit numbers

Stephan Bosch <stephan.bosch@open-xchange.com> Mon, 22 June 2020 17:51 UTC

Return-Path: <stephan.bosch@open-xchange.com>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 866883A1038 for <extra@ietfa.amsl.com>; Mon, 22 Jun 2020 10:51:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=open-xchange.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aSMaBvnNkD09 for <extra@ietfa.amsl.com>; Mon, 22 Jun 2020 10:51:49 -0700 (PDT)
Received: from mx3.open-xchange.com (alcatraz.open-xchange.com [87.191.39.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ADC053A1037 for <extra@ietf.org>; Mon, 22 Jun 2020 10:51:49 -0700 (PDT)
Received: from open-xchange.com (imap.open-xchange.com [10.20.30.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx3.open-xchange.com (Postfix) with ESMTPS id 930326A230; Mon, 22 Jun 2020 19:51:43 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=open-xchange.com; s=201705; t=1592848303; bh=eoa/qFUt1CAHjSkOQzEx2FzwVA/FSWA5zfWIkpSYy2k=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=s4N0rsy9pZNfcwDY/ud4tczzZuV4qhI/Svf8CxPOZ6ju5XrHWZxNYxDh1yvxECQ72 +NbML62hStQCJxBnJRZ52/QtRPLIhTxjsBSY4rOvnblXtHfKmyfXbOfi8lajNDNaGL W+8HGKnfG3711AYNHVRaZ5gc/lnmet/gWBn5haPkzCXZ/Pjvg4y1aoRlomvGaBW5EC 5+EsfkVrYlE4cYLb2TVmI1AHYX/XBLlZ9OL4zuoEEobYnA6jASppkfNOfcp9CJEf+Y Vb9I6FlHUSzohFXKrWMs0rZ6k8h4/ajacJTBe7B/uSzMfxTytWF+tjElVEZUGFpaWZ ARJ76PyJsCYgA==
Received: from [10.168.3.2] (unknown [10.217.131.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by open-xchange.com (Postfix) with ESMTPSA id 456273C004B; Mon, 22 Jun 2020 19:51:43 +0200 (CEST)
To: Timo Sirainen <timo@sirainen.com>, Alexey Melnikov <alexey.melnikov@isode.com>
Cc: extra <extra@ietf.org>
References: <D5959732-6733-4747-B0F9-7302A0471767@sirainen.com> <dd80189f-7aed-b49c-da12-0d2dc80be907@isode.com> <41C5AB52-3FA9-4711-A254-492CF6B64F01@sirainen.com>
From: Stephan Bosch <stephan.bosch@open-xchange.com>
Message-ID: <e6397215-6b9a-e393-c321-d388bdff4dd5@open-xchange.com>
Date: Mon, 22 Jun 2020 19:51:42 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0
MIME-Version: 1.0
In-Reply-To: <41C5AB52-3FA9-4711-A254-492CF6B64F01@sirainen.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/DNGg0see7QzsagcHHkNmJcHTHic>
Subject: Re: [Extra] draft-ietf-extra-quota: 64 bit numbers
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Jun 2020 17:51:52 -0000


On 22/06/2020 14:23, Timo Sirainen wrote:
> On 22. Jun 2020, at 15.11, Alexey Melnikov <alexey.melnikov@isode.com> wrote:
>>
>> On 17/06/2020 22:30, Timo Sirainen wrote:
>>
>>>>     The usage of a resource MUST be represented as a 32 bit unsigned
>>>>     integer.
>>> I think we should go for 64 bit numbers already. RES-STORAGE is now limited to 4 terabytes, which is rather high value for a single user's limit for now, but I could imagine it being a possibility in some more years. Maybe even already in email systems that use only a few users. Also there's already an example:
>>>
>>>        C: G0001 GETQUOTA "!partition/sda4"
>>>        S: * QUOTA "!partition/sda4" (STORAGE 104 10923847)
>>>        S: G0001 OK Getquota complete
>>>
>>> The 4 TB limit can already be easily reached if describing a filesystem size.
>>
>> Sounds good. Shall we make it 63 bits to make it easier to implement for Java based implementations?
> 
> Yes. I think this 63/64bit issue was discussed some time ago already. Maybe related to some other extension.


This is mentioned in STATUS=SIZE, and in draft IMAP4rev2 by inference.

Regards,

Stephan.
> 
> _______________________________________________
> Extra mailing list
> Extra@ietf.org
> https://www.ietf.org/mailman/listinfo/extra
>