for example, if the block size is 512k, so sub block size is 512k/32=16k.
when gpfs read a file size which is 32k, will it read only 2 sub block or the entire block contains 2 sub block.
Thanks very much.
Pinned topic which is the basic read unit in gpfs, sub block or block?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-10T15:44:42Z at 2013-01-10T15:44:42Z by SystemAdmin
dlmcnabb 120000P4JT1012 Posts
Re: which is the basic read unit in gpfs, sub block or block?2013-01-10T06:25:18ZThis is the accepted answer. This is the accepted answer.When reading sequentially, GPFS will read in fullblocks, or as many subblocks as there are to end of file. In this case it would read the complete 32K.
When doing random reads it only reads the actual sectors necessary to satisfy the read request. If the first read is at offset 0 of the file, it is assumed to be sequential until proven otherwise by non-sequential reads.
Re: which is the basic read unit in gpfs, sub block or block?2013-01-10T14:30:54ZThis is the accepted answer. This is the accepted answer.
- dlmcnabb 120000P4JT
i want to verify what you say. how to test it?
i do not see anything about which is the basic read unit in official gpfs document.
can you tell how do you know this?
Re: which is the basic read unit in gpfs, sub block or block?2013-01-10T15:44:42ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
Some SAN attached controllers let you collect stats ...