📄 nqnfs.me
字号:
"Leases" at 3.725,8.547 rjust"Leases, Rdirlookup" at 3.725,8.397 rjust"Leases, Attrib leases, Rdirlookup" at 3.725,8.247 rjust.ps.ft.PE.)z.(z.PS.ps.ps 10dashwid = 0.050iline dashed from 0.900,7.888 to 4.787,7.888line dashed from 0.900,7.888 to 0.900,10.262line from 0.900,7.888 to 0.963,7.888line from 4.787,7.888 to 4.725,7.888line from 0.900,8.188 to 0.963,8.188line from 4.787,8.188 to 4.725,8.188line from 0.900,8.488 to 0.963,8.488line from 4.787,8.488 to 4.725,8.488line from 0.900,8.775 to 0.963,8.775line from 4.787,8.775 to 4.725,8.775line from 0.900,9.075 to 0.963,9.075line from 4.787,9.075 to 4.725,9.075line from 0.900,9.375 to 0.963,9.375line from 4.787,9.375 to 4.725,9.375line from 0.900,9.675 to 0.963,9.675line from 4.787,9.675 to 4.725,9.675line from 0.900,9.963 to 0.963,9.963line from 4.787,9.963 to 4.725,9.963line from 0.900,10.262 to 0.963,10.262line from 4.787,10.262 to 4.725,10.262line from 0.900,7.888 to 0.900,7.950line from 0.900,10.262 to 0.900,10.200line from 1.613,7.888 to 1.613,7.950line from 1.613,10.262 to 1.613,10.200line from 2.312,7.888 to 2.312,7.950line from 2.312,10.262 to 2.312,10.200line from 3.025,7.888 to 3.025,7.950line from 3.025,10.262 to 3.025,10.200line from 3.725,7.888 to 3.725,7.950line from 3.725,10.262 to 3.725,10.200line from 4.438,7.888 to 4.438,7.950line from 4.438,10.262 to 4.438,10.200line from 0.900,7.888 to 4.787,7.888line from 4.787,7.888 to 4.787,10.262line from 4.787,10.262 to 0.900,10.262line from 0.900,10.262 to 0.900,7.888line from 3.800,8.775 to 4.025,8.775line from 1.250,9.412 to 1.250,9.412line from 1.250,9.412 to 1.613,9.425line from 1.613,9.425 to 2.312,9.463line from 2.312,9.463 to 3.025,9.600line from 3.025,9.600 to 3.725,9.875line from 3.725,9.875 to 4.438,10.075dashwid = 0.037iline dotted from 3.800,8.625 to 4.025,8.625line dotted from 1.250,9.450 to 1.250,9.450line dotted from 1.250,9.450 to 1.613,9.438line dotted from 1.613,9.438 to 2.312,9.438line dotted from 2.312,9.438 to 3.025,9.525line dotted from 3.025,9.525 to 3.725,9.550line dotted from 3.725,9.550 to 4.438,9.662line dashed from 3.800,8.475 to 4.025,8.475line dashed from 1.250,9.438 to 1.250,9.438line dashed from 1.250,9.438 to 1.613,9.412line dashed from 1.613,9.412 to 2.312,9.450line dashed from 2.312,9.450 to 3.025,9.500line dashed from 3.025,9.500 to 3.725,9.613line dashed from 3.725,9.613 to 4.438,9.675dashwid = 0.075iline dotted from 3.800,8.325 to 4.025,8.325line dotted from 1.250,9.387 to 1.250,9.387line dotted from 1.250,9.387 to 1.613,9.600line dotted from 1.613,9.600 to 2.312,9.625line dotted from 2.312,9.625 to 3.025,9.738line dotted from 3.025,9.738 to 3.725,9.850line dotted from 3.725,9.850 to 4.438,9.800.ps.ps -1.ft.ft I"0" at 0.825,7.810 rjust"5" at 0.825,8.110 rjust"10" at 0.825,8.410 rjust"15" at 0.825,8.697 rjust"20" at 0.825,8.997 rjust"25" at 0.825,9.297 rjust"30" at 0.825,9.597 rjust"35" at 0.825,9.885 rjust"40" at 0.825,10.185 rjust"0" at 0.900,7.660"2" at 1.613,7.660"4" at 2.312,7.660"6" at 3.025,7.660"8" at 3.725,7.660"10" at 4.438,7.660"Time (sec)" at 0.150,8.997"Number of Clients" at 2.837,7.510"Figure #4: MAB Phase 4 (grep/wc/find)" at 2.837,10.335"NFS" at 3.725,8.697 rjust"Leases" at 3.725,8.547 rjust"Leases, Rdirlookup" at 3.725,8.397 rjust"Leases, Attrib leases, Rdirlookup" at 3.725,8.247 rjust.ps.ft.PE.)z.(z.PS.ps.ps 10dashwid = 0.050iline dashed from 0.900,7.888 to 4.787,7.888line dashed from 0.900,7.888 to 0.900,10.262line from 0.900,7.888 to 0.963,7.888line from 4.787,7.888 to 4.725,7.888line from 0.900,8.150 to 0.963,8.150line from 4.787,8.150 to 4.725,8.150line from 0.900,8.412 to 0.963,8.412line from 4.787,8.412 to 4.725,8.412line from 0.900,8.675 to 0.963,8.675line from 4.787,8.675 to 4.725,8.675line from 0.900,8.938 to 0.963,8.938line from 4.787,8.938 to 4.725,8.938line from 0.900,9.213 to 0.963,9.213line from 4.787,9.213 to 4.725,9.213line from 0.900,9.475 to 0.963,9.475line from 4.787,9.475 to 4.725,9.475line from 0.900,9.738 to 0.963,9.738line from 4.787,9.738 to 4.725,9.738line from 0.900,10.000 to 0.963,10.000line from 4.787,10.000 to 4.725,10.000line from 0.900,10.262 to 0.963,10.262line from 4.787,10.262 to 4.725,10.262line from 0.900,7.888 to 0.900,7.950line from 0.900,10.262 to 0.900,10.200line from 1.613,7.888 to 1.613,7.950line from 1.613,10.262 to 1.613,10.200line from 2.312,7.888 to 2.312,7.950line from 2.312,10.262 to 2.312,10.200line from 3.025,7.888 to 3.025,7.950line from 3.025,10.262 to 3.025,10.200line from 3.725,7.888 to 3.725,7.950line from 3.725,10.262 to 3.725,10.200line from 4.438,7.888 to 4.438,7.950line from 4.438,10.262 to 4.438,10.200line from 0.900,7.888 to 4.787,7.888line from 4.787,7.888 to 4.787,10.262line from 4.787,10.262 to 0.900,10.262line from 0.900,10.262 to 0.900,7.888line from 3.800,8.675 to 4.025,8.675line from 1.250,8.800 to 1.250,8.800line from 1.250,8.800 to 1.613,8.912line from 1.613,8.912 to 2.312,9.113line from 2.312,9.113 to 3.025,9.438line from 3.025,9.438 to 3.725,9.750line from 3.725,9.750 to 4.438,10.088dashwid = 0.037iline dotted from 3.800,8.525 to 4.025,8.525line dotted from 1.250,8.637 to 1.250,8.637line dotted from 1.250,8.637 to 1.613,8.700line dotted from 1.613,8.700 to 2.312,8.713line dotted from 2.312,8.713 to 3.025,8.775line dotted from 3.025,8.775 to 3.725,8.887line dotted from 3.725,8.887 to 4.438,9.037line dashed from 3.800,8.375 to 4.025,8.375line dashed from 1.250,8.675 to 1.250,8.675line dashed from 1.250,8.675 to 1.613,8.688line dashed from 1.613,8.688 to 2.312,8.713line dashed from 2.312,8.713 to 3.025,8.825line dashed from 3.025,8.825 to 3.725,8.887line dashed from 3.725,8.887 to 4.438,9.062dashwid = 0.075iline dotted from 3.800,8.225 to 4.025,8.225line dotted from 1.250,8.700 to 1.250,8.700line dotted from 1.250,8.700 to 1.613,8.688line dotted from 1.613,8.688 to 2.312,8.762line dotted from 2.312,8.762 to 3.025,8.812line dotted from 3.025,8.812 to 3.725,8.925line dotted from 3.725,8.925 to 4.438,9.025.ps.ps -1.ft.ft I"0" at 0.825,7.810 rjust"50" at 0.825,8.072 rjust"100" at 0.825,8.335 rjust"150" at 0.825,8.597 rjust"200" at 0.825,8.860 rjust"250" at 0.825,9.135 rjust"300" at 0.825,9.397 rjust"350" at 0.825,9.660 rjust"400" at 0.825,9.922 rjust"450" at 0.825,10.185 rjust"0" at 0.900,7.660"2" at 1.613,7.660"4" at 2.312,7.660"6" at 3.025,7.660"8" at 3.725,7.660"10" at 4.438,7.660"Time (sec)" at 0.150,8.997"Number of Clients" at 2.837,7.510"Figure #5: MAB Phase 5 (compile)" at 2.837,10.335"NFS" at 3.725,8.597 rjust"Leases" at 3.725,8.447 rjust"Leases, Rdirlookup" at 3.725,8.297 rjust"Leases, Attrib leases, Rdirlookup" at 3.725,8.147 rjust.ps.ft.PE.)z.ppIn figure 2, where a subtree of seventy small files is copied, the difference between the protocol variants is minimal,with the NQNFS variants performing slightly better.For this case, the Readdir_and_Lookup RPC is a slight hindrance under heavyload, possibly because it results in larger directory blocks in the buffercache..ppIn figure 3, for the phase that gets file attributes for a large numberof files, the leasing variants take about 50% longer, indicating thatthere are performance problems in this area. For the case where validcurrent leases are required for every file when attributes are returned,the performance is significantly worse than when the attributes are allowedto be stale by a few seconds on the client.I have not been able to explain the oscillation in the curves for theLease cases..ppFor the string searching phase depicted in figure 4, the leasing variantsthat do not require valid leases for files when attributes are returnedappear to scale better with server load than NFS.However, the effect appears to benegligible until the server load is fairly heavy..ppMost of the time in the MAB benchmark is spent in the compilation phaseand this is where the differences between caching methods are mostpronounced.In figure 5 it can be seen that any protocol variant using Leases performsabout a factor of two better than NFSat a load of ten clients. This indicates that the use of NQNFS mayallow servers to handle significantly more clients for this type ofworkload..ppTable 2 summarizes the MAB run times for all phases for the single clientDECstation 5000/25. The \fILeases\fR case refers to using leases, whereasthe \fILeases, Rdirl\fR case uses the Readdir_and_Lookup RPC as well andthe \fIBCache Only\fR case uses leases, but only the buffer cache and notthe attribute or name caches.The \fINo Caching\fR cases does not do any client side caching, performingall system calls via synchronous RPCs to the server..(z.ps -1.R.TSbox, center;c s s s s s sc c c c c c c cl | n n n n n n n.Table #2: Single DECstation 5000/25 Client Elapsed Times (sec)Phase 1 2 3 4 5 Total % Improvement_No Caching 6 35 41 40 258 380 -93NFS 5 24 15 20 133 197 0BCache Only 5 20 24 23 116 188 5Leases, Rdirl 5 20 21 20 105 171 13Leases 5 19 21 21 99 165 16.TE.ps.)z.sh 2 "Processor Speed Tests".ppAn important goal of client-side file system caching is to decouple theI/O system calls from the underlying distributed file system, so that theclient's system performance might scale with processor speed. In orderto test this, a series of MAB runs were performed on threeDECstations that are similar except for processor speed.In addition to the four protocol variants used for the above tests, runswere done with the client caches turned off, forworst case performance numbers for caching mechanisms with a 100% miss rate. The CPU utilizationwas measured, as an indicator of how much the processor was blocking forI/O system calls. Note that since the systems were running in single user modeand otherwise quiescent, almost all CPU activity was directly relatedto the MAB run.The results are presented intable 3.The CPU time is simply the product of the CPU utilization andelapsed running time and, as such, is the optimistic bound on performanceachievable with an ideal client caching scheme that never blocks for I/O..(z.ps -1.R.TSbox, center;c s s s s s s s s sc c s s c s s c s sc c c c c c c c c cc c c c c c c c c cl | n n n n n n n n n.Table #3: MAB Phase 5 (compile) DS2100 (10.5 MIPS) DS3100 (14.0 MIPS) DS5000/25 (26.7 MIPS) Elapsed CPU CPU Elapsed CPU CPU Elapsed CPU CPU time Util(%) time time Util(%) time time Util(%) time_Leases 143 89 127 113 87 98 99 89 88Leases, Rdirl 150 89 134 110 91 100 105 88 92BCache Only 169 85 144 129 78 101 116 75 87NFS 172 77 132 135 74 100 133 71 94No Caching 330 47 155 256 41 105 258 39 101.TE.ps.)zAs can be seen in the table, any caching mechanism achieves significantlybetter performance than when caching is disabled, roughly doubling the CPUutilization with a corresponding reduction in run time. For NFS, the CPUutilization is dropping with increase in CPU speed, which would suggest thatit is not scaling with CPU speed. For the NQNFS variants, the CPU utilizationremains at just below 90%, which suggests that the caching mechanism is workingwell and scaling within this CPU range.Note that for this benchmark, the ratio of CPU times forthe DECstation 3100 and DECstation 5000/25 are quite different than theDhrystone MIPS ratings would suggest..ppOverall, the results seem encouraging, although it remains t
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -