Subject: kern/27057: postmark on softdep filesystem leads to "wedge"
To: None <gnats-bugs@gnats.NetBSD.org>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 09/28/2004 12:04:22
>Number:         27057
>Category:       kern
>Synopsis:       postmark on softdep filesystem leads to "wedge"
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 28 02:05:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD -current, source sfrom 27 Sep 2004.
>Organization:
Wasabi Systems
>Environment:
Architecture: i386
Machine: i386
512MB RAM, 70GB empty softdep partition.
>Description:
        Running postmark with a large enough value for number of files
        and large enough file size (both numbers needed to be increased
        from the defaults) results in a system that is "mostly" wedged.
        Existing commands that don't need to allocate any more memory
        keep running (eg, top or systat), but new commands can not
        be started.  top reports 4kB (1 page!) free, and postmark
        is sleeping in "getblk".  The postmark command can not be
        interrupted or suspended.  An iostat command shows that the disk
        is seeing 350+ writes/sec and no reads, and is still doing this
        after 4 hours.

	The postmark test succeeds if I mount the filesystem without
	softdeps.

>How-To-Repeat:
        Install postmark from pkgsrc/benchmarks/postmark.  Then on a
        softdep filesystem:

	  $ postmark
	  pm>set seed 12345
	  pm>set number 20000
	  pm>set transactions 50000 
	  pm>set size 32768 524288
	  pm>run

>Fix:
        None given.
>Release-Note:
>Audit-Trail:
>Unformatted: