[fpc-devel] Re: Compiler bottlenecks

Adem listmember at letterboxes.org
Wed Jul 14 18:17:53 CEST 2010

  On 2010-07-14 18:21, Jonas Maebe wrote:
> Apart from specific scenarios, memory mapping can easily be slower 
> than direct reads. The main reason is that you get round trips to the 
> OS via hardware interrupts whenever you trigger a page fault, instead 
> of doing one or more (relatively cheap compared to interrupts) system 
> calls. The potential savings of a few memory copies, especially for 
> files in the range of 2-500kb, is very unlikely to compensate for this.
Now that SSDs (which are near enough to random access memory) are 
getting to be cheap enough to be affordable for mainstream use (plus the 
much higher bandwidths of SATA3, USB3) is it feasible to further 
optimize IO speeds for the compiler at this stage?



More information about the fpc-devel mailing list