What goes into default Debian?
What goes into default Debian?
Posted Mar 20, 2021 8:45 UTC (Sat) by Sesse (subscriber, #53779)In reply to: What goes into default Debian? by nix
Parent article: What goes into default Debian?
You could probably even just make a shell script that calls plocate multiple times. The main reason I've never done it is that it's such a niche case nobody's ever asked for it—it requires a lot of admin intervention.
Posted Mar 23, 2021 20:12 UTC (Tue)
by nix (subscriber, #2304)
[Link] (4 responses)
Posted Mar 28, 2021 10:39 UTC (Sun)
by Sesse (subscriber, #53779)
[Link] (3 responses)
Posted Mar 28, 2021 10:52 UTC (Sun)
by zdzichu (subscriber, #17118)
[Link]
Posted Apr 27, 2021 12:54 UTC (Tue)
by nix (subscriber, #2304)
[Link] (1 responses)
Posted Mar 27, 2022 15:50 UTC (Sun)
by nix (subscriber, #2304)
[Link]
Before, with GNU findutils: 40 mins to build the locatedb, 10 mins if everything was in cache. Afterwards (hot cache figures only): 56 seconds. DBs about five times smaller. As for times:
% /usr/bin/time locate wombat
% /usr/bin/time locate -r wombat
% /usr/bin/time locate -r womb.t
Afterwards:
% /usr/bin/time locate -r wombat
% /usr/bin/time locate -r womb.t
This is with a LOCATE_PATH with 19 databases in it, so I think we can safely say that the 20-fold increases in plocate time implied by this are... well... still pretty insignificant :)
What goes into default Debian?
What goes into default Debian?
What goes into default Debian?
What goes into default Debian?
What goes into default Debian?
[...]
8.09user 0.08system 0:08.25elapsed 99%CPU (0avgtext+0avgdata 2084maxresident)k
[...]
19.75user 0.40system 0:20.38elapsed 98%CPU (0avgtext+0avgdata 2196maxresident)k
[...]
24.98user 0.03system 0:25.08elapsed 99%CPU (0avgtext+0avgdata 2184maxresident)k
% /usr/bin/time locate wombat
[...]
0.00user 0.00system 0:00.02elapsed 71%CPU (0avgtext+0avgdata 4140maxresident)k
[...]
4.95user 0.10system 0:01.68elapsed 299%CPU (0avgtext+0avgdata 10952maxresident)k
[...]
5.15user 0.06system 0:01.72elapsed 302%CPU (0avgtext+0avgdata 11012maxresident)k