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

Sunil Mushran sunil.mushran at oracle.com
Mon Aug 22 09:22:45 PDT 2011


On 08/22/2011 09:08 AM, Stefan Priebe - Profihost AG wrote:
> HI,
>
> here are all values. Just a side note all machines had a fresh reboot. 
> So these values are not right "after" the test.
>
>>>> Network latency:
>>>> cat /sys/kernel/debug/o2net/stats
> 1,3,992696,1284798776,6583557287,129962217930,15822,103963160
> 1,0,991090,1242030681,7180479582,150003421435,74,189353
> 1,2,1002340,1360444027,7088690084,131107733099,28796,112167428
>
>>>> Number of locks, etc:
>>>> cat /sys/kernel/debug/o2dlm/DOMAIN/dlm_state
>>> /sys/kernel/debug/ is empty - what do i miss?
> Domain: 2E60AF2024744D63848A13417DE66984  Key: 0xcdc07c07  Protocol: 1.1
> Thread Pid: 3669  Node: 1  State: JOINED
> Number of Joins: 1  Joining Node: 255
> Domain Map: 0 1 2 3
> Live Map: 0 1 2 3
> Lock Resources: 1863 (497079)
> MLEs: 0 (510131)
>   Blocking: 0 (13211)
>   Mastery: 0 (496920)
>   Migration: 0 (0)
> Lists: Dirty=Empty  Purge=Empty  PendingASTs=Empty  PendingBASTs=Empty
> Purge Count: 0  Refs: 1
> Dead Node: 255
> Recovery Pid: 3670  Master: 255  State: INACTIVE
> Recovery Map:
> Recovery Node State:
>
>> mount -t debugfs none /sys/kernel/debug

Well the values during and after the test will give better info.

BTW, how much memory do the nodes have?

Lock Resources: 1863 (497079)

This means that that node has created 497K lock resources
but have under 2000 cached. That could be due to deletes
or could be due to lack of memory (lock churning).

The network looks ok. 150usecs ping time between the nodes.



More information about the Ocfs2-users mailing list