On 15 April 2013 20:37, Phong Vo <[email protected]> wrote:
>
> Exhausting VA space is not likely but keeping processes behaving nicely toward
> one another should be a good thing. You need to think about cases when many
> processes do large I/O at the same time and the physical memory available on
> the machine is far less than what the VA space can accommodate.
>
> It's little known but Sfio does adaptive buffer filling to reduce read I/O,
> esp. when many seeks are done (hence most read data are wasted). The same
> strategy could be adapted to mapped I/O. We'll look into that.

Commenting here since it affects the builtin grep

Phong, please keep the implementation KISS ("Keep it simple, stupid").
The VM system in Linux and AIX better work with large mappings which
do not change than a moving target which changes frequently.
In a 64bit application libast should map the whole file and let the
kernel worry about the rest.

Wendy
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to