[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: solo turn <soloturn99_at_yahoo.com>
Date: 2003-02-11 12:29:07 CET

after reading a little in the code, i could not really figure out
where you could place the aio calls, and where exactly place the
aio_suspend. do you mean in neon, or outside?


Date: Mon, 10 Feb 2003 15:16:56 -0500
Subject: Re: faster client pre-1.0: neon prefetching, multithreading
Content-Type: text/plain; charset=US-ASCII; format=flowed
From: Daniel Berlin <dberlin@dberlin.org>

> 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.

Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 11 12:29:51 2003

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