Announcement

Collapse
No announcement yet.

Understanding Systemd's Event Loop API

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Understanding Systemd's Event Loop API

    Phoronix: Understanding Systemd's Event Loop API

    Lennart Poettering has put out a new blog post today to better explain sd-event, the systemd Event Loop API...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Wohoo!

    Any minute now I'll be able to browse through a bunch of new "Lennart Poettering is the devil incarnate" hate tirades.

    Comment


    • #3
      Originally posted by unixfan2001 View Post
      Wohoo!

      Any minute now I'll be able to browse through a bunch of new "Lennart Poettering is the devil incarnate" hate tirades.

      White knight. :P

      Comment


      • #4
        how about implementing a run-of-the-mill event system using clock_gettime and usleep instead of faffing around with fds ?
        idk if that is what they changed now, the blog post doesn't say
        (can be combined with poll-s for external events, ofc)

        Comment


        • #5
          I look forward to using sd_event and sd_dbus in my programs.

          libsystemd replaces libevent, libdaemon and libdbus. The consistent API makes it easier for developers, and fewer dependencies means less time typing yum install/apt-get to install packages from the source code.

          Comment


          • #6
            I look forward to using sd_event and sd_dbus in my programs.

            libsystemd replaces libevent, libdaemon and libdbus. The consistent API makes it easier for developers, and fewer dependencies means less time typing yum install/apt-get to install packages from the source code.
            Me too, I'm looking forward to eventually just having a liblennart as the only only dev package and library I have to install and use. In time hopefully it will also replace libc so there's only one library.

            Comment


            • #7
              Originally posted by gens View Post
              how about implementing a run-of-the-mill event system using clock_gettime and usleep instead of faffing around with fds ?
              idk if that is what they changed now, the blog post doesn't say
              (can be combined with poll-s for external events, ofc)
              events are all about fds
              return to your mom

              Comment


              • #8
                And yet another reason to attempt to implement iocp in Linux.
                Yes, it's very hard to do, but it's the CORRECT solution, and fixes other, STILL outstanding problems with event monitoring.

                Comment


                • #9
                  Originally posted by liam View Post
                  And yet another reason to attempt to implement iocp in Linux.
                  Yes, it's very hard to do, but it's the CORRECT solution, and fixes other, STILL outstanding problems with event monitoring.
                  I agree. Boost Asio wraps over epoll but its dirty and showcases some issues.

                  Comment


                  • #10
                    "When creating timer events a required accuracy parameter may be specified which allows coalescing of timer events to minimize power consumption. For each clock only a single timer file descriptor is kept, and all timer events are multiplexed with a priority queue."


                    Good stuff. So is The Devil Incarnate being forthright about the limitations of, and alternatives to, his offspring. He does such a good job acting as a thoughtful productive Linux developer, that only the knee-jerk haters are able to see through it.

                    Comment

                    Working...
                    X