Deep understanding of cloud storage and cloud computing-memory and disk

Source: Internet
Author: User

The biggest difficulty in large-scale data processing is:Full memory computing failure

Because the processed data is large, the disk must be processed, but the disk computing is very inefficient. Therefore, you must carefully consider the processing.Algorithm

Addressing

The memory works electronically. Therefore, the search speed is irrelevant to the physical structure. For addressing, only the microsecond level is required.

The disk requires 1 for addressing and 2 for moving the head. Since the disk rotation speed is limited, addressing consumes milliseconds.

* The operating system will store a continuous data together (win is usually 4 kb), so that the disk will rotate for a week to read more data, thus improving the efficiency

Transmission speed

Both memory and hard disk data are read into the CPU cache, but the transfer speed from memory to cache is very different from that from hard disk to cache.

The speed from memory to cache is about 7-8 GB/second, while the speed from disk to cache is about 60 MB/second.

Therefore, the speed difference between memory computing and disk computing can be more than 1 million times.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.