分区4K对齐问题在 Linux 中需要考虑吗? |
您所在的位置:网站首页 › 怎么验证4k对齐 › 分区4K对齐问题在 Linux 中需要考虑吗? |
众所周知,SSD 固态硬盘和新的经过4K高级格式化技术的机械硬盘物理上采用 4K 的簇。在使用 NTFS 文件系统的驱动器上,如果不针对 “4K 对齐”问题进行分区,那么格式化NTFS后会出现NTFS逻辑 4K 簇和硬盘的物理簇不对齐,影响性能。 那么在 Linux 是否需要进行 4K 对齐呢。如果在 Win 中进行 4K 对齐的 NTFS 分区重新格式化 EXT4 是不是直接适合 Linux 用呢! 我的分区! 3快硬盘都是在 Win7 分区进行 4K 对齐的。之后 /dev/sda 全部格式化成 EXT4 ,不过仅 /dev/sdb 是物理上 4K 簇的硬盘! Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x44655420 Device Boot Start End Blocks Id System /dev/sda1 * 2048 81397759 40697856 83 Linux /dev/sda2 81397760 162793471 40697856 83 Linux /dev/sda3 162793472 244189183 40697856 83 Linux /dev/sda4 244193278 976764927 366285825 f W95 Ext'd (LBA) /dev/sda5 244193280 488382463 122094592 83 Linux /dev/sda6 488384512 732573695 122094592 83 Linux /dev/sda7 732575744 976764927 122094592 83 Linux Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x8772d21e Device Boot Start End Blocks Id System /dev/sdb1 * 2048 488380415 244189184 7 HPFS/NTFS/exFAT /dev/sdb2 488380416 1953521663 732570624 f W95 Ext'd (LBA) /dev/sdb5 488382464 976760831 244189184 7 HPFS/NTFS/exFAT /dev/sdb6 976762880 1465141247 244189184 7 HPFS/NTFS/exFAT /dev/sdb7 1465143296 1953521663 244189184 7 HPFS/NTFS/exFAT Disk /dev/sdc: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x11bc896e Device Boot Start End Blocks Id System /dev/sdc1 * 2048 78143487 39070720 7 HPFS/NTFS/exFAT /dev/sdc2 78143488 312578047 117217280 f W95 Ext'd (LBA) /dev/sdc5 78145536 156286975 39070720 7 HPFS/NTFS/exFAT /dev/sdc6 156289024 234430463 39070720 7 HPFS/NTFS/exFAT /dev/sdc7 234432512 312573951 39070720 7 HPFS/NTFS/exFAT |
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |