Am 16.06.2005 um 23:35 schrieb Vlad Seryakov:

I understand that but my question is:
How and when all content will be downloaded?
By the driver? By the conn thread on first call?


The driver will load up to maxreadahead.

At the first call to Ns_ConnContent, the rest
will be sinked from the socket into the buffer
(until it fills) and the rest will be sinked
into the mmaped temp file. This is now done
in the connection thread.

Currently driver reads everything into memory.


Yes, which is a problem. So it will be split between
the driver thread (up to maxreadahead) and connection
thread (the rest, if available).

Zoran


Reply via email to