Is there a relation between available RAM and Ring size in OpenStack SWIFT?

96 views Asked by At

I was reading about OpenStack SWIFT and its different components. But I have a doubt, if available RAM is more, then can we afford to have Rings of bigger size ? And how does Ring Size affect the system ?

1

There are 1 answers

0
Anil Bhargava On

Ring size has nothing to do with the RAM size.

Following is the command to build the object Ring:

swift-ring-builder <builder_file> create <part_power> <replicas> <min_part_hours>

I am quoting the explanation text for above command from the documentation about ring-preparation.

This will start the ring build process creating the with 2^ partitions. is the time in hours before a specific partition can be moved in succession (24 is a good value for this).

It means if you choose to be 10 then 2^10=1024 partitions are going to be created.

You can read in detail from the SWIFT Administrator’s Guide.