This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [GOLD] ideas for speeding up gold


On Tue, Oct 2, 2012 at 5:02 PM, Geoff Pike <gpike@chromium.org> wrote:
> Final thought: when it is time to compute the build ID, would calling
> msync() help encourage the OS to write dirty pages to the output file?
> I tried this and didn't see much effect, but I may try again after #1
> is fixed.

My impression is that it's better to msync() with MS_ASYNC then
fsync() the file descriptor.

Nico
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]