Deutsch English Français Italiano |
<v3grrn$373rm$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: xxd -i vs DIY Was: C23 thoughts and opinions Date: Sun, 2 Jun 2024 04:19:03 -0000 (UTC) Organization: A noiseless patient Spider Lines: 14 Message-ID: <v3grrn$373rm$2@dont-email.me> References: <v2l828$18v7f$1@dont-email.me> <00297443-2fee-48d4-81a0-9ff6ae6481e4@gmail.com> <v2lji1$1bbcp$1@dont-email.me> <87msoh5uh6.fsf@nosuchdomain.example.com> <f08d2c9f-5c2e-495d-b0bd-3f71bd301432@gmail.com> <v2nbp4$1o9h6$1@dont-email.me> <v2ng4n$1p3o2$1@dont-email.me> <87y18047jk.fsf@nosuchdomain.example.com> <87msoe1xxo.fsf@nosuchdomain.example.com> <v2sh19$2rle2$2@dont-email.me> <87ikz11osy.fsf@nosuchdomain.example.com> <v2v59g$3cr0f$1@dont-email.me> <20240528144118.00002012@yahoo.com> <v34thr$letg$1@dont-email.me> <v385ge$1a8ef$1@dont-email.me> <v39tie$1mt3k$1@dont-email.me> <v3ag1t$1q5kq$1@dont-email.me> <v3bvq6$252m7$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 02 Jun 2024 06:19:04 +0200 (CEST) Injection-Info: dont-email.me; posting-host="af5b283064d4258912cb1541ae2b6f8a"; logging-data="3379062"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+q95pRZm3TBSJE9FE26kGY" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:g/TZmWFTW8F1Fz2Khd9N41TbFRI= Bytes: 2246 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?