`<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 22, 2015, at 4:44 PM, 張峻宇 <<a href="mailto:jerry1209@cht.com.tw" class="">jerry1209@cht.com.tw</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: 'Lucida Sans Unicode', sans-serif; color: rgb(64, 64, 64);" class="">Hi all,<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: 'Lucida Sans Unicode', sans-serif; color: rgb(64, 64, 64);" class=""> According to the release note of OmniOS r151016</span><span lang="EN-US" class="">, we could get “</span><span lang="EN-US" style="font-size: 11pt; font-family: 'Lucida Sans Unicode', sans-serif; color: rgb(64, 64, 64);" class="">IOPS, bandwidth, and latency kstats for NFS server”<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: 'Lucida Sans Unicode', sans-serif; color: rgb(64, 64, 64);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: 'Lucida Sans Unicode', sans-serif; color: rgb(64, 64, 64);" class=""> there is lots of information showing when I use enter command #kstat,<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: 'Lucida Sans Unicode', sans-serif; color: rgb(64, 64, 64);" class=""> I want to get the “nfs read & write latency for NFS server”<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: 'Lucida Sans Unicode', sans-serif; color: rgb(64, 64, 64);" class=""> <o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: 'Lucida Sans Unicode', sans-serif; color: rgb(64, 64, 64);" class=""> Q1 : Is the ‘nfs:0:rfsprocio_v4_write:wtime’ & ‘nfs:0:rfsprocio_v4_read:wtime’ meant write & read latency ?</span></div></div></div></blockquote><div><br class=""></div><div>No, wtime is the wait queue occupancy (%wait in iostat -x)</div><div>A good reference is the man page for kstat(3kstat)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>man -s 3kstat kstat</div><div><br class=""></div><div>Hopefully, the information there will answer your Q2.</div><div> -- richard</div><br class=""><blockquote type="cite" class=""><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: 'Lucida Sans Unicode', sans-serif; color: rgb(64, 64, 64);" class=""><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: 'Lucida Sans Unicode', sans-serif; color: rgb(64, 64, 64);" class=""> Q2 : I mounted the nfs share directory, and write lots file to it, the number of ‘nfs:0:rfsprocio_v4_write:wtime’ & ‘nfs:0:rfsprocio_v4_read:wtime’ still zero. Why ?<span class="Apple-converted-space"> </span><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: 'Lucida Sans Unicode', sans-serif; color: rgb(64, 64, 64); background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-size: 11pt; font-family: 'Lucida Sans Unicode', sans-serif; color: rgb(64, 64, 64); background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""> #kstat –p –m nfs –n rfsprocio_v4_write<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""> nfs:0:rfsprocio_v4_write:class rfsprocio_v4<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:crtime 50.833043074<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:nread 3932160<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:nwritten 5374607360<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:rcnt 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:reads 163840<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:rlastupdate 12048225488385<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:rlentime 33429565743<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:rtime 23992279289<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:snaptime 269635.483575440<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:wcnt 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:wlastupdate 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:wlentime 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:writes 163840 / number of writes /<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_write:wtime 0 / wait queue - time spent waiting /<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""> <span class="Apple-converted-space"> </span></span><span lang="EN-US" style="font-size: 11pt; font-family: 'Lucida Sans Unicode', sans-serif; color: rgb(64, 64, 64); background-color: white; background-position: initial initial; background-repeat: initial initial;" class="">#kstat –p –m nfs –n rfsprocio_v4_read</span><span lang="EN-US" class=""><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""> nfs:0:rfsprocio_v4_read:class rfsprocio_v4<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:crtime 50.833003263<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:nread 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:nwritten 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:rcnt 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:reads 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:rlastupdate 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:rlentime 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:rtime 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:snaptime 269635.483080962<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:wcnt 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:wlastupdate 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:wlentime 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:writes 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 24pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">nfs:0:rfsprocio_v4_read:wtime 0<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""> <span class="Apple-converted-space"> </span><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-family: 微軟正黑體, sans-serif; color: rgb(31, 73, 125);" class="">Best regards,<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-family: 新細明體, serif; color: rgb(31, 73, 125);" class="">---------------------------------------------<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-family: 新細明體, serif; color: rgb(31, 73, 125);" class="">張峻宇<span lang="EN-US" class=""><o:p class=""></o:p></span></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span style="font-family: 新細明體, serif; color: rgb(31, 73, 125);" class="">中華電信研究院雲端運算研究所<span lang="EN-US" class=""><o:p class=""></o:p></span></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="font-family: 新細明體, serif; color: rgb(31, 73, 125);" class="">TEL: 03-4245663</span><span lang="EN-US" style="color: rgb(31, 73, 125);" class=""><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""><o:p class=""> </o:p></span></div></div><b style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""><br class=""><font size="-1" class="">本信件可能包含中華電信股份有限公司機密資訊,非指定之收件者,請勿蒐集、處理或利用本信件內容,並請銷毀此信件. 如為指定收件者,應確實保護郵件中本公司之營業機密及個人資料,不得任意傳佈或揭露,並應自行確認本郵件之附檔與超連結之安全性,以共同善盡資訊安全與個資保護責任.<span class="Apple-converted-space"> </span><br class="">Please be advised that this email message (including any attachments) contains confidential information and may be legally privileged. If you are not the intended recipient, please destroy this message and all attachments from your system and do not further collect, process, or use them. Chunghwa Telecom and all its subsidiaries and associated companies shall not be liable for the improper or incomplete transmission of the information contained in this email nor for any delay in its receipt or damage to your system. If you are the intended recipient, please protect the confidential and/or personal information contained in this email with due care. Any unauthorized use, disclosure or distribution of this message in whole or in part is strictly prohibited. Also, please self-inspect attachments and hyperlinks contained in this email to ensure the information security and to protect personal information.</font></b><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">OmniOS-discuss mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:OmniOS-discuss@lists.omniti.com" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">OmniOS-discuss@lists.omniti.com</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a></div></blockquote></div><br class=""></body></html>`