From: Stan Hoeppner <stan@hardwarefreak.com>
To: xfs@oss.sgi.com
Subject: Re: xfs hang when filesystem filled
Date: Tue, 07 Aug 2012 08:04:28 -0500 [thread overview]
Message-ID: <5021125C.7060706@hardwarefreak.com> (raw)
In-Reply-To: <CAJ-WH_z+6HhooORtMKeO2=kURyiWMcxk_5eUbeBSz3cAXgRRfQ@mail.gmail.com>
On 8/7/2012 12:54 AM, Guk-Bong, Kwon wrote:
> HI all
>
> I tested xfs over nfs using bonnie++
>
> xfs and nfs hang when xfs filesystem filled
>
> What's the problem?
The problem is likely the OP has been given enough rope to hang himself. ;)
> b. lvcreate -L 90G -n test ld1
~90GB device
> data = bsize=4096 blocks=23592960, imaxpct=25
4096*23592960/1048576/1000= ~92GB filesystem
> bonnie++ -s 0 -n 200:1024000:1024000 -r 32G -d /test/ -u 0 -g 0 -q &
((((200*1024=204800 files)*(1024000 bytes))/1048576)/1000)= ~200GB
If my understanding of the bonnie++ options, and my math, are correct,
you are attempting to write 200GB of 1MB files, in parallel, over NFS,
to a 90GB filesystem. Adding insult to injury, you're mounting with
inode32, causing allocation to serialize on AG0, which will cause head
thrashing when alternating between writing directory information and
file extents.
So, first and foremost, you're attempting to write twice as many bytes
as the filesystem can hold. You're then hamstringing the filesystem's
ability to allocate in parallel. Inode64 would be a better choice here.
You didn't describe the underlying storage hardware, which will likely
have a role to play in the 120 second blocking and the unresponsiveness,
or "hang" as you describe it.
In summary, you're intentionally writing twice the bytes of the FS
capacity. Processes block due to latency, and the FS hangs.
What result were you expecting to see as a result of trying to
intentionally break things?
--
Stan
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-08-07 13:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-07 5:54 xfs hang when filesystem filled Guk-Bong, Kwon
2012-08-07 9:05 ` Burbidge, Simon A
2012-08-08 7:55 ` Guk-Bong, Kwon
2012-08-08 10:08 ` Dave Howorth
2012-08-08 10:28 ` Burbidge, Simon A
2012-08-07 10:18 ` Michael Monnerie
2012-08-07 13:04 ` Stan Hoeppner [this message]
2012-08-08 22:23 ` Dave Chinner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5021125C.7060706@hardwarefreak.com \
--to=stan@hardwarefreak.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox