Category Archives: General

LQL#

Work has begun on the long promised Mono (C#) bindings for LQL. This little C# program will display traffic statistics for all of the queueing disciplines that are supported by the C LQL library.

using System;
using LQL;
class MainClass {
    public static void Main(string[] args) {
        Gtk.Application.Init();
        LQL.Con con = new LQL.Con();
        GLib.List ifList = con.ListInterfaces();
        foreach (LQL.Interface netInf in ifList) {
            GLib.List qdiscList = con.ListQdiscs(netInf);
            foreach (LQL.QDisc qdisc in qdiscList) {
                qdisc.UpdateStats(con);
                qdisc.PrintStats();
            }
        }
    }
}

Very exciting stuff!

LQL# is not nearly polished enough for a public release yet but I am quite happy with how the work is progressing.

LQL 0.7.0 released

Another new version of LQL is available.

0.7.0 changes:

  • Add some new test programs to the tests directory.
  • Fixed a bunch of small bugs that were found with the new test programs.
  • Change the return type of a few _new() functions from GObject to the proper object type.
  • Update docs to match new API.
  • Add some background comments to the documentation.
  • Add support for the DSMark QDisc and corresponding documentation.
  • Add –with-kernel-source=PATH option to configure so alternate kernel include directories can be specified.
  • Add support for the Netem QDisc (everything but distribution tables). This means you now need the headers from a kernel with Netem support in order to compile LQL.
  • Add support for the TCIndex classifier.
  • Put some more time into the classifiers. Still not complete.

LQL 0.6.0 released

I just finished a new release of LQL. This release contains the statistics support I have been working on. The basic statistics are available for each queueing discipline and class but I have not added the extended statistics that are specific to each qdisc/class type yet. Adding support for these statistics will just require modifying a single function in each type. I’m not sure when I will get this done as I don’t need this feature at the moment.

Changes:

  • Add statistics support to all qdiscs and classes. See the get_stats.c example.
  • Add print() method to LQLQDisc and LQLClass so that it’s easy to see their settings.
  • Add printStats() method to LQLQDisc and LQLClass to output all statistics information.
  • Lots of small bug fixes.
  • Clean up and add new documentation.

Lord of the Rings

For the past three years it has become somewhat of a Christmas break tradition to see one of the Lord of the Rings movies in theatre. I managed to be at the opening night of all three releases. Obviously, that was not possible this year. Instead, in what may be a new tradition, Bob, Kier and I sat down to watch all three of the extended editions back to back last Thursday. We started at noon and finished just a few minutes before 1:00AM.

The extended edition of the The Return of the King is about four hours and twenty minutes long. That’s fifty minutes more than the theatrical release. After watching the movie I really don’t know where all of those fifty minutes were added. The additional footage in Return of the King seems much less obvious to me than it did with the Fellowship of the Ring and Two Towers extended editions.

If you can set aside the rather large amount of time required to watch all three movies I highly recommend it. Besides being a relaxing day there is also a great sense of continuity watching the movies together.

Holiday time

Well, another semester is over. I can’t believe I only have 4 months of my undergraduate degree left.

Besides taking a few days off I will also be putting a large amount of time aside for hacking on LQL.