[LU-32] always keep buffer_head reference on root node of iam_container Created: 26/Dec/10 Updated: 22/Dec/12 Resolved: 28/Aug/12 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.0.0 |
| Fix Version/s: | Lustre 2.2.0, Lustre 2.1.4 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Liang Zhen (Inactive) | Assignee: | Liang Zhen (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 4789 |
| Description |
|
IAM in ldiskfs-osd will always consume some slots in bh_lru (see: fs/buffer.c), if we keep buffer_head reference on root node, we can save one slot in bh_lru and could be somehow helpful for overall performance, I did some tests, LRU hits increased 5%-10% while creating files if we always keep this reference. I'm not expert of this, so please post your comment here if it's totally wrong to do this. |
| Comments |
| Comment by Liang Zhen (Inactive) [ 26/Dec/10 ] |
|
I've posted the first version of patch at here: |
| Comment by Liang Zhen (Inactive) [ 27/Dec/10 ] |
|
it's probably unacceptable for IAM directory(LDD_F_IAM_DIR), but should we do this at least for interop mode? |
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Build Master (Inactive) [ 04/Jan/12 ] |
|
Integrated in Result = SUCCESS
|
| Comment by Liang Zhen (Inactive) [ 28/Aug/12 ] |
|
Patch is on 2.2 and master |