searchcode icon indicating copy to clipboard operation
searchcode copied to clipboard

How to improve index speed

Open pcxxiaoxiao opened this issue 4 years ago • 1 comments

We have 10000+ repo,now I find that the index speed is particularly slow,how can I solve it? image I set number_git_processor=2,because when I set up to 5,gitlab can't hold it

pcxxiaoxiao avatar Sep 28 '21 03:09 pcxxiaoxiao

Will need some more information.

How large is the repository on disk when checked out? What sort of hardware are you running the system on?

Is this the first time it has run the index? Subsequent should be much faster as they rely on file times to ensure its much faster.

boyter avatar Sep 29 '21 00:09 boyter