k is currently certified at Journeyer level.

Name: Adrian Chadd
Member since: 2000-04-04 17:58:16
Last Login: 2009-07-01 06:01:21

FOAF RDF Share This

Homepage: http://www.creative.net.au/

Notes:

I work on a few projects in my spare time.

that includes freebsd, squid/lusca, the cacheboy cdn, ircd-hybrid and stuff I've forgotten.

In my spare time I'm working on some genetic programming engines.

Projects

Articles Posted by k

Recent blog entries by k

Syndication: RSS 2.0

30 Jun 2009 (updated 30 Jun 2009 at 14:17 UTC) »

I've been busy working on a bunch of stuff.

* The log analysis stuff is coming along nicely. Thankyou very much SQLite. I'll post a specific update or two about that when I've finished fixing the bugs I've introduced.

* I've modified the pygrub boot loader to understand FreeBSD disk labels. The hacking can be found at http://people.freebsd.org/~adrian/xen/ in the bsd_pygrub directory. It turns out that the pygrub/xen UFS code is (a) Solaris UFS, (b) UFS-1- only, (c) crashes very badly when fed a FreeBSD formatted UFS1 for some reason. I'll investigate that shortly. It is one more step towards sensible FreeBSD/Xen integration though!

* I've been fixing bugs and adding features to my Squid-2 fork, Lusca. I've found and fixed a couple of nasty bugs inherited from Squid-2.HEAD (especially one to do with 304 replies not making it back to the client!) and I've started documenting how all of the transparent hijacking/intercepting code works.

9 Jun 2009 »

I'm doing some pretty heavy customisation of "Lightsquid", a GPL'ed squid logfile analysis tool. I'd like to be able to offer Xenion customers a decent set of management and reporting tools.

The Lightsquid interface is reasonably simple, fast and snappy. It captures the right amount of information for the average network/system administrator. There are a few problems though.

The HTML needs an overhaul. Its nested table hell. It is all done via a custom template engine so it shouldn't be too painful.

The parser seems to assume you're going to feed it all of the logs for a given day. If you feed it half a day at a time, the second import will over-write the first.

The data is stored in flat files, indexed by day. This is fine - a year is 365 directories - and trolling each directory to pull the daily stats isn't too bad. But the per-user statistics are kept in single files, one per user per day. Generating a monthly or yearly user report per user is a very, very expensive operation. Multiply that by a few thousand users and it just won't scale.

I'm going to have to abstract out the data storage and retrieval into a simple API; then implement a database backend for it. This API should implement an "add" functionality so I can handle adding data to an existing day repository.

There probably won't be much of the original Lightsquid code left when I'm eventually done with it.

Then once that is done, I can focus on some better monitoring and management tools.

27 May 2009 »

I've been slowly trying to sort out the bugs I've been seeing in the FreeBSD Xen code. The first annoying crash(es) are in the netfront network driver.

I started digging in the driver and found that the bug in question is due to some reasonably brain dead behaviour in the TX mbuf ring allocation. I've committed code to FreeBSD-current which enforces that there's space in the TX mbuf ring. I'm about to commit further fixes to enforce that there's space in the Xenbus TX ring.

The current Linux code has the same flaw. It may not be so easily tickled in Linux due to the driver model but it should still be explicitly catered for. That said, I get plenty of random network interface hangs in Linux/Xen; perhaps this stuff is related.

24 May 2009 »

I've spent the weekend building and testing a new VM server to deploy next week.

I've taken the oppertunity to test out FreeBSD/Xen support. I've put my images up here:

http://wiki.freebsd.or g/AdrianChadd/XenImages

It actually works, which is a good starting point!

18 May 2009 (updated 18 May 2009 at 13:22 UTC) »

.. hm, its been a while since I braindumped into here. I really should pick one or two blog sites (nerd, work, personal) instead of having dozens of sites spread around everywhere.

Anyway. I've just been bootstrapping FreeBSD-current/Xen and attempting to document the process so others can also test it out.

http://wiki.freebsd .org/AdrianChadd/XenHackery

I've also forked Squid-2 off into a separate project - lusca

I've also built a small open source CDN out of it which I need to spend more time on (but can't because I have to make money somehow..) - Cacheboy

I'm also doing bits of web/VPS hosting, squid/network/systems consulting and bits of other work - Xenion - this is how I'm trying to pay the bills so I can spend more time working on useful open source stuff.

More to come!

74 older entries...

 

k certified others as follows:

  • k certified mtearle as Journeyer
  • k certified gbowland as Journeyer new
  • k certified rwatson as Master
  • k certified asmodai as Journeyer
  • k certified phk as Master
  • k certified softweyr as Master
  • k certified winter as Journeyer
  • k certified jwalther as Journeyer
  • k certified benno as Journeyer
  • k certified mnot as Journeyer
  • k certified Skud as Journeyer
  • k certified dancer as Journeyer
  • k certified des as Journeyer
  • k certified msmith as Master
  • k certified grog as Master
  • k certified eivind as Master
  • k certified imp as Master
  • k certified green as Journeyer
  • k certified ashp as Apprentice
  • k certified joshua as Apprentice
  • k certified poombah as Apprentice
  • k certified darkewolf as Journeyer
  • k certified peter as Master
  • k certified billf as Journeyer
  • k certified Simon as Journeyer
  • k certified fusion94 as Journeyer
  • k certified jkh as Master
  • k certified aunty as Journeyer
  • k certified hypatia as Journeyer new

Others have certified k as follows:

  • rwatson certified k as Journeyer
  • asmodai certified k as Journeyer
  • gsutter certified k as Journeyer
  • phk certified k as Journeyer
  • jhb certified k as Journeyer
  • cg certified k as Journeyer
  • cmc certified k as Journeyer
  • mph certified k as Journeyer
  • quiet1 certified k as Journeyer
  • benno certified k as Journeyer
  • jedgar certified k as Journeyer
  • mtearle certified k as Journeyer
  • yakk certified k as Journeyer
  • jmg certified k as Journeyer
  • dancer certified k as Journeyer
  • des certified k as Journeyer
  • eivind certified k as Journeyer
  • ashp certified k as Journeyer
  • joshua certified k as Journeyer
  • poombah certified k as Journeyer
  • jwalther certified k as Journeyer
  • peter certified k as Journeyer
  • bp certified k as Journeyer
  • billf certified k as Journeyer
  • darkewolf certified k as Journeyer
  • mnot certified k as Journeyer
  • winter certified k as Journeyer
  • fusion94 certified k as Master
  • bma certified k as Journeyer
  • cynick certified k as Journeyer
  • mazeone certified k as Journeyer
  • mlsm certified k as Journeyer
  • dcs certified k as Journeyer
  • suso certified k as Journeyer
  • bmilekic certified k as Journeyer
  • nealmcb certified k as Journeyer
  • Kay certified k as Journeyer
  • nixnut certified k as Journeyer
  • Skud certified k as Journeyer
  • XFire certified k as Journeyer
  • kappa certified k as Journeyer
  • ana certified k as Journeyer
  • footrot certified k as Journeyer
  • dchapes certified k as Journeyer
  • mdeegan certified k as Journeyer
  • fxn certified k as Journeyer
  • trs80 certified k as Journeyer
  • kilmo certified k as Journeyer
  • robertc certified k as Journeyer
  • m certified k as Journeyer
  • bsdgabor certified k as Journeyer
  • okaratas certified k as Master

[ Certification disabled because you're not logged in. ]

New Advogato Features

FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page