From: David Nellans <david@nellans.org>
To: Nan WANG <wangnan@cnnic.cn>, fio@vger.kernel.org
Subject: Re: Urgent problem while using Fio to test random write performance
Date: Thu, 21 May 2015 09:22:58 -0500 [thread overview]
Message-ID: <555DEA42.8020209@nellans.org> (raw)
In-Reply-To: <555D9487.3040104@cnnic.cn>
you're randwrite to a raw partition. if you had a filesystem on that
partition you were trying to use, then well, your data is gone/corrupted.
without a filesystem on it, i'm not sure how you'd think that your disc
usage has become "100%" without some xgui widgit warning you, so seems
likely you did something you didn't mean to with regards to writing to
/dev/sdb1 directly
if you use fio on devices/partitions with a filesystem, you need to have
it write to files or it will trash your filesystem
On 05/21/2015 03:17 AM, Nan WANG wrote:
> hi all~
> I wanted to use fio to test random write performance, the command
> line is as forllowing:
>
> fio --filename=/dev/sdb1 --direct=1 --iodepth 1 --thread
> --rw=randwrite --ioengine=psync --bs=16k --size=200G --numjobs=10
> --runtime=1000 --group_reporting --name=mytest
>
> After the execution of fio finished, my disc usage become 100%, is
> there any method to release the content written by Fio?
>
> Thanks a lot in advance!!
>
next prev parent reply other threads:[~2015-05-21 14:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-21 8:17 Urgent problem while using Fio to test random write performance Nan WANG
2015-05-21 14:22 ` David Nellans [this message]
2015-05-21 20:39 ` Sitsofe Wheeler
2015-05-22 1:07 ` Jens Axboe
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=555DEA42.8020209@nellans.org \
--to=david@nellans.org \
--cc=fio@vger.kernel.org \
--cc=wangnan@cnnic.cn \
/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