Re: [PATCH 1/3] threaded delta search: refine work allocation

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

 



On Mon, Sep 10, 2007 at 12:06:09AM -0400, Nicolas Pitre wrote:

> +	/* this should be auto-tuned somehow */
> +	chunk_size = window * 1000;

How do you come up with this value?

It seems to work OK for the kernel repository, but not for repos which
consist of few large objects. My (perhaps pathological) repo of photos
has only 2523 objects, but is over a gig packed. Multithreading the
delta search is a big win here, but it doesn't activate with such a
large chunk size.

Why did you switch from "total work / number of threads"?

-Peff
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux