<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.opensfs.org/index.php?action=history&amp;feed=atom&amp;title=MDS_PDirOps_Implementation_wiki_version</id>
	<title>MDS PDirOps Implementation wiki version - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.opensfs.org/index.php?action=history&amp;feed=atom&amp;title=MDS_PDirOps_Implementation_wiki_version"/>
	<link rel="alternate" type="text/html" href="http://wiki.opensfs.org/index.php?title=MDS_PDirOps_Implementation_wiki_version&amp;action=history"/>
	<updated>2026-07-23T13:31:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://wiki.opensfs.org/index.php?title=MDS_PDirOps_Implementation_wiki_version&amp;diff=1719&amp;oldid=prev</id>
		<title>RichardHenwood: Created page with &quot;== Introduction == The following milestone completion document applies to Subproject  1.2 – Parallel Directory Operations  subproject within the OpenSFS Lustre Development c...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.opensfs.org/index.php?title=MDS_PDirOps_Implementation_wiki_version&amp;diff=1719&amp;oldid=prev"/>
		<updated>2015-04-09T17:49:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Introduction == The following milestone completion document applies to Subproject  1.2 – Parallel Directory Operations  subproject within the OpenSFS Lustre Development c...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
The following milestone completion document applies to Subproject  1.2 – Parallel Directory Operations  subproject within the OpenSFS Lustre Development contract SFS-DEV-001 signed 7/30/2011.&lt;br /&gt;
&lt;br /&gt;
== Subproject Description ==&lt;br /&gt;
&lt;br /&gt;
Per the contract, Implementation milestone is described as follows: “This &lt;br /&gt;
subproject allows multiple RPC service threads to operate on a single directory &lt;br /&gt;
without contending on a single lock protecting the underlying directory in the &lt;br /&gt;
ldiskfs file system.  Single directory performance is one of the most critical use &lt;br /&gt;
cases for HPC workloads as many applications create a separate output file for &lt;br /&gt;
each task in a job, requiring hundreds of thousands of files to be created in a &lt;br /&gt;
single directory within a short window of time.  Currently, both filename lookup &lt;br /&gt;
and file system-modifying operations such as create and unlink are protected with&lt;br /&gt;
a single lock for the whole directory.&lt;br /&gt;
&lt;br /&gt;
This subproject will implement a parallel locking mechanism for single ldiskfs &lt;br /&gt;
directories, allowing multiple threads to do lookup, create, and unlink operations &lt;br /&gt;
in parallel.  In order to avoid performance bottlenecks for very large directories, as&lt;br /&gt;
the directory size increases, the number of concurrent locks possible on a single &lt;br /&gt;
directory will also increase.”&lt;br /&gt;
&lt;br /&gt;
== Milestone Completion Criteria ==&lt;br /&gt;
&lt;br /&gt;
Per the contract, Implementation milestone is described as follows: “Contractor &lt;br /&gt;
shall complete implementation and unit testing for the approved solution. &lt;br /&gt;
Contractor shall regularly report feature development progress including progress &lt;br /&gt;
metrics at project meetings and engineers shall share interim unit testing results &lt;br /&gt;
as they are available. OpenSFS at its discretion may request a code review. &lt;br /&gt;
Completion of the implementation phase shall occur when the agreed to solution &lt;br /&gt;
has been completed up to and including unit testing and this functionality can be &lt;br /&gt;
demonstrated on a test cluster. Code Reviews shall include:&lt;br /&gt;
# Discussion led by Contractor engineer providing an overview of Lustre source code changes&lt;br /&gt;
# Review of any new unit test cases that were developed to test changes &lt;br /&gt;
&lt;br /&gt;
== Location of Subproject Code changes ==&lt;br /&gt;
&lt;br /&gt;
Complete code is available at:&lt;br /&gt;
&lt;br /&gt;
http://review.whamcloud.com/#change,375&lt;br /&gt;
Commit at which code completed Milestone review by Senior and Principal &lt;br /&gt;
Engineer at:&lt;br /&gt;
&lt;br /&gt;
http://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commit;h=19223651ed250966c0445c91dc91a5b9131dec35&lt;br /&gt;
&lt;br /&gt;
== Subproject Feature Confirmation ==&lt;br /&gt;
&lt;br /&gt;
Multiple RPC service threads to operate on a single directory without contending on a &lt;br /&gt;
single lock protecting the underlying directory in the ldiskfs file system&lt;br /&gt;
Results from code runs was presented to the community at the OpenSFS Lustre &lt;br /&gt;
Pavilion SC11. This presentation is available from the OpenSFS site and is included&lt;br /&gt;
in Appendix 1.&lt;br /&gt;
&lt;br /&gt;
The results included in Appendix 2 provide a detailed description of the &lt;br /&gt;
completion of unit tests and benchmarks.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
Implementation has been completed according to the agreed criteria.&lt;br /&gt;
Appendix 1&lt;/div&gt;</summary>
		<author><name>RichardHenwood</name></author>
	</entry>
</feed>