Skip to content

Archives

Links for 2022-02-09

  • Energy crisis: Is net zero and environmental policy responsible for rising energy bills?

    If we’re serious about replacing fossil fuels with renewables we will have to build an awful lot of them, and while the eventual lifetime cost could be lower than fossil fuels, the short-term cost per MWh is way, way higher. So if we’re serious about net zero you’d expect our governments and companies to be spending extraordinary amounts on new primary power projects right now. But glance at the statistics and it turns out we’re not. On the contrary, investment in primary energy — those plans and solar panels and wind turbines we need to give us power — has flatlined since 2015.

    (tags: energy future climate-change power fossil-fuels renewables research net-zero)

  • braided cables

    prized by audiophiles, but TBH I think they just look pretty cool

    (tags: cables braiding cool)

  • Missing Manuals – io_uring worker pool

    ‘Calling io_uring just an asynchronous I/O API doesn’t do it justice, though. Underneath the API calls, io_uring is a full-blown runtime for processing I/O requests. One that spawns threads, sets up work queues, and dispatches requests for processing. All this happens “in the background” so that the user space process doesn’t have to, but can, block while waiting for its I/O requests to complete. A runtime that spawns threads and manages the worker pool for the developer makes life easier, but using it in a project begs the questions: 1. How many threads will be created for my workload by default? 2. How can I monitor and control the thread pool size? […..] 3. What is an unbounded worker? 4. How does it differ from a bounded worker? Things seem a bit under-documented as is, hence this blog post. Hopefully, it will provide the clarity needed to put io_uring to work in your project when the time comes.’

    (tags: linux io_uring apis runtime kernel system-calls coding performance)

Comments closed