Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Friday February 08 2019, @05:14AM   Printer-friendly
from the it's-all-geek-to-me dept.

https://lwn.net/Articles/777595/

LWN (Linux Weekly News) provides a written account of Benno Rice's talk. The former FreeBSD core developer gives some context around systemd and what FreeBSD should learn from it. He compares the affair to a Greek tragedy which contains much suffering followed by catharsis. His attitude toward systemd is generally not negative, but I won't cherry-pick any specific sections; you'll have to actually read the article for once.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 1, Insightful) by Anonymous Coward on Friday February 08 2019, @05:47PM (1 child)

    by Anonymous Coward on Friday February 08 2019, @05:47PM (#798429)

    Sure, but that way madness lies.

    For instance, with -exec you're spawning a new process for every file found. That's woefully inefficient when many files are found. Were you to `find wherever | xargs grep search_string` you'd only invoke one grep process for every hundred or so files found (don't recall the default but it's configurable via xargs).

    Then were you to pass -F to grep to disable the regex you'd squeeze slightly more performance out of the process. Or, conversely, waste slightly less electricity running it.

    And all the machine time and electricity I've saved by dogmatically passing -F to my greps and using xargs where appropriate has probably been overshadowed by the time it took me to learn about those optimizations, type them out repeatedly (sometimes when unnecessary), and make posts like these were I to have just turned my computer off that much sooner instead.

    Starting Score:    0  points
    Moderation   +1  
       Insightful=1, Total=1
    Extra 'Insightful' Modifier   0  

    Total Score:   1  
  • (Score: 2) by MichaelDavidCrawford on Friday February 08 2019, @08:52PM

    by MichaelDavidCrawford (2339) Subscriber Badge <mdcrawford@gmail.com> on Friday February 08 2019, @08:52PM (#798538) Homepage Journal

    Were _all_ the distro- or package-supplied scripts to use stuff like xargs.

    My whole point with _refactoring_ widely-used code is that huge energy savings would result from having that refactored code come from the original upstream sources, or at least from each of the distros.

    --
    Yes I Have No Bananas. [gofundme.com]