Data structure and algorithm analysis in C language

Source: Internet
Author: User

P101 refers to the range of disk block sizes [32, 256], but

Http://pclt.sites.yale.edu/blog/2010/03/10/disk-block-size mentions that because there is a minimum unit of read and write (512byte, which now has 4096), So sometimes a buffer is used to save a bit more at the end of the file, but not enough to 512byte of the portion, until the buffer is full and then write together.

The internal node of the B-tree contains the number of keys [d,2d], in other words, the number of child nodes of the inner node is [d+1,2d+1], and an M-order B-tree refers to M = 2d+1

Https://en.wikipedia.org/wiki/B-tree

About blocks:

"The Linux kernel also requires block_size = Sector_size * (2 of the N-square), and block_size <= memory page_size (page size)" This is the next textual research, but generally speaking, the sector is physically present, Block is the concept of talking about the operating system, the page is memory-related concepts, the relationship seems to be right, another time to verify it.

Data structure and algorithm analysis in C language

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.