[LU-2825] shrink cl_page structure size Created: 18/Feb/13 Updated: 08/Feb/18 Resolved: 08/Feb/18 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major |
| Reporter: | Andreas Dilger | Assignee: | Jinshan Xiong (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | patch | ||
| Rank (Obsolete): | 6841 |
| Description |
|
Looking at struct cl_page there seems to be a lot of wasted memory, and since there may be millions of these structures in memory for every client, this wasted space can be considerable.
The structure cl_req has similar space wastage, though it isn't used as often as cl_page:
Using the "pahole" program (part of the "dwarves" package) can report on binary structures for space wastage and alignment problems. |
| Comments |
| Comment by Swapnil Pimpale (Inactive) [ 02/Aug/13 ] |
|
Hi Andreas, I have opened a review request for this here -> http://review.whamcloud.com/#/c/7210/ cl_page: cl_req: |
| Comment by Jinshan Xiong (Inactive) [ 08/Feb/18 ] |
|
close old tickets |