Randall R Schulz wrote:
How much outbound bandwidth do you have? As a home ADSL user, I have so little outbound speed that it hardly matters what is the pattern of access.
I have almost 50kB/s, so if pieces are 256kB, I should get a disc access every ~5 seconds. Interestingly, I get disc accesses more frequently (every ~2 seconds) even though I turned on Azureus' own caching and its prefetch feature that is supposed to reduce disc access while uploading. It's a separate disc that only Azureus is accessing...


The worst effect it's likely to have is to perturb the kernel disk / FS cache, filling it with file data unused by any other application.
Yes, that is another thing. And it is probably not good for the disc to move around every 2 seconds all day long.


Incidentally, if there are any Linux programmers reading, are there file access options or modes that inhibit caching?
Use O_DIRECT when opening the file, this should do the job according to "man 2 open". In the case of Azureus, the caching is useful in some situations. If you are seeding only one or two 'small' files (~100MB) it means Azureus can run without any disc access after a while.

Regards
nordi

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to