I/O trace tool
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Tom -
Quoted 16 lines · Tom.Wang
Hello,
Here is an idea for lustre I/O trace tool.
We can provide 1 new lfs utility, for example lfs trace.
So in the I/O trace job, we could
1) lfs trace
job_idstart (Enable all the trace dump on OSS and MDS
for this job, here the trace means the information under /proc or some
debug log, but also may add
some other information. maybe in llog format)
2) Run the application.
3) lfs tracejob_idstoptrace_log. (Disable the trace dump on the servers, and get the trace log from these servers).
Quoted 5 lines
But here is a problem, since this tool will be used by normal end-user, so the lfs should only enable the trace
for the request of this job. But current, server can not identify the job id at all. And also maintaining thejob_idfor the job may also bring some troubles.
The logging system allows to follow the xid of requests executed on clients to server threads. I am not sure if this is fully implemented.
It is important that this problem is resolved, and I think you can do it. Of course requests sometimes initiate from cache flushes etc and in this case finding the source is maybe not so easy.
- Peter -
Quoted 20 lines
An alternative way is to identify the request by uid and gid on the server, then only requests from
this user will be traced, but then the end user can only run that
trace job at that time.
Any ideas?Thanks
WangDi