From: Wido den Hollander <wido@42on.com>
To: Sage Weil <sage@newdream.net>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: CephFS hangs when writing 10GB files in loop
Date: Wed, 17 Dec 2014 17:43:10 +0100 [thread overview]
Message-ID: <5491B29E.7080005@42on.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1412170839370.1008@cobra.newdream.net>
On 12/17/2014 05:40 PM, Sage Weil wrote:
> On Wed, 17 Dec 2014, Wido den Hollander wrote:
>> Hi,
>>
>> Today I've been playing with CephFS and the morning started great with
>> CephFS playing along just fine.
>>
>> Some information first:
>> - Ceph 0.89
>> - Linux kernel 3.18
>> - Ceph fuse 0.89
>> - One Active MDS, one Standby
>>
>> This morning I could write a 10GB file like this using the kclient:
>> $ dd if=/dev/zero of=10GB.bin bs=1M count=10240 conv=fsync
>>
>> That gave me 850MB/sec (all 10G network) and I could read the same file
>> again with 610MB/sec.
>>
>> After writing to it multiple times it suddenly started to hang.
>>
>> No real evidence on the MDS (debug mds set to 20) or anything on the
>> client. That specific operation just blocked, but I could still 'ls' the
>> filesystem in a second terminal.
>>
>> The MDS was showing in it's log that it was checking active sessions of
>> clients. It showed the active session of my single client.
>>
>> The client renewed it's caps and proceeded.
>>
>> I currently don't have any logs, but I'm just looking for a direction to
>> be pointed towards.
>
> Hmm. Try
>
> cat /sys/kernel/debug/ceph/*/mdsc
> cat /sys/kernel/debug/ceph/*/osdc
>
I'll check that, good point.
> to see requests in flight (you may need to mount -t debugfs none
> /sys/kernel/debug first). What kernel version?
>
I tried with 3.18
Also tried with ceph-fuse 0.89, same result. It is slower, but it also
hangs at some point.
> sage
>
--
Wido den Hollander
42on B.V.
Ceph trainer and consultant
Phone: +31 (0)20 700 9902
Skype: contact42on
next prev parent reply other threads:[~2014-12-17 16:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-17 16:35 CephFS hangs when writing 10GB files in loop Wido den Hollander
2014-12-17 16:40 ` Sage Weil
2014-12-17 16:43 ` Wido den Hollander [this message]
2014-12-17 18:42 ` Gregory Farnum
2014-12-18 10:13 ` Wido den Hollander
2014-12-18 15:54 ` Wido den Hollander
2014-12-18 16:32 ` Atchley, Scott
2014-12-18 20:50 ` Wido den Hollander
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=5491B29E.7080005@42on.com \
--to=wido@42on.com \
--cc=ceph-devel@vger.kernel.org \
--cc=sage@newdream.net \
/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