All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jim Schutt" <jaschut@sandia.gov>
To: Greg Farnum <greg@inktank.com>
Cc: ceph-devel@vger.kernel.org, Sage Weil <sage@inktank.com>,
	Wido den Hollander <wido@42on.com>
Subject: Re: CephFS Space Accounting and Quotas
Date: Mon, 11 Mar 2013 08:47:31 -0600	[thread overview]
Message-ID: <513DEE83.8030909@sandia.gov> (raw)
In-Reply-To: <391D23EA41AE4F05BCE2E6367BA0FC3C@inktank.com>

On 03/08/2013 07:05 PM, Greg Farnum wrote:
> On Friday, March 8, 2013 at 2:45 PM, Jim Schutt wrote:
>> On 03/07/2013 08:15 AM, Jim Schutt wrote:
>>> On 03/06/2013 05:18 PM, Greg Farnum wrote:
>>>> On Wednesday, March 6, 2013 at 3:14 PM, Jim Schutt wrote:
>>>  
>>  
>>  
>>  
>> [snip]
>>  
>>>>> Do you want the MDS log at 10 or 20?
>>>> More is better. ;)
>>>  
>>>  
>>>  
>>> OK, thanks.
>>  
>> I've sent some mds logs via private email...
>>  
>> -- Jim  
> I'm going to need to probe into this a bit more, but on an initial
> examination I see that most of your stats are actually happening very
> quickly — it's just that occasionally they take quite a while.

Interesting...

> Going
> through the MDS log for one of those, the inode in question is
> flagged with "needsrecover" from its first appearance in the log —
> that really shouldn't happen unless a client had write caps on it and
> the client disappeared. Any ideas? The slowness is being caused by
> the MDS going out and looking at every object which could be in the
> file — there are a lot since the file has a listed size of 8GB.

For this run, the MDS logging slowed it down enough to cause the
client caps to occasionally go stale.  I don't think it's the cause
of the issue, because I was having it before I turned MDS debugging
up.  My client caps never go stale at, e.g., debug mds 5.

Otherwise, there were no signs of trouble while writing the files.

Can you suggest which kernel client debugging I might enable that
would help understand what is happening?  Also, I have the full
MDS log from writing the files, if that will help.  It's big (~10 GiB).

> (There are several other mysteries here that can probably be traced
> to different varieties of non-optimal and buggy code as well — there
> is a client which has write caps on the inode in question despite it
> needing recovery, but the recovery isn't triggered until the stat
> event occurs, etc).

OK, thanks for taking a look.  Let me know if there is other
logging I can enable that will be helpful.

-- Jim

> -Greg
> 
> Software Engineer #42 @ http://inktank.com | http://ceph.com 
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2013-03-11 14:47 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <sfid-H20130305-170326-+024.05-1@marduk.tchpc.tcd.ie>
2013-03-05 17:03 ` CephFS First product release discussion Greg Farnum
2013-03-05 18:08   ` Wido den Hollander
2013-03-05 18:17     ` Greg Farnum
2013-03-05 18:28       ` Sage Weil
2013-03-05 18:36         ` Wido den Hollander
2013-03-05 18:48           ` Jim Schutt
2013-03-05 19:33           ` Sage Weil
2013-03-06 17:24             ` Wido den Hollander
2013-03-06 19:07             ` Jim Schutt
2013-03-06 19:13               ` CephFS Space Accounting and Quotas (was: CephFS First product release discussion) Greg Farnum
2013-03-06 19:58                 ` CephFS Space Accounting and Quotas Jim Schutt
2013-03-06 20:21                   ` Greg Farnum
2013-03-06 21:28                     ` Jim Schutt
2013-03-06 21:39                       ` Greg Farnum
2013-03-06 23:14                         ` Jim Schutt
2013-03-07  0:18                           ` Greg Farnum
2013-03-07 15:15                             ` Jim Schutt
2013-03-08 22:45                               ` Jim Schutt
2013-03-09  2:05                                 ` Greg Farnum
2013-03-11 14:47                                   ` Jim Schutt [this message]
2013-03-11 15:48                                     ` Greg Farnum
2013-03-11 16:48                                       ` Jim Schutt
2013-03-11 16:57                                         ` Greg Farnum
2013-03-11 20:40                                           ` Jim Schutt
2013-03-12 22:34                                             ` Jim Schutt
     [not found]                                               ` <513FAE0F.2010608@sandia.gov>
     [not found]                                                 ` <BE627BF4B6E74BD49037D07821FC1DB9@inktank.com>
     [not found]                                                   ` <5143AA84.50409@sandia.gov>
2013-03-15 23:17                                                     ` Greg Farnum
2013-03-18 14:19                                                       ` Jim Schutt
2013-03-06 21:42                     ` Sage Weil
2013-03-06  5:01   ` [ceph-users] CephFS First product release discussion Neil Levine
     [not found]     ` <CANygib-U_MQi1TMmQuT_Q9MVwPfT+PzJwN=+BMcBK69WuRfu3w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-07 13:11       ` Félix Ortega Hortigüela
     [not found]   ` <E0B1337A572647BA9FCC0CE8CA946F42-4GqslpFJ+cxBDgjK7y7TUQ@public.gmane.org>
2013-03-07 11:54     ` Jimmy Tang

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=513DEE83.8030909@sandia.gov \
    --to=jaschut@sandia.gov \
    --cc=ceph-devel@vger.kernel.org \
    --cc=greg@inktank.com \
    --cc=sage@inktank.com \
    --cc=wido@42on.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.