[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: faster client pre-1.0: neon prefetching, multithreading

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2003-02-10 21:16:56 CET

> the following points could be time-consuming:
> - there is a lot of disk access and network wait time
> which seems not parallel, ie. multithreaded.
>
Easier to use AIO when it's available.

You can just aio_read the sockets/disk stuff as we discover what we
need, then aio_suspend in the routine that actually needs the data to
wait for it all to get there (or a timeout to occur).

> - especially urls and their properties seem to be fetched
> in order, without any function which gets an url,
> with the small properties, and the entries, and the
> small properties of the entries in one fetch.
>
Once again, you can just aio_read this stuff, then wait for it all to
finish at once, rather than wait on them one at a time.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 10 21:17:48 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.