Optimal Block Size / Max Device Size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Would greater performance be seen by reading from a block device in its native block size, or by increasing the block size to PAGE_SIZE? Or is there even any difference in performance between logical block sizes at all? (And we are still supposed to use buffer_head, right? I can't see anything other than drivers using bio, and filesystems are still using sb_bread and such.)

And is there any way to increase the kernel-internal sector size? The ext4 development site says the maximum filesystem size addressable should be (filesystem-block-size * 2^64) but LDD3 says the maximum device size a driver can report is (512 * 2^64-1). (That should really be max sector number, not max size, because capacity 0 is useless and would allow 2^64 sectors to be addressed fully. As a side note.)

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux