All of lore.kernel.org
 help / color / mirror / Atom feed
* [Lustre-devel] I/O trace tool
       [not found] <475C191B.7030204@sun.com>
@ 2008-01-07  9:24 ` Peter J Braam
  0 siblings, 0 replies; only message in thread
From: Peter J Braam @ 2008-01-07  9:24 UTC (permalink / raw)
  To: lustre-devel

Hi Tom -

Tom.Wang wrote:
> 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_id start   (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 trace job_id stop trace_log. (Disable the trace dump on the 
> servers, and get the trace log from these servers).
>
> 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 the job_id for 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 -

> 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
>
>
>
>
>
>
>
>
>
>
>
>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-07  9:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <475C191B.7030204@sun.com>
2008-01-07  9:24 ` [Lustre-devel] I/O trace tool Peter J Braam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.