From: Wido den Hollander <wido@42on.com>
To: 李沛伦 <lpl6338236@gmail.com>,
"ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: Will the number of objects that have ever existed be infinite?
Date: Sat, 23 May 2015 10:55:38 +0200 [thread overview]
Message-ID: <5560408A.5000906@42on.com> (raw)
In-Reply-To: <CAPS90kgipTtHpamtsT6C3ZBugn4djmDW7jXrveEf9FjKY1yoUQ@mail.gmail.com>
On 05/23/2015 08:58 AM, 李沛伦 wrote:
> Hello!
>
> I'm a GSoC student this year and my job is to introduce Missing Rate
> Curve (or reuse distance exactly) of objects into OSD. Now I'm trying
> to find a proper algorithm to implement but there is a problem: Should
> I take the number of objects tracked in an OSD as infinite or
> constant?
>
A OSD doesn't track on a per-object basis, but it keeps track of
Placement Groups (PGs). A OSD can have a X number of PGs.
Technically the number of PGs might be infinite, but in practice you are
bound to CPU and Memory limits.
So I would be careful with the word "infinite", since nothing is really
infinite, eg size of a int/long might be the limitation for something.
But in theory there is no object or PG limit per OSD.
> The point is that there is an algorithm that use hash to sample only
> constant number of references to do the analysis and is proved to be
> accurate, which makes it possible to do online MRC construction. That
> accuracy is supported by the fact that the memory addresses is
> bounded, while objects can be deleted and created again and again in
> Ceph. Is is reasonable to think that an OSD only serves bounded number
> of objects in its life time (or the time period that we want to
> compute MRC)?
>
> Any other comment about this project is also welcomed :)
>
--
Wido den Hollander
42on B.V.
Ceph trainer and consultant
Phone: +31 (0)20 700 9902
Skype: contact42on
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-05-23 8:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-23 6:58 Will the number of objects that have ever existed be infinite? 李沛伦
2015-05-23 8:55 ` Wido den Hollander [this message]
2015-05-24 15:47 ` Sage Weil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5560408A.5000906@42on.com \
--to=wido@42on.com \
--cc=ceph-devel@vger.kernel.org \
--cc=lpl6338236@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.