Re: git performance

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Friday, October 24, 2008 - 10:53 am

On Fri, 24 Oct 2008, Jeff King wrote:

Use "echo 3" instead of "1".

It's actually a bitmask, with bit 0 being "data" (pagecache) and bit 1 
being "metadata" (inodes and directory caches).

And since git (or any SCM) is very metadata-intensive, you really should 
make sure to drop metadata too, otherwise your caches won't be really very 
cold at all.

(But it obviously depends on the operation you're testing - some are more 
about the inodes and directories, others are about file data access).

			Linus
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git performance, Jeff King, (Fri Oct 24, 7:29 am)
Re: git performance, George Shammas, (Fri Oct 24, 10:42 am)
Re: git performance, Linus Torvalds, (Fri Oct 24, 10:53 am)
Re: git performance, Jeff King, (Fri Oct 24, 11:20 am)
Re: git performance, Jakub Narebski, (Fri Oct 24, 12:06 pm)