On Sat, 18 Dec 2004, Jon Nelson wrote:

On Sat, 18 Dec 2004, Sonny Rao wrote:
...
Well, I'm not really sure what I'm looking for, but I did this:

fstest -n 50 -f 10000 -s 2048

Then, in another terminal, I ran this

find . | wc -l

Boom! disk light goes out, can't do ANYTHING with that filesystem, instantly.

I got fstest (I'm pretty sure mine is old) at:

http://samba.org/ftp/unpacked/junkcode/

Also, from slabtop at the current moment:

 10696  10695  99%    0.81K   2674        4     10696K jfs_ip

In this order: the contents of the files after boot, after cleaning the FS (due to the hanging), and then just a few seconds after it's hung (I can hang it almost instantly, 100% reproduceable).

===================================
Contents of: /proc/fs/jfs/lmstats
===================================

JFS Logmgr stats
================
commits = 0
writes submitted = 2
writes completed = 2
full pages submitted = 0
partial pages submitted = 0
===================================


=================================== Contents of: /proc/fs/jfs/mpstat ===================================

JFS Metapage statistics
=======================
page allocations = 12
page frees = 12
lock waits = 0
===================================


=================================== Contents of: /proc/fs/jfs/txstats ===================================

JFS TxStats
===========
calls to txBegin = 0
txBegin blocked by sync barrier = 0
txBegin blocked by tlocks low = 0
txBegin blocked by no free tid = 0
calls to txBeginAnon = 0
txBeginAnon blocked by sync barrier = 0
txBeginAnon blocked by tlocks low = 0
calls to txLockAlloc = 0
tLockAlloc blocked by no free lock = 0
===================================


=================================== Contents of: /proc/fs/jfs/xtstat ===================================

JFS Xtree statistics
====================
searches = 5
fast searches = 0
splits = 0
===================================


**** After clean but before test **** =================================== Contents of: /proc/fs/jfs/lmstats ===================================

JFS Logmgr stats
================
commits = 96584
writes submitted = 34132
writes completed = 34132
full pages submitted = 30797
partial pages submitted = 2373
===================================


=================================== Contents of: /proc/fs/jfs/mpstat ===================================

JFS Metapage statistics
=======================
page allocations = 1482201
page frees = 1482193
lock waits = 1
===================================


=================================== Contents of: /proc/fs/jfs/txstats ===================================

JFS TxStats
===========
calls to txBegin = 96584
txBegin blocked by sync barrier = 0
txBegin blocked by tlocks low = 37
txBegin blocked by no free tid = 0
calls to txBeginAnon = 0
txBeginAnon blocked by sync barrier = 0
txBeginAnon blocked by tlocks low = 0
calls to txLockAlloc = 1937690
tLockAlloc blocked by no free lock = 0
===================================


=================================== Contents of: /proc/fs/jfs/xtstat ===================================

JFS Xtree statistics
====================
searches = 749112
fast searches = 74271
splits = 0
===================================



**** While hung ****
===================================
Contents of: /proc/fs/jfs/lmstats
===================================

JFS Logmgr stats
================
commits = 116220
writes submitted = 38720
writes completed = 38720
full pages submitted = 34252
partial pages submitted = 3203
===================================


=================================== Contents of: /proc/fs/jfs/mpstat ===================================

JFS Metapage statistics
=======================
page allocations = 1548192
page frees = 1547972
lock waits = 14
===================================


=================================== Contents of: /proc/fs/jfs/txstats ===================================

JFS TxStats
===========
calls to txBegin = 116224
txBegin blocked by sync barrier = 0
txBegin blocked by tlocks low = 48
txBegin blocked by no free tid = 12
calls to txBeginAnon = 10645
txBeginAnon blocked by sync barrier = 0
txBeginAnon blocked by tlocks low = 73
calls to txLockAlloc = 2131739
tLockAlloc blocked by no free lock = 5
===================================


=================================== Contents of: /proc/fs/jfs/xtstat ===================================

JFS Xtree statistics
====================
searches = 789286
fast searches = 94616
splits = 0
===================================



--
Jon Nelson <[EMAIL PROTECTED]>
_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion

Reply via email to