This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: patch to commit soon: PR25375 debuginfod prefetching


Hi - 

> > +  fdcache_prefetch = 64; // guesstimate storage is this much less costly than re-decompression
> > +  fdcache_fds = (concurrency + fdcache_prefetch) * 2;
> 
> Here fdcache_prefetch is set and used before argp_parse () is called,
> which would set it to the user supplied value (if any). Is that
> intentional?

Yeah, the idea is to provide some reasonable defaults, and then allow
the command line options to override them.  In this case, the user
might want to override both.  It'll be specific to the site anyway,
depending on distribution of rpm sizes vs. available storage.

- FChE


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