Simple tip, to decode thread stack dumps from Lustre file system, which typically get dumped into /tmp, run:
lctl df <input file> <output file>
This will leave you with an ascii formatted, human readable stack trace which can be used for further debugging.
I’ve just released a new perl module based on my Ruckus::Conf module. This library allows you to implement an .INI like file parser for your perl programs. It allows for the configuration file to be simple and easy to follow, but provides advanced features such as nested configuration entries, and internal automatic macro support.
Anyways, check it out if you’re a perl hacker. It’s on CPAN
Well after a few days of usage I found some major problems which prevented me from adopting Kubuntu 15.10 with the lovely Plasma 5 setup.
- Auto mount of NFS shares is broken again
- Desktop backgrounds are locked to a single background image
- Auto mount of random key encrypted swap is broken
- After a day or so of uptime, Plasma 5 starts to bog down
- A lot of the plasma widgets are a step backwards, they’re ugly, or poorly laid out vs the older Plasma 4 widgets
I’m hoping that these issues get resolved, as Plasma 5 and the new layouts and themes were a whole lot prettier than Plasma 4, however since I can’t use it everyday successfully and without aggravation I decided to restore my backup.
Upgrading from 14.04.3 to 15.10 and plasma 5, I have to say, I like it, it’s very polished, looks great, and usability is still there from earlier revisions. I’m looking forward to further customizing this system.
I’ve always wondered if the SSSD project could be leveraged to provide slightly faster stat() resolution.
It’s worth testing and hopefully I have some time to investigating further.
Project URL: https://fedorahosted.org/sssd/
Below are some commands I’ve found useful when dealing with infiniband and related issues.
Determine port state on all ports available within the fabric
The command ibnetdiscover command will show you the state of each port in the the fabric. It’s a good idea when running this command (on any node) to redirect the output into a file (especially if you have a large number of ports)
Determine indivudual port information
The ibportstate command can provide additional port information once you have the LID (available from ibnetdiscover)
ibportstate -L <lid> query
Determine current node description
smpquery nodedesc 1
Enable / Disable a port
ibportstate -L <lid> -P <port> enable
ibportstate -L <lid> -P <port> disable
Well, another year of Super Computing conference has come and gone, some interesting stuff but mostly the same things over and over.
The company I work for just announced a new type of hard disk drive (10,000 RPM 3.5 full platter size). High capacity and lots of speed =).
I also some how managed to win a Seagate 7 drive. This is the 7mm thick portable. Before I turned it over to my wife I ran some quick benchmarks on it. given the drive size and capacity I was pretty pleased. well over 100MB/s read/write performance over USB3.
In addition to recently releasing Filesys::Virtual::Chroot I’ve also decided to publish my fork() control library as Proc::Fork::Control.
Proc::Fork::Control is a simple to use library which functions much the same way as Proc::Fork. That said, Proc::Fork is not used, as fork() is accessed directly.
Proc::Fork::Control allows you to manage forks, control number of children allowed, monitor children, control blocking and nonblocking states, etc.
This library can be obtained here: Proc-Fork-Control-1.4.tar
Or from CPAN directly:
sudo cpan Proc::Fork::Control
I’ve been trying hard lately to take useful code I’ve written over the years for different projects (such as my predictive anti-spam system Ruckus scanmail) and rep.ublish the libraries with more generic names under CPAN
Filesys::Virtual::Chroot provides advisory functions for creating a virtual chroot environment. This is useful when you wish to lock a process which takes input from the wild into a set of directories.
This library can be downloaded here directly: Filesys-Virtual-Chroot-1.3.tar
Or pulled off of CPAN with:
sudo cpan Filesys::Virtual::Chroot
So annoyingly I learned tonight that Firefox Mobile’s, search assistant tool (long press on home) tends to default to the wrong search engine. To fix this, open up firefox mobile, go to Settings -> Customize -> Search, then select a search engine that is non-default, select a search engine that you wish to use. That should fix the Firefox Search using the other `default’.