<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<font face="Courier New, Courier, monospace">Dear all,<br>
<br>
I've observed that the function wavread, which needs to retrieve
some specific header data apart from the real audio data, uses an
mget call for each of them. For instance, it is necessary to
detect several string ID's each one followed by 4 byte integers.<br>
<br>
I wonder if this is an efficient way to use the drive. I mean,
each mget requires reading the disk content which means
mechanically positioning the read-write head and picking the
information. <br>
<br>
However, it is known that on each read the head retrieves
typically a 4096 byte sector and the operating system may read at
once several sectors into a cluster. <br>
<br>
Do operating systems or Scilab, at a low level, ensure that if one
performs several mget calls to retrieve closely packed data, the
information will be retrieved from some buffer secured during the
first physical read, instead of reading again the disk?<br>
<br>
Thank you.<br>
<br>
Regards, <br>
<br>
Federico Miyara <br>
</font>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Libre de virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>