[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 00/11] curl: fix curl read
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2 00/11] curl: fix curl read |
Date: |
Tue, 14 May 2013 10:22:53 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, May 14, 2013 at 10:26:19AM +0800, Fam Zheng wrote:
> - CURLDataCache holds the user data read from libcurl, it is in a list
> ordered by access, the used cache is moved to list head on access, so
> the tail element is freed first. BDRVCURLState.cache_quota is the
> threshold to start freeing cache.
Can you explain the need for a cache?
The guest kernel already does readahead if it wants to. It can be tuned
from inside the guest if performance doesn't meet expectations. The
block/curl.c-specific cache cannot be tuned from the guest.
Stefan
- [Qemu-devel] [PATCH v2 04/11] curl: fix curl_open, (continued)
- [Qemu-devel] [PATCH v2 04/11] curl: fix curl_open, Fam Zheng, 2013/05/13
- [Qemu-devel] [PATCH v2 05/11] curl: add timer to BDRVCURLState, Fam Zheng, 2013/05/13
- [Qemu-devel] [PATCH v2 06/11] curl: introduce CURLDataCache, Fam Zheng, 2013/05/13
- [Qemu-devel] [PATCH v2 07/11] curl: make use of CURLDataCache., Fam Zheng, 2013/05/13
- [Qemu-devel] [PATCH v2 08/11] curl: use list to store CURLState, Fam Zheng, 2013/05/13
- [Qemu-devel] [PATCH v2 09/11] curl: release everything on curl_close, Fam Zheng, 2013/05/13
- [Qemu-devel] [PATCH v2 10/11] curl: add cache quota., Fam Zheng, 2013/05/13
- [Qemu-devel] [PATCH v2 11/11] curl: introduce ssl_no_cert runtime option., Fam Zheng, 2013/05/13
- Re: [Qemu-devel] [PATCH v2 00/11] curl: fix curl read,
Stefan Hajnoczi <=