[Ocfs2-users] Slow OCFS2 file creation / how to make ocfs2 generally faster?

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Mon Aug 22 09:01:27 PDT 2011


> What features do you have enabled on disk?
> debugfs.ocfs2 -R "stats" /dev/sdX

The disks were formated using max-features flag. The output looks like this:
       Revision: 0.90
         Mount Count: 0   Max Mount Count: 20
         State: 0   Errors: 0
         Check Interval: 0   Last Check: Wed Aug  3 12:20:20 2011
         Creator OS: 0
         Feature Compat: 3 backup-super strict-journal-super
         Feature Incompat: 16208 sparse extended-slotmap inline-data 
metaecc xattr indexed-dirs refcount discontig-bg
         Tunefs Incomplete: 0
         Feature RO compat: 7 unwritten usrquota grpquota
         Root Blknum: 5   System Dir Blknum: 6
         First Cluster Group Blknum: 3
         Block Size Bits: 12   Cluster Size Bits: 12
         Max Node Slots: 8
         Extended Attributes Inline Size: 256
         Label: ocfs2
         UUID: 2E60AF2024744D63848A13417DE66984
         Hash: 2985671674 (0xb1f5bbfa)
         DX Seed[0]: 0xd7cb3bf0
         DX Seed[1]: 0xb630f905
         DX Seed[2]: 0xc126a149
         Cluster stack: classic o2cb
         Inode: 2   Mode: 00   Generation: 2304813421 (0x8960a96d)
         FS Generation: 2304813421 (0x8960a96d)
         CRC32: 8a254ba7   ECC: 0896
         Type: Unknown   Attr: 0x0   Flags: Valid System Superblock
         Dynamic Features: (0x0)
         User: 0 (root)   Group: 0 (root)   Size: 0
         Links: 0   Clusters: 21482248
         ctime: 0x4e3920e4 -- Wed Aug  3 12:20:20 2011
         atime: 0x0 -- Thu Jan  1 01:00:00 1970
         mtime: 0x4e3920e4 -- Wed Aug  3 12:20:20 2011
         dtime: 0x0 -- Thu Jan  1 01:00:00 1970
         ctime_nsec: 0x00000000 -- 0
         atime_nsec: 0x00000000 -- 0
         mtime_nsec: 0x00000000 -- 0
         Refcount Block: 0
         Last Extblk: 0   Orphan Slot: 0
         Sub Alloc Slot: Global   Sub Alloc Bit: 65535

> Network latency:
> cat /sys/kernel/debug/o2net/stats
> Number of locks, etc:
> cat /sys/kernel/debug/o2dlm/DOMAIN/dlm_state
/sys/kernel/debug/ is empty - what do i miss?

Stefan



More information about the Ocfs2-users mailing list