Re: BTree lock contention

2012-12-19 Thread David Sterba
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
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: BTree lock contention

2012-12-19 Thread David Sterba
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
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: BTree lock contention

2012-12-18 Thread Josef Bacik
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
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: BTree lock contention

2012-12-18 Thread Atri Sharma
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 jba...@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
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: BTree lock contention

2012-12-18 Thread Atri Sharma
On Tue, Dec 18, 2012 at 7:43 PM, Atri Sharma atri.j...@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 jba...@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
--
To unsubscribe from this list: send the line unsubscribe linux-btrfs in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html