⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dm_param.tex

📁 目前最精确的磁盘模拟器的第3版
💻 TEX
字号:
\subsection{Model Configuration}Diskmodel uses libparam to input the following blocks of parameter data:\begin{verbatim}dm_diskdm_layout_g1dm_layout_g1_zonedm_mech_g1\end{verbatim}\subsubsection{dm\_disk}The outer \texttt{dm\_disk} block contains the top-level parameterswhich are used to fill in the \texttt{dm\_disk\_if} structure.  Theonly valid value for ``Layout Model'' is a \texttt{dm\_layout\_g1}block and for ``Mechanical Model,'' a \texttt{dm\_mech\_g1} block.\\\input{dm_disk_param.tex}\subsubsection{dm\_layout\_g1}The \texttt{dm\_layout\_g1} block provides parameters for a firstgeneration (g1) layout model.\\\input{dm_layout_g1_param.tex}The \texttt{Zones} parameter is a list of zone blocks each of whichcontains the following fields:\\\input{dm_layout_g1_zone_param.tex}\subsubsection{dm\_mech\_g1}The \texttt{dm\_mech\_g1} block provides parameters for a firstgeneration (g1) mechanical model.\\\input{dm_mech_g1_param.tex}\noindent\textbf{Lee's Seek Equation}\label{seek.lee}\begin{math}seekTime(x) = \left\{ \begin{array} {r@{\quad:\quad}l}              0 & if x = 0 \\              a\sqrt{x-1} + b(x-1) + c & if x > 0              \end{array} \right., \mbox{where} \\\\\indentx \quad\mbox{is the seek distance in cylinders,} \\\indenta = (-10 minSeek + 15 avgSeek - 5 maxSeek) / (3 \sqrt{numCyl}), \\\indentb = (7 minSeek - 15 avgSeek + 8 maxSeek) / (3 numCyl), \mbox{and}\\\indentc = minSeek.\end{math}\\\noindent\textbf{The HPL Seek Equation}\label{seek.hpl}\begin{tabular}{cc}Seek distance     & Seek time \\ \hline1 cylinder        & $V_6$ \\$<$$V_1$ cylinders  & $V_2$ + $V_3$ * $\sqrt{dist}$ \\$>=$$V_1$ cylinders & $V_4$ + $V_5$ * dist \\\end{tabular}, where {\it dist} is the seek distance in cylinders.\newlineIf $V_6 == -1$, single-cylinder seeks are computed using the second equation.$V_1$ is specified in cylinders, and $V_2$ through $V_6$ are specified in milliseconds.$V_1$ must be a non-negative integer, $V_2 \ldots V_5$ must benon-negative floats and $V_6$ must be either a non-negative float or$-1$.\\\noindent\textbf{Format of an extracted seek curve}\label{seek.extract}An extracted seek file contains a number of (seek-time,seek-distance)data points.The format of such a file is very simple: the first line is\[\texttt{Seek distances measured: <n>}\]where \texttt{<n>} is the number of seek distances provided in thecurve.  This line is followed by \texttt{<n>} lines of the form\texttt{<distance>, <time>} where \texttt{<distance>} is the seekdistance measured in cylinders, and \texttt{<time>} is the amount oftime the seek took in milliseconds. e.g.\begin{verbatim}Seek distances measured: 41,  1.22,  1.55,  510, 9.2\end{verbatim}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -