HAIL volunteer Rick Peralta
A message that is not in the archive (sent off-list or not yet received): 29025029.1248785350151.JavaMail.root@mswamui-andean.atl.sa.earthlink.net
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
(added hail-devel to CC, with permission)
Quoted 3 lines · Rick Peralta
Hi Jeff,
Is there someone taking the point for the chunkd development?
That's me, for the moment. :)
In general, since Pete and I are Linux kernel developers -- one of the largest open source projects in the world -- I think importing the tried-and-true kernel requirements for code maintainership makes sense:
Once you are intimately familiar with a codebase, and can answers others' questions about design and code, you have reached the level where you could be a maintainer.
But more importantly -- that is not important!
Just contribute code, because that is the why open source projects advance in a particular direction anyway. Linus Torvalds does not take point of the Linux kernel -- the people who actually write code do that.
Linus writes maybe 0.01% of the code these days. The people who code,
make the roadmap.
Quoted 6 lines
To get to 10 Gbe there may be a variety of problems:
1) If there are data copies, the multiplicative effect can saturate the memory system.
2) If the primary storage is rotating media (disk), it wold take 40+ devices to keep up (assuming large stripes).
3) There are artifacts of the VM system that show up at high bandwidth, especially if there is a lot of RAM.
4) The transaction frequency can become problematic, depending on the application.
5) Running a single network transport at 10 Gbe can be challenging.
Indeed, scaling up the networking and storage can have plenty of implications.
We saw some of this when I was first working with NIC hardware manufacturers to add the first 10 Gbe NIC drivers to the Linux kernel.
chunkd is intentionally message-based, which implies that non-TCP protocols could readily be bolted on, for use in data centers with 10 Gbe networks (AMQP? RDMA?).
Quoted 1 line
Is there an application profile that might be used as a performance metric? Something like total volume size (all media), total number of chunks, distribution of chunk sizes, aggregate bandwidth, et cetera.
This is unfortunately going to vary wildly depending on the application using chunkd (and the application using that, in turn).
To take tabled as an example, and assuming a "standard cloud node" hardware setup,
* total single-node volume size: one cheap SATA hard drive
* total number of chunks: ==
total number of tabled objects / number of storage nodes
* distribution of chunk sizes: dependent upon the application using tabled
* aggregate bandwidth: dependent upon the application using tabled
Quoted 1 line
If it matters I investigated building something very much like chunkd a while back and has some stringent performance criteria. It was not clear what general application demand there is. Is there a resource to get a sense of where there is real need?
You should read the GoogleFS paper referenced on the chunkd wiki page: http://labs.google.com/papers/gfs-sosp2003.pdf It describes the purpose and use of a chunk server, in the context of distributed cloud storage.
The demand is largely internal -- other Project Hail projects and outside distributed storage application should use chunkd in the creation of their own cloud-based service.
The intent is for tabled, nfs4d, and other distributed-storage projects to communicate with multiple chunkd's on multiple nodes, to accomplish replicated, highly available distributed storage.
If there is some specialized use of chunkd that you have in mind, we're interested in hearing that, too... I certainly want to enable as many applications as possible with these projects.
Regards,
Jeff
Quoted 3 lines · Jeff Garzik
Quoted 1 line
Is there someone taking the point for the chunkd development?
That's me, for the moment. :)
I have some short list todo for Chunk, after which I don't have any particular plans:
* Exit if CLD registration fails (maybe!).
* Put ourhost into the CLD record, and the port.
* Use base directory instead of Cell.
* Switch to asprintf for CLD filenames, Geo.
So far we managed hacking on same codebase with relative ease. Just make sure to post patches early.
Quoted 3 lines
You should read the GoogleFS paper referenced on the chunkd wiki page:
http://labs.google.com/papers/gfs-sosp2003.pdf It describes the purpose and use of a chunk server, in the context of distributed cloud storage.
I think we're at a point where we have our own base of knowledge and evolved an overall architecture to the point we don't have to ape every little detail of Google architecture. In particular I'm going to fight hard any talk of Chunk doing its own replication, for now at least.
-- Pete
Am Mittwoch, den 29.07.2009, 10:52 -0600 schrieb Pete Zaitcev:
Quoted 5 lines
I think we're at a point where we have our own base of knowledge and evolved an overall architecture to the point we don't have to ape every little detail of Google architecture. In particular I'm going to fight hard any talk of Chunk doing its own replication, for now at least.
Yes. I also think that chunkd should not do it's own replication. As the strategy may be domain/application dependend. Therefor I'd appreciate if chunkd would provide some kind of "copy(dst,sha)" function, to be able to directly copy to another chunkd instance.
- fabian
Quoted 8 lines · Pete Zaitcev
Quoted 2 lines · Jeff Garzik
Quoted 1 line
Is there someone taking the point for the chunkd development?
That's me, for the moment. :)
I have some short list todo for Chunk, after which I don't have any particular plans:
* Exit if CLD registration fails (maybe!).
Hopefully all this is wrapped up into libcldc, such that, an application needs to only worry about major, abstracted events after calling new-session:
* no master, after defined "hunt" procedure.
This includes both init and master failure (as distinguished from fail-over).
The application will need to be in the "no CLD session" state in both cases.
And indeed, exit() might be the best way to do that.
* master fail-over
Flush our [currently non-existent] CLD cache.
etc.
Quoted 3 lines
* Put ourhost into the CLD record, and the port.
* Use base directory instead of Cell.
* Switch to asprintf for CLD filenames, Geo.
agreed
Quoted 8 lines
So far we managed hacking on same codebase with relative ease. Just make sure to post patches early.
Quoted 1 line
You should read the GoogleFS paper referenced on the chunkd wiki page: http://labs.google.com/papers/gfs-sosp2003.pdf It describes the purpose and use of a chunk server, in the context of distributed cloud storage.
I think we're at a point where we have our own base of knowledge and evolved an overall architecture to the point we don't have to ape every little detail of Google architecture.
Well, until the wiki has a description of the basic idea of a chunk server, the Google paper will have to do.
The point is not that we are aping Google, but more to describe the general concept to someone who does not know what a chunk server is, and how a chunk server fits into the "grand design."
Quoted 3 lines
In particular I'm
going to fight hard any talk of Chunk doing its own replication, for now at least.
WRT chunkd and replication, yes, that's fine for version 1.0.
But consider which is more likely to have bandwidth to spare:
a) client -> service or b) service -> service
Of the two, I'd say "a" is a bit more likely to be remote (WAN) and have a slow-upload situation like my home cable modem (1 mbps down, 50 kbps up), and "b" is more likely to be LAN.
Or to take converse logic -- is it likely that service->service replication is SLOWER than client->service replication?
Every way I look at it, client->{service,service,service} replication seems both easy... and potentially slower than alternatives :)
Jeff
Quoted 13 lines · Jeff Garzik
Quoted 3 lines · Pete Zaitcev
In particular I'm
going to fight hard any talk of Chunk doing its own replication, for now at least.WRT chunkd and replication, yes, that's fine for version 1.0.
But consider which is more likely to have bandwidth to spare:
a) client -> service or b) service -> service
Quoted 5 lines
Of the two, I'd say "a" is a bit more likely to be remote (WAN) and have a slow-upload situation like my home cable modem (1 mbps down, 50 kbps up), and "b" is more likely to be LAN.
Or to take converse logic -- is it likely that
service->servicereplication is SLOWER thanclient->servicereplication?Every way I look at it, client->{service,service,service} replication seems both easy... and potentially slower than alternatives :)
To elaborate a bit more... there obviously are cases where you want the client to be the genesis of parallel data streams into the cloud.
My point was more that there are real world situations where multiple outgoing streams from the client is significantly slower than a single stream into the cloud, plus asking the cloud to perform further copies.
Jeff
Quoted 3 lines · Jeff Garzik
My point was more that there are real world situations where multiple outgoing streams from the client is significantly slower than a single stream into the cloud, plus asking the cloud to perform further copies.
We aren't exposing Chunk to clients outside the cloud, at least at present. Let's wait and see if applications exist that require it, and how they compete, say, with a bunch of NFS servers. The biggest difference about Chunk is its ability to plug into CLD. Drop that and it's not that special. But you can only use CLD if you are inside the cloud; in fact it works best when you're inside the same data center with the CLD cell. So I don't see the bandwidth argument having much weight.
I'm going to remember Fabian's idea of 3-rd party transfers, of course. That potentially offers a significant reduction of load on tabled. But mythical outside clients of Chunk are yet to be demostrated.
-- Pete
Quoted 12 lines · Pete Zaitcev
Quoted 1 line · Jeff Garzik
My point was more that there are real world situations where multiple outgoing streams from the client is significantly slower than a single stream into the cloud, plus asking the cloud to perform further copies.
We aren't exposing Chunk to clients outside the cloud, at least at present. Let's wait and see if applications exist that require it, and how they compete, say, with a bunch of NFS servers. The biggest difference about Chunk is its ability to plug into CLD. Drop that and it's not that special. But you can only use CLD if you are inside the cloud; in fact it works best when you're inside the same data center with the CLD cell. So I don't see the bandwidth argument having much weight.
Quoted 3 lines
I'm going to remember Fabian's idea of 3-rd party transfers, of course. That potentially offers a significant reduction of load on tabled. But mythical outside clients of Chunk are yet to be demostrated.
Note that "mythical outside clients" is a key design element in NFS v4.1, which is a parallel distributed filesystem technology. chunkd clients are quite a bit different from CLD clients.
Similarly, Hadoop DFS, CloudStore and GoogleFS clients [analagously] talk directly to chunkd rather than going through tabled.
Jeff
Am Mittwoch, den 29.07.2009, 13:59 -0400 schrieb Jeff Garzik:
Quoted 11 lines
Quoted 4 lines
Or to take converse logic -- is it likely that
service->servicereplication is SLOWER thanclient->servicereplication?Every way I look at it, client->{service,service,service}
replication
Quoted 1 line
seems both easy... and potentially slower than alternatives :)
To elaborate a bit more... there obviously are cases where you want the
client to be the genesis of parallel data streams into the cloud.
Quoted 5 lines
My point was more that there are real world situations where multiple outgoing streams from the client is significantly slower than a single
stream into the cloud, plus asking the cloud to perform further copies.
Yes, I agree that we just should have one stream per BLOB to one chunkd, but we might attach replication destinations when streaming this blob to one chunkd.
The result is, that we've just got one stream to a chunkd instance, including some replication destinations, and chunkd will hapilly spread the relpicates.
So we are just keeping the logic of where to replciate to, away from chunkd and leave it to the client (which can ask a third daemon) where to store the replicates.
dsts[] = logic->getDstsFor(blob)chunk->put(blob, dsts) /* Will return after successfull replc. */
The local in-cloud replication strategy, like chaining or parallel could be passed too, but might not be as relevant as the destinations itself.
- fabian
Quoted 13 lines · Fabian Deutsch
Am Mittwoch, den 29.07.2009, 13:59 -0400 schrieb Jeff Garzik:
Quoted 11 lines
Quoted 3 lines
Or to take converse logic -- is it likely that
service->servicereplication is SLOWER thanclient->servicereplication?Every way I look at it, client->{service,service,service}
replication
Quoted 1 line
seems both easy... and potentially slower than alternatives :)
To elaborate a bit more... there obviously are cases where you want the client to be the genesis of parallel data streams into the cloud.
My point was more that there are real world situations where multiple outgoing streams from the client is significantly slower than a single stream into the cloud, plus asking the cloud to perform further
copies.
Quoted 8 lines
Yes, I agree that we just should have one stream per BLOB to one chunkd, but we might attach replication destinations when streaming this blob to one chunkd. The result is, that we've just got one stream to a chunkd instance, including some replication destinations, and chunkd will hapilly spread the relpicates.
So we are just keeping the logic of where to replciate to, away from chunkd and leave it to the client (which can ask a third daemon) where to store the replicates.
I think we all agree on keeping the logic of where to replicate to, away from chunkd.
chunkd should be as dumb^H^H^Hsimple as possible, to permit maximum flexibility of chunkd-based applications.
chunkd-based applications will be the ones making chunk load balancing decisions, for example.
Quoted 5 lines
dsts[] =
logic->getDstsFor(blob)chunk->put(blob, dsts)/* Will return after successfull replc. */The local in-cloud replication strategy, like chaining or parallel could be passed too, but might not be as relevant as the destinations itself.
The more I think about this, the more I think this will simply become a configuration setting of the storage pool[1], i.e. inside tabled or nfs4d configuration.
That would permit local administrators to make a decision whether chaining (from the client!) or parallel should be used.
All of this, it must be noted, is long term discussion.
As of today, chunkd is "defacto" coded to be parallel-from-client because that's the only method possible today :)
Jeff
[1] Or perhaps the concept of a storage pool -- a collection of chunkd's shared by multiple applications -- will have its own configuration. Another long term discussion for another day...