Re: Changing the default CHS used by Linux partition editors

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

 



On Thu, Dec 11, 2008 at 05:30:15PM -0500, Theodore Ts'o wrote:
> For SSD's and HDD's that use a 4k internal sector size, being 4k aligned

QLogic Fibre Channel HBA Driver: 8.01.02-d4
  QLogic QLA2342 - 133MHz PCI-X to 2Gb FC, Dual Channel
  ISP2312: PCI-X (133 MHz) @ 0000:04:04.0 hdma+, host#=2, fw=3.03.18 IPX
  Vendor: DDN       Model: S2A 8500          Rev: 5.20
  Type:   Direct-Access                      ANSI SCSI revision: 03
qla2300 0000:04:04.0: scsi(2:0:0:1): Enabled tagged queuing, queue depth 32.
SCSI device sdb: 1073741824 4096-byte hdwr sectors (4398047 MB)

 Is it example of 4K hw?

> makes a big difference because it avoids read-modify-write cycles.  We
> can achieve this easily if we simply use a CHS geometry of 56
> sectors/track instead of 63 sectors.  So, I would propose that we change
> the default geometry used by the partitioning tools in util-linux-ng,

 fdisk(8) in RHEL already supports

    fdisk -b 4096

 otherwise fdisk follows BLKSSZGET ioctl. The upstream fdisk supports
 "-b {512,1024,2048}" now.

> Does this make sense?  Am I missing some fatal flaw?

 I have the same questions :-) ... it's difficult without a real
 experience and the HW.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux