Improve performance for traversing large directory with readdir+
(LU-23)
|
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Review task | Priority: | Minor |
| Reporter: | nasf (Inactive) | Assignee: | Eric Barton (Inactive) |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Bugzilla ID: | 17,845 |
| Rank (Obsolete): | 10115 |
| Description |
|
eeb, after some further investigation for readdir+, I found there some issues for my original lockless mode readdir+, I have described them in the HLD, they are difficult to be resolved. So I have made the HLD for simplified lock mode readdir+, and also hope to implement the lustre special traversing directory tool. Sir, please inspect the HLD when you have time, and give your suggestion. Thanks! Happy Christmas~ |
| Comments |
| Comment by nasf (Inactive) [ 29/Dec/10 ] |
|
updated at 2010-12-29 |
| Comment by nasf (Inactive) [ 29/Dec/10 ] |
|
updated at 2010-12-29 |
| Comment by Liang Zhen (Inactive) [ 30/Dec/10 ] |
|
Hi, I got a chance to read through the document for interest, and have a question:
|
| Comment by nasf (Inactive) [ 30/Dec/10 ] |
|
In fact, as current master implementation, when create, the pfid is recorded as some kind of xattr by child, such information can be used by readdir+. |
| Comment by Lai Siyao [ 31/Dec/10 ] |
|
I have some concerns:
|
| Comment by Oleg Drokin [ 12/Jan/11 ] |
|
I sort of agree and disagree on this point from Lai: SOM will definitely bring in a big boost here, but it's a long work to make SOM really happen with all the cases. As for glimpse aggregation, I sort of agree that it won't bring in many of the benefits. But what will bring in many benefits, almost at SOM level is async "glimpse ahead" just kind of like what we currently do with statahead. As long as we can get the data faster than app processes it, of course. |
| Comment by Lai Siyao [ 13/Jan/11 ] |
|
Considering that file may have multiple stripes (max 160), async glimpse may not help much. Besides, if the system is WAN based, async glimpse may not help at all. IMHO current SOM design is too complicated, because it tries to ensure client update SOM in all cases (server and client recovery), if it's allowed to miss SOM update and let MDS update it later itself (when MDS finds SOM not set upon handling a getattr from client), SOM can be much simplified. |
| Comment by nasf (Inactive) [ 06/Jun/18 ] |
|
Related documents became inactive for a long time, need more consideration for readdir+ feature. |