lkml.org 
[lkml]   [2008]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject2.6.26-rc2-mm1: sloooow mkfs.ext2
    mkfs.ext2 became kick-ass slow:

    + sudo mkfs.ext2 -F
    mke2fs 1.40.6 (09-Feb-2008)
    Warning: 256-byte inodes not usable on older systems
    Filesystem label=
    OS type: Linux
    Block size=4096 (log=2)
    Fragment size=4096 (log=2)
    9773056 inodes, 39072726 blocks
    1953636 blocks (5.00%) reserved for the super user
    First data block=0
    Maximum filesystem blocks=4294967296
    1193 block groups
    32768 blocks per group, 32768 fragments per group
    8192 inodes per group
    Superblock backups stored on blocks:
    ...

    Writing inode tables: 193/1193
    ^^^^
    counter moves slowly,
    occasional counting at what seems to be normal
    speed occur.

    160 GB SATA disk, no partitions.
    According to sysfs, CFQ is in use, the rest is compiled out.
    2.6.26-rc2 is fine, mkfs takes ~1 min.

    Slowdown is totally reproducible.


    CONFIG_ATA=y
    CONFIG_ATA_ACPI=y
    CONFIG_SATA_AHCI=y
    CONFIG_ATA_SFF=y
    CONFIG_ATA_PIIX=y
    CONFIG_PATA_JMICRON=y


    /sys/block/sdb/queue/iosched/back_seek_max
    16384
    /sys/block/sdb/queue/iosched/back_seek_penalty
    2
    /sys/block/sdb/queue/iosched/fifo_expire_async
    250
    /sys/block/sdb/queue/iosched/fifo_expire_sync
    120
    /sys/block/sdb/queue/iosched/quantum
    4
    /sys/block/sdb/queue/iosched/slice_async
    40
    /sys/block/sdb/queue/iosched/slice_async_rq
    2
    /sys/block/sdb/queue/iosched/slice_idle
    10
    /sys/block/sdb/queue/iosched/slice_sync
    100



    \
     
     \ /
      Last update: 2008-05-14 22:23    [W:0.024 / U:1.124 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site