Talk:Block (data storage)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing (Rated Stub-class)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Stub-Class article Stub  This article has been rated as Stub-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
 
WikiProject Measurement (Rated Stub-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Measurement, a collaborative effort to improve the coverage of Measurement on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Stub-Class article Stub  This article has been rated as Stub-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.
 

What does blocking "facilitate"?[edit]

Blocking is used to facilitate the handling of the data-stream by the computer program receiving the data. Since when does blocking make it easier to write software? It is a performance optimization, it does not make programming easier, quite the opposite, since data cannot be accessed as fine-grained as needed, but only in fixed chunk sizes. I would suggest to either remove this phrase, or clarify what exactly is "faciliatated". — Preceding unsigned comment added by 88.219.64.64 (talk) 08:37, 27 April 2014 (UTC)

Makes sense. I changed this. What it does is speed up I/O by reducing the number of seeks and interrupts. It doesn't do anything for the aplication since it's usually handled transparently by the OS. It also can save space on external media. Peter Flass (talk) 12:13, 27 April 2014 (UTC)

Average Size of Slack Space[edit]

> This will create slack space, which averages half a block per file.

This line is specious. It assumes an even distribution of file-sizes from one end of the distribution (modulus block-size) to the other. This is not guaranteed, even when all files on all systems in the world are considered. For example, it could be that of all files, a disproportionately large number have an even number of bytes. — Preceding unsigned comment added by Synetech (talkcontribs) 06:30, 23 December 2011 (UTC)

Analogy to framing or paging[edit]

Is there any value in adding a description of blocking as being analogous to framing or to Pages in logical address space? Stephen Charles Thompson (talk) 18:10, 24 January 2012 (UTC)

Optimal blocksize?[edit]

Setting a large block size wastes disk space but does it have a benefit? Having a small block size on the other hand saves disk space but is there a drawback? 212.226.64.54 (talk) 16:06, 3 December 2012 (UTC)

Yes in both cases. I added a statement about blocking sometimes reducing external storage requirements. Also blocking reduces the number of I/O operations to process a file. Peter Flass (talk) 14:43, 27 April 2014 (UTC)