Infiniband Tips and Tricks

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)

Example:

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

SC15

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.

New Perl module: Proc::Fork::Control – easily control fork()’s within Perl code

Hi Again,

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

 

New Perl module: Filesys::Virtual::Chroot

59560038

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

Command.

Firefox mobile search assistant

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’.

 

DVD ripping in Linux

So there are multiple methods to pull this off, however after doing it by hand, using DVD::rip, using Handbrake, etc. I finally settled on VLC. Yes, good old VLC has DVD ripping support. http://www.instructables.com/id/How-to-rip-DVDs-for-free-with-VLC outlines how this is done, and from my recent tests, seems to work extremely well.