因为它采用树的形式,树中有不同大小的节点,所以对分配的块大小没有限制。
Since it is maintained as a tree with varying sized nodes, there are no limitations on the allocation block sizes.
然后,按请求的大小分配一个新的块。
对于存储池中的每个条目,可以配置可从该条目分配的块的最小大小。
For each entry in the storage pool, it is possible to configure the minimum size of a chunk that can be allocated from that entry.
开发者会创建一个指定大小的Scoped内存域,当实例化一个对象的时候,会从这个域内分配一块空间给它。
A developer will create a scoped memory area of a specific size and when objects are instantiated the space for them will be allocated from this area.
extendsize-这是空间中可自动扩展的块的最小分配大小。
Extend size - this the minimum allocation size by which a chunk in this space can be automatically extended.
如果所需的大小大于现有的块,那么释放这个块,从另一个bucket分配一个新的块,把数据从原来的块转移到新的块中。
If the needed size happens to be greater than the existing block, the block is freed, a new block is allocated from a new bucket, and the data is moved from the old block to the new block.
这种策略把分配请求的大小向上取整到下一个可用的块大小。
This policy rounds off the size of the allocation request to the next highest available block.
在幕后,LVM系统以大小相等的“块”(称为“范围”)为单位分配存储量。
Behind the scenes, the LVM system allocates storage in equal-sized "chunks", called extents.
当用户需要一块内存时,就请求给自己分配一定大小的内存。
When users need a block of memory, they make a request for a given size.
在重新分配时,比较请求的大小和已分配块的大小。
During reallocation, the requested size is compared against the existing size of the allocated block.
然后,按请求的大小分配一个新的块。把数据从原来的块转移到新的块中,把新的块返回给调用者。
A new block of the requested size is then allocated, the data is moved from the original block to the new block, and the new block is returned to the caller.
扩展大小是该空间中一个块可自动扩展的最小分配大小。
The extend size is the minimum size by which a chunk in this space can be automatically extended.
chunk_size-从该设备上分配的块的最小大小。
Chunk_size - Minimum size of chunk to be allocated from this device.
通过为正文选择器(body selector,也称为块级元素)的font-size属性分配 62.5% 的值可以减小这个字体大小,如清单2 所示。
You can reduce this font size by assigning 62.5% to the font-size property of the body selector (also known as the block-level element) like shown in Listing 2.
同时,我分配一个属性的值到一个处理每个色块色彩、大小和位置信息的方法。
At the same time, I assign the value of that property to a method that handles the color, size, and position information for each color chip.
要做到这个,文件归档系统首先必须在硬盘上分配一个足够大小的数据块,然后再把数据写入到那些数据块中。
To do this, the filing system must first allocate a sufficient number of data blocks on the disk and then write the data to those blocks.
对应用数据分块,使得数据块大小符合通信子网mtu有效负载的要求,避免IP层分片需要重新分配缓冲区、计算校验和以及数据复制的费时操作。
Therefore, it can reduce one time data handling, 3 divide application data into blocks that content the demand of effective load of communication subnet MTU to avoid IP fragments.
对应用数据分块,使得数据块大小符合通信子网mtu有效负载的要求,避免IP层分片需要重新分配缓冲区、计算校验和以及数据复制的费时操作。
Therefore, it can reduce one time data handling, 3 divide application data into blocks that content the demand of effective load of communication subnet MTU to avoid IP fragments.
应用推荐