Got it

Difference between EC and Three-Copy

Created: Oct 26, 2021 11:43:49Latest reply: Oct 27, 2021 11:23:37 236 4 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Dear all,

What's the difference between EC and Three-Copy? Thank you.

Featured Answers

Recommended answer

little_fish
Admin Created Oct 26, 2021 11:45:22

Dear Axe,

As shown in Table 1, the space utilization in EC mode is higher than that in multi-copy mode. Therefore, the EC redundancy protection mechanism is recommended. Thanks.

Table 1 Differences between EC and multi-copy

Item

EC (N+M)

Three-Copy

Space Utilization

At least 66%

The utilization increases as the value of N increases.

33%

Reliability

  • Cabinet-level security: The system can tolerate the failures of M cabinets or M nodes.

  • Server-level security: The system can tolerate the failures of M nodes or M disks.

The system can tolerate the failures of any two cabinets (cabinet-level reliability), two nodes, or two disks.

  • Cabinet-level security: A maximum of two faulty cabinets are allowed.

  • Server-level security: A maximum of two faulty nodes are allowed.

Rebuilding

Data needs to be decoded by EC to obtain the target fragments.

Data is copied from another disk and then rebuilt.

SSD cache service life

When the service I/Os are the same and the number of invalid I/Os is small, the total number of writes is 2/3 of that in the three-copy storage mode, and the SSD cache consumption is small.

When the service I/Os are the same and the number of invalid I/Os is large, the total number of writes is 1.5 times that of EC, and the SSD cache consumption is high.


View more
  • x
  • convention:

user_4397771
user_4397771 Created Oct 27, 2021 10:08:19 (0) (0)
 
All Answers

Dear Axe,

As shown in Table 1, the space utilization in EC mode is higher than that in multi-copy mode. Therefore, the EC redundancy protection mechanism is recommended. Thanks.

Table 1 Differences between EC and multi-copy

Item

EC (N+M)

Three-Copy

Space Utilization

At least 66%

The utilization increases as the value of N increases.

33%

Reliability

  • Cabinet-level security: The system can tolerate the failures of M cabinets or M nodes.

  • Server-level security: The system can tolerate the failures of M nodes or M disks.

The system can tolerate the failures of any two cabinets (cabinet-level reliability), two nodes, or two disks.

  • Cabinet-level security: A maximum of two faulty cabinets are allowed.

  • Server-level security: A maximum of two faulty nodes are allowed.

Rebuilding

Data needs to be decoded by EC to obtain the target fragments.

Data is copied from another disk and then rebuilt.

SSD cache service life

When the service I/Os are the same and the number of invalid I/Os is small, the total number of writes is 2/3 of that in the three-copy storage mode, and the SSD cache consumption is small.

When the service I/Os are the same and the number of invalid I/Os is large, the total number of writes is 1.5 times that of EC, and the SSD cache consumption is high.


View more
  • x
  • convention:

user_4397771
user_4397771 Created Oct 27, 2021 10:08:19 (0) (0)
 
Good
View more
  • x
  • convention:

Thanks.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.