Sujet : Re: xxd -i vs DIY Was: C23 thoughts and opinions
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 02. Jun 2024, 05:19:03
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3grrn$373rm$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
User-Agent : Pan/0.158 (Avdiivka; )
On Fri, 31 May 2024 09:55:49 +0200, David Brown wrote:
The only one I can think of is
"updatedb" for the "locate" command. While "locate" can sometimes be
useful, trawling the filesystem can be very time-consuming if it is
large. But it's easy to tune updatedb to cover only the bits you need.
On Linux, there is the concept of “ionice”, which is to I/O what “nice” is
to CPU usage. So for example if updatedb had its ionice dropped to “idle”
priority, that allows it to be pushed to the back of the queue when
regular apps need to do any I/O. Result is much less system impact from
such background update tasks.
Maybe there’s an option to set this somewhere?