[LU-3468] Add UID/GID into RPC request Created: 13/Jun/13 Updated: 14/Jan/14 Resolved: 14/Jan/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Li Xi (Inactive) | Assignee: | Peter Jones |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | ptr | ||
| Attachments: |
|
| Rank (Obsolete): | 8678 |
| Description |
|
We are interested in implementing UID/GID based NRS policies to see what we can get. In order to do this, it is essential to add the UID/GID of the processes that trigger the RPCs into to the request bodies. We implement this by filling the UID/GID into the padding of the request body and then get a 'UID/GID Round Robin' policy by changing CRRN policy (the attaced patch). We know it is not a good implementation though it works fine for testing. And we know it is not easy to implement a good one because we need to handle global user ID over entire cluster. Any advice or idea? Thanks! |
| Comments |
| Comment by Li Xi (Inactive) [ 13/Jun/13 ] |
|
Is JobStats suitable for this purpose? |
| Comment by Andreas Dilger [ 13/Jun/13 ] |
|
I would suggest a couple of different things:
In the long term, I'd prefer to develop only a small number of policies that are more sophisticated. Having separate policies for each "parameter" means that it will be difficult to get the best overall performance. Separate UID/GID policies will allow load balancing between users, but will not optimize the IO ordering like ORR. It would be better to have a single NRS policy that can do many things at once, like balance between nodes, users, jobs, sort RPCs within objects, both round-robin and constrained with upper and lower limits for bandwidth or IOPS. |
| Comment by Li Xi (Inactive) [ 14/Jun/13 ] |
|
Hi Andreas, Thank you so much for the advice! It is really helpful! |
| Comment by Jeff Layton (Inactive) [ 13/Jan/14 ] |
|
Has there been any further development on this patch? How does it compare to TBF ( |
| Comment by Li Xi (Inactive) [ 14/Jan/14 ] |
|
Hi Jeff, This a earlier ticket than TBF. Now TBF has implemented jobstat support, which I think can cover most use cases of UID/GID based RPC scheduler. It would be good for me if this ticket is closed. Thank you! |
| Comment by Peter Jones [ 14/Jan/14 ] |
|
ok thanks Li Xi! |