[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: [PATCH] pre-cache database file to improve response
[Monotone-devel] Re: [PATCH] pre-cache database file to improve response time
Sun, 19 Mar 2006 19:06:19 -0800 (PST)
Benoît Dejean wrote:
>>Le samedi 18 mars 2006 Ã 14:33 -0800, Joe Wilson a Ãcrit :
>> Here's a patch to improve the speed of many database-intensive monotone
>> It can shave 70% of the time off of a (cold) checkout, for example.
>>If your database fits in ram, and without swapping every other app and
...yet in spite of this, people still use DVD burning software to
burn multi-gigabyte disk images while running background tasks.
The OS can swap pages back out just as easily.
If required, an upper pre-cache memory limit can be set easily enough.
The longer running monotone commands hit most pages in the database
anyway. The speed up of many commands is quite dramatic.
Try the patch before forming an absolute opinion. It works quite
well in practice and does not affect the other processes in my testing
(iTunes does not appear to be bothered).
Until SQLite uses mmap() instead of read(), I don't see another way to
speed up monotone disk read access nearly as easily and effectively.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
- [Monotone-devel] Re: [PATCH] pre-cache database file to improve response time,
Joe Wilson <=