Re: OPTIMIZING - The fastest way to open and show a file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx | http://www.synchromedia.co.uk

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux