icelava Posted December 1, 2008 Report Posted December 1, 2008 When i manually set the cache size to say 128MB, i see on the Write Statistics cache expand to 128MB, while the Read Statistics cache remain filled at 18.1MB. What is the behaviour to increase the Read cache?
thelittlefire Posted December 1, 2008 Report Posted December 1, 2008 ... Cache is combined between R + WYou need to upload enough for the read cache to be useful. What's your set upload limit?
icelava Posted December 1, 2008 Author Report Posted December 1, 2008 72KB/secIt still appears 25-50% of uploads come from disk.
Harold Posted December 1, 2008 Report Posted December 1, 2008 Well I'm not an µT dev (so take this with a grain of salt) but..If it doesn't affect your read cache, your read cache is already max-size, as determined by the time that an unused piece will spend in the cache until it times out and your upload speed and even the number of peers: if there are few, they will ask for pieces that are in the cache less often than if there are many - the extreme case (1 peer) easily proves that (it should only request a piece that is already in the cache if it previously failed the hash check)Peers tend to actively choose pieces that are rare (and therefore, have more chance of Not being in your cache, since pieces in your cache have already been downloaded by someone - making them less rare). I'm not sure how much this effect contributes to the miss-rate though..
GTHK Posted December 1, 2008 Report Posted December 1, 2008 Read cache wont increase if you're using reduce memory usage when not needed, and possibly turn off read caching is upload speed is slow.
icelava Posted December 2, 2008 Author Report Posted December 2, 2008 [Reduce memory usage when the cache is not needed] is on.[Turn off read caching if the upload speed is slow] is off.My question was why when i specified a custom cache size, it immediately went all to the Write cache (128MB vs 18.1MB Read cache), when i was uploading more than downloading.
GTHK Posted December 2, 2008 Report Posted December 2, 2008 Dunno, that's just how it works. If you uncheck reduce mem then it'll use whatever you enter for both.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.