Linux NFS development
 help / color / mirror / Atom feed
* Profiling knfsd
@ 2010-05-25 13:36 Eric Veith1
  2010-05-25 21:23 ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Veith1 @ 2010-05-25 13:36 UTC (permalink / raw)
  To: linux-nfs


Hello everybody,

I'm facing the somewhat difficult task of looking under the hood of the
knfsd and profiling its behaviour on WRITE/COMMIT calls. Basically, I'd
like to answer the following questions:

- What amount of payload is comming in?
- What WRITE flags are set (UNSTABLE/DATA_SYNC/FILE_SYNC)?
- What happens to the incoming RPCs (are they stored in a queue, or cached
if UNSTABLE is set? If yes, what is the queue/cache size)?
- What does the nfsd write out to disk?
- How many NFS I/O operations are a kernel VFS (?) operation, and how many
FS IOPs does this make?

Regarding the last question, I already have a way of finding out what I/O
operations containing what payload are done with what delay.

I'm a little at loss here because I have only a very vague idea of where to
look. I though using systemtap and tapping some functions would give me
answers to the questions above. Could somebody give me please some
pointers, be it function names, header files, or a general idea of the call
flow a NFS WRITE packet creates from being received over a socket until it
is written out to disk?

Thank you very much in advance.

                  Eric

--
Eric MSP Veith <eric.veith@de.ibm.com>
Hechtsheimer Str. 2
DE-55131 Mainz
Germany

IBM Deutschland GmbH
Vorsitzender des Aufsichtsrats: Erich Clementi
Geschäftsführung: Martin Jetter (Vorsitzender), Reinhard Reschke, Christoph
Grandpierre, Matthias Hartmann, Michael Diemer, Martina Koederitz
Sitz der Gesellschaft: Stuttgart
Registergericht: Amtsgericht Stuttgart, HRB 14562
WEEE-Reg.-Nr. DE 99369940


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-26 13:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-25 13:36 Profiling knfsd Eric Veith1
2010-05-25 21:23 ` J. Bruce Fields
2010-05-26 13:13   ` Eric Veith1

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox