Re: OPTIMIZING - The fastest way to open and show a file
| From: | Marcus Bointon | Date: | Fri, 14 Oct 2005 12:33:47 +0000 |
| Subject: | Re: OPTIMIZING - The fastest way to open and show a file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-224119@lists.php.net to get a copy of this message | ||
On 14 Oct 2005, at 12:29, Ruben Rubio Rey wrote:
* For files less or equal 6 Kb, takes arround 0.02-0.03 miliseconds - its ok * For files arround 35 Kb takes arround 0.2-0.4 miliseconds - too much.Bearing in mind that average access time on a 7200rpm HD is around 8ms, those numbers sound too good to be true anyway. You could configure some kind of software disk cache on your system, or ideally a hardware caching RAID controller and it could improve things dramatically, but not down to that kind of level (which represents about 200x what a single disk system might be expected to deliver). Otherwise as Jochem says, use RAM for your cache in the first place. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk