monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] [PATCH] pre-cache database file to improve response


From: Ulrich Drepper
Subject: Re: [Monotone-devel] [PATCH] pre-cache database file to improve response time
Date: Sat, 18 Mar 2006 18:16:44 -0800
User-agent: Thunderbird 1.5 (X11/20060313)

Joe Wilson wrote:
> Here's a patch to improve the speed of many database-intensive monotone 
> commands.
> 
> It can shave 70% of the time off of a (cold) checkout, for example.

It might, but it does so violently.  It's forcing other data out of the
caches.

Modern OSes have support for hints to the OS.  For mmap() calls on
Linux, there is the MAP_POPULATE flag.  For all file operations, there
is posix_fadvise().

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]