linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BTree lock contention
@ 2012-12-18  4:24 Atri Sharma
  2012-12-18 14:04 ` Josef Bacik
  0 siblings, 1 reply; 9+ messages in thread
From: Atri Sharma @ 2012-12-18  4:24 UTC (permalink / raw)
  To: linux-btrfs

Hi All,

I was looking through the project ideas page for picking up a project
do start working with BTRFS. I am really interested in Btree lock
contention project, but it seems to be marked that it has already been
done in v3.1

Is the project still open? Can I work on it?

Regards,

Atri

--
Regards,

Atri
l'apprenant

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: BTree lock contention
  2012-12-18  4:24 BTree lock contention Atri Sharma
@ 2012-12-18 14:04 ` Josef Bacik
  2012-12-18 14:13   ` Atri Sharma
  0 siblings, 1 reply; 9+ messages in thread
From: Josef Bacik @ 2012-12-18 14:04 UTC (permalink / raw)
  To: Atri Sharma; +Cc: linux-btrfs@vger.kernel.org

On Mon, Dec 17, 2012 at 09:24:23PM -0700, Atri Sharma wrote:
> Hi All,
> 
> I was looking through the project ideas page for picking up a project
> do start working with BTRFS. I am really interested in Btree lock
> contention project, but it seems to be marked that it has already been
> done in v3.1
> 
> Is the project still open? Can I work on it?
> 

Go for it, we still have plenty of lock contention, it's just in 3.1 we switched
to a read/write lock which helped a bunch.  Still if you have all writers you
are going to hit quite a bit of lock contention, especially on the root nodes.
If you have ideas go for it.  Thanks,

Josef

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: BTree lock contention
  2012-12-18 14:04 ` Josef Bacik
@ 2012-12-18 14:13   ` Atri Sharma
  2012-12-18 14:27     ` Atri Sharma
  0 siblings, 1 reply; 9+ messages in thread
From: Atri Sharma @ 2012-12-18 14:13 UTC (permalink / raw)
  To: Josef Bacik; +Cc: linux-btrfs@vger.kernel.org

Thanks.

I shall mark it as in progress then.

For writer's contention, I was thinking of decreasing the lock
granularity. I have not really thought about it deeply yet, but my
initial plans are to identify areas where we can distribute the locks,
and maybe use techniques such as combining trees.

Thanks a ton,

Atri

On Tue, Dec 18, 2012 at 7:34 PM, Josef Bacik <jbacik@fusionio.com> wrote:
> On Mon, Dec 17, 2012 at 09:24:23PM -0700, Atri Sharma wrote:
>> Hi All,
>>
>> I was looking through the project ideas page for picking up a project
>> do start working with BTRFS. I am really interested in Btree lock
>> contention project, but it seems to be marked that it has already been
>> done in v3.1
>>
>> Is the project still open? Can I work on it?
>>
>
> Go for it, we still have plenty of lock contention, it's just in 3.1 we switched
> to a read/write lock which helped a bunch.  Still if you have all writers you
> are going to hit quite a bit of lock contention, especially on the root nodes.
> If you have ideas go for it.  Thanks,
>
> Josef



-- 
Regards,

Atri
l'apprenant

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: BTree lock contention
  2012-12-18 14:13   ` Atri Sharma
@ 2012-12-18 14:27     ` Atri Sharma
  2012-12-19 13:17       ` David Sterba
  0 siblings, 1 reply; 9+ messages in thread
From: Atri Sharma @ 2012-12-18 14:27 UTC (permalink / raw)
  To: Josef Bacik; +Cc: linux-btrfs@vger.kernel.org

On Tue, Dec 18, 2012 at 7:43 PM, Atri Sharma <atri.jiit@gmail.com> wrote:
> Thanks.
>
> I shall mark it as in progress then.
>
> For writer's contention, I was thinking of decreasing the lock
> granularity. I have not really thought about it deeply yet, but my
> initial plans are to identify areas where we can distribute the locks,
> and maybe use techniques such as combining trees.
>
> Thanks a ton,
>
> Atri
>
> On Tue, Dec 18, 2012 at 7:34 PM, Josef Bacik <jbacik@fusionio.com> wrote:
>> On Mon, Dec 17, 2012 at 09:24:23PM -0700, Atri Sharma wrote:
>>> Hi All,
>>>
>>> I was looking through the project ideas page for picking up a project
>>> do start working with BTRFS. I am really interested in Btree lock
>>> contention project, but it seems to be marked that it has already been
>>> done in v3.1
>>>
>>> Is the project still open? Can I work on it?
>>>
>>
>> Go for it, we still have plenty of lock contention, it's just in 3.1 we switched
>> to a read/write lock which helped a bunch.  Still if you have all writers you
>> are going to hit quite a bit of lock contention, especially on the root nodes.
>> If you have ideas go for it.  Thanks,
>>
>> Josef
>
>
>
> --
> Regards,
>
> Atri
> l'apprenant

I am pretty weak with Mediawiki. Is there any way somebody could
please place my name 'Atri Sharma' for the Btree locking contention in
the wiki?

Thanks,

Atri

--
Regards,

Atri
l'apprenant

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: BTree lock contention
  2012-12-18 14:27     ` Atri Sharma
@ 2012-12-19 13:17       ` David Sterba
  2012-12-19 15:00         ` Atri Sharma
  0 siblings, 1 reply; 9+ messages in thread
From: David Sterba @ 2012-12-19 13:17 UTC (permalink / raw)
  To: Atri Sharma; +Cc: Josef Bacik, linux-btrfs@vger.kernel.org

On Tue, Dec 18, 2012 at 07:57:23PM +0530, Atri Sharma wrote:
> I am pretty weak with Mediawiki. Is there any way somebody could
> please place my name 'Atri Sharma' for the Btree locking contention in
> the wiki?

Done. We're using templates for the project descriptions, and clicking
'edit' leads to editing the template itself, so one has to edit the
containing section (or the whole page) instead.


david

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: BTree lock contention
  2012-12-19 13:17       ` David Sterba
@ 2012-12-19 15:00         ` Atri Sharma
  2012-12-19 15:04           ` Atri Sharma
  0 siblings, 1 reply; 9+ messages in thread
From: Atri Sharma @ 2012-12-19 15:00 UTC (permalink / raw)
  To: dsterba; +Cc: Josef Bacik, linux-btrfs@vger.kernel.org

Thanks a ton David.

Should I be sending a plan of my approach before starting work?

Atri

On Wed, Dec 19, 2012 at 6:47 PM, David Sterba <dsterba@suse.cz> wrote:
> On Tue, Dec 18, 2012 at 07:57:23PM +0530, Atri Sharma wrote:
>> I am pretty weak with Mediawiki. Is there any way somebody could
>> please place my name 'Atri Sharma' for the Btree locking contention in
>> the wiki?
>
> Done. We're using templates for the project descriptions, and clicking
> 'edit' leads to editing the template itself, so one has to edit the
> containing section (or the whole page) instead.
>
>
> david



-- 
Regards,

Atri
l'apprenant

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: BTree lock contention
  2012-12-19 15:00         ` Atri Sharma
@ 2012-12-19 15:04           ` Atri Sharma
  2012-12-19 15:09             ` David Sterba
  0 siblings, 1 reply; 9+ messages in thread
From: Atri Sharma @ 2012-12-19 15:04 UTC (permalink / raw)
  To: dsterba; +Cc: Josef Bacik, linux-btrfs@vger.kernel.org

Hi David,

Sorry for bothering again, but I cant see Btree Lock contention marked
as in progress or my name anywhere on
https://btrfs.wiki.kernel.org/index.php/Project_ideas

Could you please check?

Thanks,

Atri

On Wed, Dec 19, 2012 at 8:30 PM, Atri Sharma <atri.jiit@gmail.com> wrote:
> Thanks a ton David.
>
> Should I be sending a plan of my approach before starting work?
>
> Atri
>
> On Wed, Dec 19, 2012 at 6:47 PM, David Sterba <dsterba@suse.cz> wrote:
>> On Tue, Dec 18, 2012 at 07:57:23PM +0530, Atri Sharma wrote:
>>> I am pretty weak with Mediawiki. Is there any way somebody could
>>> please place my name 'Atri Sharma' for the Btree locking contention in
>>> the wiki?
>>
>> Done. We're using templates for the project descriptions, and clicking
>> 'edit' leads to editing the template itself, so one has to edit the
>> containing section (or the whole page) instead.
>>
>>
>> david
>
>
>
> --
> Regards,
>
> Atri
> l'apprenant



-- 
Regards,

Atri
l'apprenant

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: BTree lock contention
  2012-12-19 15:04           ` Atri Sharma
@ 2012-12-19 15:09             ` David Sterba
  2012-12-19 15:17               ` Atri Sharma
  0 siblings, 1 reply; 9+ messages in thread
From: David Sterba @ 2012-12-19 15:09 UTC (permalink / raw)
  To: Atri Sharma; +Cc: dsterba, Josef Bacik, linux-btrfs@vger.kernel.org

On Wed, Dec 19, 2012 at 08:34:08PM +0530, Atri Sharma wrote:
> Sorry for bothering again, but I cant see Btree Lock contention marked
> as in progress or my name anywhere on
> https://btrfs.wiki.kernel.org/index.php/Project_ideas
> 
> Could you please check?

I don't know what happened to the edit, but I'm sure I moved the 'lock
contention' under 'claimed projects' with your name added. Now it's
there.

david

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: BTree lock contention
  2012-12-19 15:09             ` David Sterba
@ 2012-12-19 15:17               ` Atri Sharma
  0 siblings, 0 replies; 9+ messages in thread
From: Atri Sharma @ 2012-12-19 15:17 UTC (permalink / raw)
  To: dsterba; +Cc: Josef Bacik, linux-btrfs@vger.kernel.org

Thanks a ton David. Now it is there.

Regards,

Atri

On Wed, Dec 19, 2012 at 8:39 PM, David Sterba <dsterba@suse.cz> wrote:
> On Wed, Dec 19, 2012 at 08:34:08PM +0530, Atri Sharma wrote:
>> Sorry for bothering again, but I cant see Btree Lock contention marked
>> as in progress or my name anywhere on
>> https://btrfs.wiki.kernel.org/index.php/Project_ideas
>>
>> Could you please check?
>
> I don't know what happened to the edit, but I'm sure I moved the 'lock
> contention' under 'claimed projects' with your name added. Now it's
> there.
>
> david



-- 
Regards,

Atri
l'apprenant

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-12-19 15:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-18  4:24 BTree lock contention Atri Sharma
2012-12-18 14:04 ` Josef Bacik
2012-12-18 14:13   ` Atri Sharma
2012-12-18 14:27     ` Atri Sharma
2012-12-19 13:17       ` David Sterba
2012-12-19 15:00         ` Atri Sharma
2012-12-19 15:04           ` Atri Sharma
2012-12-19 15:09             ` David Sterba
2012-12-19 15:17               ` Atri Sharma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).